Jan Lahoda
d24296edf4
8223443: Calling Trees.getScope early changes names of local/anonymous classes
...
Ensure Trees.getScope does not affect the rest of the compilation.
Reviewed-by: mcimadamore
2019-07-09 09:20:04 +02:00
Jan Lahoda
c4213848c0
8227010: Error recovery after local variable redeclaration can be improved
...
Entering duplicate local variables into the current scope so that the new variable is used instead of the previous variable.
Reviewed-by: mcimadamore
2019-07-04 16:51:24 +02:00
Mikael Vidstedt
c200fc1f34
Merge
2019-07-03 07:56:41 -07:00
Jesper Wilhelmsson
37599ff955
Merge
2019-06-29 05:26:55 +02:00
Jan Lahoda
e81d3fa8c3
8226510: No compilation error when switch expression has no result expressions
...
Ensure a compile-time error is produced when there are no result expressions in an switch expression.
Reviewed-by: vromero
2019-06-27 10:39:27 +02:00
Jonathan Gibbons
454f9f9fd0
8225748: Use SHA-256 for javap classfile checksum
...
Reviewed-by: mchung
2019-06-18 11:52:57 -07:00
Robert Field
a38e980eb5
8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
...
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number
Build corralled (recoverable undeclared definitions) declarations from position translating wraps....
Reviewed-by: jlahoda
2019-06-17 17:14:05 -07:00
Jesper Wilhelmsson
dc82364e05
Merge
2019-06-18 22:48:27 +02:00
Robert Field
6fe98143bc
8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
...
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number
Build corralled (recoverable undeclared definitions) declarations from position translating wraps....
Reviewed-by: jlahoda
2019-06-14 20:30:10 -07:00
Joe Darcy
51cf24fcc0
8222369: ExecutableElement.getReceiverType returns null instead of NOTYPE
...
Reviewed-by: jjg
2019-06-13 16:39:20 -07:00
Joe Darcy
aeedfd44b0
8164819: Make javac's toString() on annotation objects consistent with core reflection
...
Reviewed-by: jjg, coleenp
2019-06-13 11:50:45 -07:00
Jan Lahoda
1dd6e7a3eb
8226522: No compilation error reported when yield is used in incorrect context
...
Reviewed-by: mcimadamore
2019-07-02 09:14:51 +02:00
Toshio Nakamura
0f42d9870e
8224184: jshell got IOException at exiting with AIX
...
Reviewed-by: rfield, jlahoda
2019-06-13 08:42:47 +02:00
Hannes Wallnöfer
3353016bbc
8225671: Support HTML 5 character references in javadoc
...
Reviewed-by: jjg
2019-06-12 23:21:24 +02:00
Jan Lahoda
d9407ce428
8220018: javac crash when compiling try-catch-finally inside switch expression
...
Correcting handling of finally that yields from a switch expression.
Reviewed-by: mcimadamore, jlahoda
2019-06-12 13:49:43 +02:00
Hannes Wallnöfer
0d8209a2b7
8223364: Bad placement of anchor relative to header
...
Reviewed-by: jjg
2019-06-12 13:21:25 +02:00
Joe Darcy
4750064828
8214546: Start of release updates for JDK 14
...
8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14
Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
2019-06-11 16:45:20 -07:00
Jan Lahoda
b34b2d993c
8223305: Compiler support for Switch Expressions
...
Reviewed-by: mcimadamore, vromero
2019-06-10 05:09:52 +02:00
Jan Lahoda
1d050ec2e9
8223782: jshell parser should handle Text Blocks
...
Completion analysis should detect text blocks properly.
Reviewed-by: jlaskey, rfield
2019-06-07 10:09:41 +02:00
Jonathan Gibbons
948577bb1f
8225321: Repeated use of {@systemProperty} in a file causes duplicate ids
...
Reviewed-by: hannesw
2019-06-06 10:36:43 -07:00
Jim Laskey
08e1ece107
8223967: Implement Text Blocks (Preview) in the Java compiler
...
Reviewed-by: vromero, jlahoda, abuckley
2019-06-06 12:24:44 -03:00
Vicente Romero
43114a091a
8225386: test for JDK-8216261 fails in Windows
...
Reviewed-by: jjg
2019-06-05 21:50:29 -04:00
Vicente Romero
d69bc696f2
8223942: Missing methods in ClientCodeWrapper$WrappedJavaFileManager
...
Reviewed-by: jjg
2019-06-05 17:01:43 -04:00
Vicente Romero
16a0533eac
8216261: Javap ignores default modifier on interfaces
...
Reviewed-by: jjg, darcy
2019-06-05 16:01:50 -04:00
Hannes Wallnöfer
9f039257cb
8221709: replace use of style blockListLast
...
Reviewed-by: jjg
2019-06-05 16:26:13 +02:00
Jonathan Gibbons
45f6ff3894
8223805: DocCommentParser should allow for <main> and </main>
...
Reviewed-by: hannesw
2019-06-04 11:29:29 -07:00
Hannes Wallnöfer
4b01aa4f71
8214126: Method signatures not formatted correctly in browser
...
Reviewed-by: jjg
2019-06-04 16:33:37 +02:00
Hannes Wallnöfer
4d08dd703e
8222091: Javadoc does not handle package annotations correctly on package-info.java
...
Reviewed-by: jjg
2019-06-04 16:20:42 +02:00
Robert Field
b84187ca17
8225208: Re-Problem list jdk/jshell/ExceptionsTest.java fails on windows
...
Reviewed-by: jjg
2019-06-03 16:24:34 -07:00
Robert Field
4bc1fdf83c
8199623: JShell: corralling not restored on drop
...
Reviewed-by: jlahoda
2019-06-03 08:21:04 -07:00
Robert Field
0be741c70b
8223688: JShell: crash on the instantiation of raw anonymous class
...
Reviewed-by: jlahoda
2019-06-01 14:09:59 -07:00
Robert Field
50971d6ea7
8080353: JShell: Better error message on attempting to add default method
...
Special handling for errors with "default" modifier
Reviewed-by: jlahoda
2019-06-01 13:41:01 -07:00
Vicente Romero
e36693bc29
8224083: javadoc Reporter generates warning for Kind.NOTE
...
8224082: NPE in javadoc Reporter
Reviewed-by: jjg
2019-05-31 18:35:17 -04:00
Joe Darcy
bcd13b790f
8224687: Add clarifying overrides of Element.asType to more specific subinterfaces
...
Reviewed-by: jjg
2019-05-30 16:21:08 -07:00
Athijegannathan Sundararajan
90fb4990ed
8224946: jrtfs URI to Path and Path to URI conversions are wrong
...
Reviewed-by: alanb
2019-05-30 17:30:33 +05:30
Jim Laskey
4e83c1c4dc
8224908: Revert: 8216553: JrtFileSystemProvider getPath(URI) omits /modules element from file path
...
Reviewed-by: darcy, kbarrett
2019-05-28 16:51:28 -03:00
Jonathan Gibbons
a0744051d5
8219147: Javadoc should expose covariant return type overrides
...
Reviewed-by: hannesw
2019-05-28 11:21:02 -07:00
Athijegannathan Sundararajan
0c724506b8
8216553: JrtFIleSystemProvider getPath(URI) omits /modules element from file path
...
Reviewed-by: alanb, jlaskey
2019-05-28 19:30:30 +05:30
Jan Lahoda
0112514fde
8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH
...
Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module.
Reviewed-by: jjg
2019-05-24 12:25:18 +02:00
Joe Darcy
4dd6b687ef
8224177: Harden annotation processing framework to irregular behavior from processors
...
Reviewed-by: jjg
2019-05-23 18:47:24 -07:00
Priya Lakshmi Muthuswamy
c053e706a9
8223733: "Detail" in headings should be "Details"
...
Reviewed-by: hannesw
2019-05-21 15:02:18 +05:30
Priya Lakshmi Muthuswamy
adcb06303c
8219313: Support module specific stylesheets
...
Reviewed-by: jjg
2019-05-20 14:42:32 +05:30
Jan Lahoda
08193be19c
8224031: Cannot parse switch expressions after type cast
...
Correctly categorize parentheses followed by the switch keyword as cast.
Reviewed-by: mcimadamore
2019-05-16 16:42:14 +02:00
Priya Lakshmi Muthuswamy
5fc3474639
8222548: Upgrading JDK 13 with the latest available jQuery 3.4.1
...
Reviewed-by: hannesw
2019-05-16 16:40:48 +05:30
Jan Lahoda
b32a840e53
8222169: java.lang.AssertionError switch expression in ternary operator - ?
...
Ensure the stack size recoded at the begining of the let expression is the correct one.
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: vromero
2019-05-16 10:52:36 +02:00
Vicente Romero
23278fea38
8215470: Bad EnclosingMethod attribute on classes declared in lambdas
...
Reviewed-by: mcimadamore
2019-05-14 11:28:44 -04:00
Hannes Wallnöfer
4a59b995da
8219060: -linksource broken with modules
...
Reviewed-by: jjg
2019-05-13 16:43:47 +02:00
Vicente Romero
40155b14cd
8222251: preflow visitor is not visiting lambda expressions
...
Reviewed-by: mcimadamore
2019-05-09 10:04:33 -04:00
Jan Lahoda
55e1da1813
8221759: Crash when completing \"java.io.File.path\"
...
Do not provide documentation for inaccessible elements.
Reviewed-by: rfield
2019-05-09 11:58:26 +02:00
Vicente Romero
c98fb7d64b
8222949: add condy support to javac's pool API
...
Reviewed-by: mcimadamore
2019-05-08 10:10:54 -04:00
Lance Andersen
5a4cef05d6
8218875: Add new FileSystems.newFileSystem methods
...
Reviewed-by: rriggs, alanb, clanger, dfuchs
2019-05-02 17:08:03 -04:00
Joe Darcy
75471b411d
8146726: Improve AbstractProcessor to issue warnings for repeated information
...
Reviewed-by: jjg, smarks, serb, igerasim
2019-05-01 16:47:26 -07:00
Steve Groeger
7c55d53d66
8218152: [javac] fails and exits with no error if a bad annotation processor provided
...
Handle exceptions thrown while loading annotation processors.
Reviewed-by: jlahoda
2019-04-30 10:39:22 +02:00
Priya Lakshmi Muthuswamy
a722889681
8221991: Improve the HTML for the inheritance tree for a type
...
Reviewed-by: hannesw
2019-04-30 11:58:30 +05:30
Hannes Wallnöfer
8322ce2e6b
8220497: Improve Javadoc search feature and add test coverage
...
Reviewed-by: jjg
2019-04-25 09:12:40 +02:00
Priya Lakshmi Muthuswamy
d0788ec07f
8219998: Eliminate inherently singleton lists
...
Reviewed-by: jjg
2019-04-23 18:28:48 +05:30
Priya Lakshmi Muthuswamy
e9da006827
8215580: Remove support for --no-module-directories
...
Reviewed-by: jjg
2019-04-23 14:13:18 +05:30
Maurizio Cimadamore
7b7f9a6fd3
8222289: Overhaul logic for reading/writing constant pool entries
...
Rewrite of Pool,ClassReader,ClassWriter to use shared pool helper components
Reviewed-by: vromero
2019-04-17 15:37:20 +01:00
Joe Darcy
4a9f7612be
8222430: Add tests for ElementKind predicates
...
Reviewed-by: jjg
2019-04-15 16:05:46 -07:00
Joe Darcy
7d29dd2172
8222378: Provide mechanism to query preview feature status for annotation processors
...
Reviewed-by: jjg
2019-04-15 15:44:42 -07:00
Hannes Wallnöfer
4a477cabd8
8221644: jquery directory should be renamed
...
Reviewed-by: jjg
2019-04-15 15:38:47 +02:00
Martin Doerr
f2369e9748
8220625: tools/javac/classreader/8171132/BadConstantValue.java failed with "did not see expected error"
...
Reviewed-by: clanger
2019-04-15 10:16:04 +02:00
Jan Lahoda
28dd6d8496
8217047: Provide a way to inject missing parameter names
...
Adding a way to provide parameter names that are missing in the classfiles.
Reviewed-by: darcy, jjg
2019-04-11 17:55:18 +02:00
Jan Lahoda
ae5972a204
8215407: javac should reject class files with bad EnclosingMethod attributes
...
Reject classfiles with broken EnclosingMethod attribute.
Reviewed-by: jjg
2019-04-11 14:49:04 +02:00
Priya Lakshmi Muthuswamy
f04c9d09b8
8217013: javadoc generates references to missing file overview-frame.html
...
Reviewed-by: hannesw
2019-04-11 12:49:26 +05:30
Vicente Romero
2468ac91ee
8222035: minimal inference context optimization is forcing resolution with incomplete constraints
...
Reviewed-by: mcimadamore, cushon
2019-04-10 17:15:53 -04:00
Jonathan Gibbons
0abdc381b7
8221871: javadoc should not set role=region on <section> elements
...
Reviewed-by: hannesw
2019-04-05 15:57:33 -07:00
Hannes Wallnöfer
2cc859d380
8221366: Search box tries to search for "Search"
...
Reviewed-by: jjg
2019-04-01 16:51:09 +02:00
Priya Lakshmi Muthuswamy
2ace3e69e6
8215599: Remove support for javadoc "frames" mode
...
Reviewed-by: jjg
2019-04-01 12:44:23 +05:30
Ron Shapiro
b6cdfa908f
8221118: Avoid eagerly creating JCDiagnostic for CompletionFailures
...
Reviewed-by: jjg, mcimadamore, forax
2019-03-29 07:38:34 -07:00
Liam Miller-Cushon
b0f6b1086a
8220632: Suggest recompiling with a larger value of -Xmaxerrs/-Xmaxwarns if diagnostics were suppressed
...
Reviewed-by: jjg
2019-03-26 16:09:33 -07:00
Jan Lahoda
4969d23b89
8221413: javac does not recognize variable assigned in switch expression as DA
...
Fixing definite assignment in presence of implicit throws clause in switch expressions over enums.
Reviewed-by: vromero
2019-03-28 10:32:05 +01:00
Liam Miller-Cushon
31f64932c3
8220687: Add StandardJavaFileManager.getJavaFileObjectsFromPaths overload
...
Reviewed-by: jjg
2019-03-26 15:00:02 -07:00
Christoph Langer
1a48fa0fb7
8200286: (testbug) MOptionTest test fails with java.lang.AssertionError: Classfiles too old!
...
Reviewed-by: stuefe, jjg
2019-03-22 08:56:30 +01:00
Priya Lakshmi Muthuswamy
1c0f35a5b4
8219958: Automatically load taglets from a jar file
...
Reviewed-by: jjg
2019-03-20 09:58:12 +05:30
Jonathan Gibbons
7954db81f8
8220693: jdk/javadoc/doclet/MetaTag/MetaTag.java with unexpected date
...
Reviewed-by: hannesw
2019-03-18 11:50:57 -07:00
Nick Gasson
6b79655b44
8219628: [TESTBUG] javadoc/doclet/InheritDocForUserTags fails with -othervm
...
Reviewed-by: jjg, clanger
2019-03-14 14:25:09 -07:00
Derek Thomson
d8497d254a
8219691: method summary table head should be enclosed in <thead>
...
Reviewed-by: jjg
2019-03-14 13:33:10 -07:00
Jonathan Gibbons
d3242724c9
8220379: Fix doclint handling of headings
...
Reviewed-by: erikj, jlahoda
2019-03-14 11:39:00 -07:00
Liam Miller-Cushon
0720686823
8193277: SimpleFileObject inconsistency between getName and getShortName
...
Reviewed-by: jjg
2019-03-05 12:01:04 -08:00
Liam Miller-Cushon
ab3f5e3e15
8220634: SymLinkArchiveTest should handle not being able to create symlinks
...
Reviewed-by: jjg
2019-03-13 17:26:21 -07:00
Jonathan Gibbons
1b9db9b7a1
8220202: Simplify/standardize method naming for HtmlTree
...
Reviewed-by: hannesw
2019-03-11 12:59:45 -07:00
Priya Lakshmi Muthuswamy
e5f0f8d005
8220087: Remove remnants of HTML4 support
...
Reviewed-by: jjg
2019-03-11 14:57:16 +05:30
Priya Lakshmi Muthuswamy
472d55d722
8219632: Remove reference to com.sun.javadoc API in RemoveOldDoclet test
...
Reviewed-by: jjg
2019-03-11 14:17:08 +05:30
Jonathan Gibbons
58aa7a85f6
8219946: Set class on body elements
...
Reviewed-by: hannesw
2019-03-05 10:35:29 -08:00
Jonathan Gibbons
66868f287c
8219801: Pages do not have <h1>
...
Reviewed-by: hannesw
2019-03-04 11:19:34 -08:00
Jan Lahoda
76c916516c
8217868: Crash for overlap between source path and patch module path
...
When analyzing implicit files, do not look for containing module, but rather use the already known one.
Reviewed-by: jjg
2019-03-04 10:19:35 +01:00
Christoph Langer
8bec32b02f
8219915: [TESTBUG] Fix test langtools/tools/javac/processing/model/completionfailure/SymbolsDontCumulate.java in Standalone mode
...
Reviewed-by: jlahoda
2019-03-01 10:15:04 +00:00
Priya Lakshmi Muthuswamy
151e628a8e
8215584: Remove support for the "old" doclet API in com/sun/javadoc
...
Reviewed-by: jjg, hannesw
2019-02-22 11:10:55 +05:30
Jonathan Gibbons
b7ed42eedd
8219558: jdk/javadoc tests fail with missing headings: h1
...
Reviewed-by: darcy
2019-02-21 17:50:27 -08:00
Jonathan Gibbons
46666a2d94
8216170: java.lang.IllegalArgumentException: directories not supported
...
Reviewed-by: hannesw
2019-02-21 15:17:42 -08:00
Jonathan Gibbons
fa0093dc2c
8215307: Pages do not have <h1>
...
Reviewed-by: hannesw
2019-02-21 14:03:57 -08:00
Joe Darcy
bf2d27c5a4
8219254: Update explicit uses of latest source/target in langtools tests to a property
...
8219256: Update javac diags tests to use properties
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: jjg, jlahoda, darcy, iignatyev
2019-02-21 10:29:16 -08:00
Priya Lakshmi Muthuswamy
dcf38e3cfe
8213354: Support package-specific stylesheets
...
Reviewed-by: jjg
2019-02-21 11:26:39 +05:30
Jonathan Gibbons
431b49663a
8218998: Add metadata to generated API documentation files
...
Reviewed-by: hannesw
2019-02-20 16:15:02 -08:00
Harold Seigel
dd7e50dc01
8214719: Deprecate -Xverify:none option
...
Deprecate -Xverify:none and -noverify and remove them from tests
Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Jan Lahoda
68d32a9a8a
8217381: Incovenient errors reported when annotation processor generates source file and errors in the same round
...
When an annotation processor reports and error, defer reporting recoverable errors from the erroneous round to the last round, to avoid reporting errors that were resolved in the erroneous round.
Reviewed-by: jjg
2019-02-15 12:09:53 +01:00
Srinivas Dama
37169f4bbc
8201544: Improve javac command line parsing and error reporting
...
Modified exception into an error message for invalid filenames on windows
Reviewed-by: vromero, jjg
2019-02-14 21:52:39 +05:30
Jonathan Gibbons
904bb0919f
8218944: Fix failed for JDK-8218936
...
Reviewed-by: jwilhelm
2019-02-14 07:41:54 -08:00
Jonathan Gibbons
831b315ca2
8218936: Test fails in Internet environment
...
Reviewed-by: mchung
2019-02-13 17:18:56 -08:00
Priya Lakshmi Muthuswamy
e13ec79b60
8215577: Remove javadoc support for HTML 4
...
Reviewed-by: jjg, hannesw
2019-01-30 16:39:26 +05:30
Jonathan Gibbons
dbc9e5e35c
8217773: Test langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java fails after JDK-8217034
...
Reviewed-by: clanger, hannesw
2019-01-29 13:39:40 -08:00
Bernard Blaser
777ad9080e
8193367: Annotated type variable bounds crash javac
...
Reviewed-by: mcimadamore, vromero
2019-01-26 15:50:59 +01:00
Magnus Ihse Bursie
659006b218
8217638: Remove old way of running tests (test/Makefile)
...
Reviewed-by: erikj, jjg
2019-01-24 11:29:16 +01:00
Jonathan Gibbons
6326bf224e
8217395: Update langtools shell tests to use ${EXE_SUFFIX}
...
Reviewed-by: darcy
2019-01-18 12:41:11 -08:00
Jonathan Gibbons
c932d8294b
8217034: JavadocTester should check for missing files by default
...
Reviewed-by: hannesw
2019-01-18 11:26:30 -08:00
Bernard Blaser
454cbfacaa
8214345: infinite recursion while checking super class
...
Reviewed-by: vromero
2019-01-18 13:49:45 -05:00
Priya Lakshmi Muthuswamy
744d6085b4
8202626: javadoc generates broken links to <Unnamed>
...
Reviewed-by: jjg
2019-01-16 11:15:25 +05:30
Jonathan Gibbons
3a1f460d19
8217214: Recent new javadoc test needs to be updated
...
Reviewed-by: mchung
2019-01-15 15:45:39 -08:00
Jonathan Gibbons
cdaffdd356
8216319: Refactor JavadocTester to allow more on-by-default checkers; add A11YChecker
...
Reviewed-by: hannesw
2019-01-15 14:18:44 -08:00
Jesper Wilhelmsson
a8c5f1e59a
Merge
2019-01-15 22:54:09 +01:00
Vicente Romero
ae0cb515d6
8215482: check for cycles in type variables can provoke NPE
...
Reviewed-by: mcimadamore
2019-01-14 12:24:25 -05:00
Priya Lakshmi Muthuswamy
f00057cb16
8199892: Missing landmarks when generating docs using html sources
...
Reviewed-by: jjg
2019-01-14 15:09:15 +05:30
Joe Darcy
5ad47c58a3
8208371: Provided supported mechanims to create a ModuleElement for an unnamed module
...
Reviewed-by: jjg
2019-01-11 09:57:15 -08:00
Jonathan Gibbons
a5624be901
8212233: javadoc fails on jdk12 with "The code being documented uses modules but the packages defined in $URL are in the unnamed module."
...
Reviewed-by: hannesw, pmuthuswamy
2019-01-15 11:05:25 -08:00
Jim Laskey
11b29c8de1
8215681: Remove compiler support for Raw String Literals from JDK 12
...
Reviewed-by: mcimadamore, jlahoda, sundar
2019-01-09 11:13:00 -04:00
Jan Lahoda
c526b4b225
8215438: jshell tool: Ctrl-D causes EOF
...
Properly handling EndOfFileException so that jshell can be closed with Ctrl-D.
Reviewed-by: rfield
2019-01-08 16:31:27 +01:00
Srinivas Dama
2f34c5ac6a
8208184: IllegalArgumentException while invoking code completion on netbeans IDE
...
Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2019-01-03 11:21:11 +05:30
Hannes Wallnöfer
cb553175b7
8215291: Broken links when generating from project without modules
...
Reviewed-by: jjg
2018-12-21 11:02:36 +01:00
Robert Field
2ebc9f99e5
8215099: jshell tool: /help representation of ctrl/meta characters inconsistent
...
Reviewed-by: jlahoda
2018-12-15 17:13:39 -08:00
Joe Darcy
f68fd6a1c2
8216404: Elements.getPackageOf should handle modules
...
Reviewed-by: jlahoda
2019-01-10 10:34:30 -08:00
Jesper Wilhelmsson
67a5fc2529
Merge
2019-01-09 22:59:49 +01:00
Priya Lakshmi Muthuswamy
61c1c09d86
8214738: javadoc should honor styles in doc-files
...
Reviewed-by: jjg
2019-01-08 11:16:32 +05:30
Jesper Wilhelmsson
59716b0bb3
Merge
2019-01-02 16:05:13 +01:00
Srinivas Dama
ead8577920
8208184: IllegalArgumentException while invoking code completion on netbeans IDE
...
Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2018-12-24 12:18:40 +05:30
Jonathan Gibbons
2162a500c1
8215516: Move JavadocTester to a named package
...
Reviewed-by: hannesw
2018-12-21 10:38:33 -08:00
Jesper Wilhelmsson
f4f859b446
Merge
2018-12-19 20:53:30 +01:00
Vicente Romero
f398c3dcd2
8215625: javax/sql/testng/util/xxxxx.java tests compilation failed after JDK-8207224
...
Reviewed-by: mcimadamore
2018-12-19 14:02:19 -05:00
Vicente Romero
8b6b63b38b
8207224: Javac compiles source code despite illegal use of unchecked conversions
...
Reviewed-by: mcimadamore, darcy
2018-12-18 16:22:46 -05:00
Alan Bateman
888057a89f
8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
...
Reviewed-by: redestad, mchung, jjg
2018-12-18 10:26:15 +00:00
Joe Darcy
b5f0eec3d8
8205626: Start of release updates for JDK 13
...
8205393: Add SourceVersion.RELEASE_13
8205394: Add source 13 and target 13 to javac
8205645: Bump maximum recognized class file version to 57 for JDK 13
8214825: Update preview language features for start of JDK 13
Reviewed-by: erikj, alanb, mchung, mcimadamore, dholmes, smarks, jjg
2018-12-13 19:06:11 +01:00
Priya Lakshmi Muthuswamy
9d967e70fc
8214468: jQuery UI upgrade from 1.11.4 to 1.12.1
...
Reviewed-by: hannesw
2018-12-12 13:01:29 +05:30
Jan Lahoda
cc116b1259
8214491: Upgrade to JLine 3.9.0
...
Upgrading JLine to 3.9.0 and updating jshell and jjs to the new JLine.
Reviewed-by: rfield, sundar
2018-12-11 11:29:28 +01:00
Jan Lahoda
655c5d7f35
8214114: Switch expressions with try-catch statements
...
When switch expression contains try-catch, move the stack values into locals before the executing the switch expression, and back when it is done.
Reviewed-by: mcimadamore, vromero
2018-12-11 09:10:24 +01:00
Harold Seigel
5a23b59ca0
8215015: [TESTBUG] remove unneeded -Xfuture option from tests
...
Remove the option from the tests
Reviewed-by: lfoltan, coleenp
2018-12-10 13:24:17 -05:00
Vicente Romero
9846588b31
8210031: implementation for JVM Constants API
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
2018-12-09 12:36:24 -05:00
Hannes Wallnöfer
c0099a8a0d
8214571: -Xdoclint of array serialField gives "error: array type not allowed here"
...
Reviewed-by: jjg, sundar
2018-12-06 12:34:28 +01:00
Liam Miller-Cushon
7f365fffbd
8214902: Pretty-printing marker annotations add unnecessary parenthesis
...
Reviewed-by: jjg
2018-12-05 11:31:20 -08:00
Vicente Romero
a4d8574130
8213703: LambdaConversionException: Invalid receiver type not a subtype of implementation type interface
...
Reviewed-by: mcimadamore
2018-12-05 09:34:01 -05:00
Jan Lahoda
504dfa5de0
8214529: Exception while using Anonymous class in switch expression
...
Clearing breakResult when creating methodEnv.
Reviewed-by: mcimadamore
2018-12-03 14:25:00 +01:00
Jan Lahoda
835c863ba8
8214031: Assertion error in value break statement with conditional operator in switch expression
...
Correcting handling of boolean-valued switch expressions when true/false; generating them directly rather than desugaring in Lower.
Reviewed-by: mcimadamore
2018-12-03 10:37:36 +01:00
Srikanth Adayapalam
10d83827bc
8206325: AssertionError in TypeSymbol.getAnnotationTypeMetadata
...
Reviewed-by: mcimadamore
2018-11-30 10:37:48 +05:30
Robert Field
020877da03
8213725: JShell NullPointerException due to class file with unexpected package
...
Reviewed-by: jlahoda
2018-11-29 17:45:29 -08:00
Liam Miller-Cushon
bddbbd85f9
8214026: Canonicalized archive paths appearing in diagnostics
...
Reviewed-by: vromero
2018-11-19 15:01:59 -08:00
Priya Lakshmi Muthuswamy
17773c31b6
8202621: bad test with broken links needs to be updated
...
Reviewed-by: hannesw
2018-11-28 10:21:07 +05:30
Vicente Romero
10da56f017
8203277: preflow visitor used during lambda attribution shouldn't visit class definitions inside the lambda body
...
Reviewed-by: mcimadamore
2018-11-27 11:07:44 -05:00
Hannes Wallnöfer
e524f41fbf
8213716: javadoc search not working with Japanese and Chinese locales
...
Reviewed-by: jjg
2018-11-27 13:02:28 +01:00
Jonathan Gibbons
1d01b4d22f
8190312: javadoc -link doesn't work with http: -> https: URL redirects
...
Reviewed-by: hannesw
2018-11-26 11:17:13 -08:00
Jonathan Gibbons
ae4f1b1941
8213956: javadoc crash using {@index} in doc-files file
...
Reviewed-by: jlahoda, hannesw, pmuthuswamy
2018-11-26 11:00:32 -08:00
Jan Lahoda
06b1502892
8214113: Switch expressions may have constant type and may be skipped during write
...
Switch expressions should not be compile-time constants.
Reviewed-by: mcimadamore
2018-11-26 09:24:08 +01:00
Mandy Chung
b2604123d3
8214223: tools/jdeps/listdeps/ListModuleDeps.java failed due to missing Lib2 file
...
Reviewed-by: lancea, alanb
2018-11-22 10:15:32 -08:00
Hannes Wallnöfer
c047c5cfcf
8200432: javadoc fails with ClassCastException on {@link byte[]}
...
Reviewed-by: jjg, sundar
2018-11-22 15:38:20 +01:00
Mandy Chung
0126fdbef0
8213909: jdeps --print-module-deps should report missing dependences
...
8168869: jdeps: localized messages don't use proper line breaks
Reviewed-by: sundar
2018-11-21 22:34:01 -08:00
Mandy Chung
9d7509e647
8211051: jdeps usage of --dot-output doesn't provide valid output for modular jar
...
Reviewed-by: sundar
2018-11-21 22:33:33 -08:00
Priya Lakshmi Muthuswamy
7de1b68d89
8213819: doclint should warn against {@index} inside <a> tag
...
Reviewed-by: jjg, hannesw
2018-11-22 10:25:44 +05:30
Jan Lahoda
60b32f222f
8212982: Rule cases in switch expression accepted even if complete normally
...
Ensure an error is reported if switch expression does not correctly produce a value.
Reviewed-by: mcimadamore
2018-11-21 15:22:57 +01:00
Liam Miller-Cushon
4a235517f9
8213908: AssertionError in DeferredAttr at setOverloadKind
...
Reviewed-by: mcimadamore
2018-11-19 09:57:41 -08:00
Srinivas Dama
e4f60a8489
8210742: compound var declaration type is not uniform for all variables
...
Make implicit type for all variables in compound declaration as null for which type inference happens at later phase
Reviewed-by: mcimadamore
2018-11-20 21:59:07 +05:30
Priya Lakshmi Muthuswamy
4acb8dd9c3
8184205: Captions on tabbed tables are squashed together
...
Reviewed-by: jjg
2018-11-20 10:50:54 +05:30
Liam Miller-Cushon
4cdf0c4c1d
8214071: Broken msg.bug diagnostics when using the compiler API
...
Reviewed-by: jjg
2018-11-19 10:47:38 -08:00
Erik Joelsson
24eb1aa0eb
8213709: jdk/javadoc/doclet/testValueTag/TestValueTagInModule.java missing modules declaration
...
Reviewed-by: jjg
2018-11-14 09:31:38 -08:00
Jan Lahoda
c963d543d2
8209055: c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly
...
Do not keep speculative Symbols in DeferredCompletionFailureHandler.
Reviewed-by: jjg, vromero
2018-11-12 09:35:23 +00:00
Priya Lakshmi Muthuswamy
50dc5ef396
5076751: System properties documentation needed in javadocs
...
Reviewed-by: jjg
2018-11-12 13:31:41 +05:30
Vicente Romero
0ec4944be7
8211450: UndetVar::dup is not copying the kind field to the duplicated instance
...
Reviewed-by: mcimadamore
2018-11-08 18:23:52 -05:00
Vicente Romero
7d4e8d0e26
8210197: javac can't tell during speculative attribution if a diamond expression is creating an anonymous inner class or not
...
Reviewed-by: mcimadamore
2018-11-08 10:36:06 -05:00
Jan Lahoda
fdb010502b
8213103: RoundEnvironment.getElementsAnnotatedWith(Class) crashes with -source 8
...
Correct handling of missing annotation with -source 8.
Reviewed-by: darcy, jjg, vromero
2018-11-05 10:31:47 +01:00
Jonathan Gibbons
72bfdd96f1
8213265: fix missing newlines at end of files
...
Reviewed-by: darcy
2018-11-01 15:11:08 -07:00
Jonathan Gibbons
73fa99ae86
8213263: fix legal headers in test/langtools
...
Reviewed-by: darcy
2018-11-01 14:32:55 -07:00
Priya Lakshmi Muthuswamy
99621df489
8210244: {@value} should be permitted in module documentation
...
Reviewed-by: jjg, sundar
2018-10-31 10:29:59 +05:30
Vicente Romero
d9d067369b
8212624: remove outdated entries from langtools problem list
...
Reviewed-by: darcy
2018-10-29 17:11:46 -04:00
Vicente Romero
d0696b538a
8213100: fix test OptionSmokeTest before removing it from the problem list
...
Reviewed-by: jlahoda
2018-10-29 17:09:44 -04:00
Robert Field
37ef084d73
8210808: jshell tool: only considers the first snippet of the external editor
...
Reviewed-by: jlahoda, sundar
2018-10-29 08:34:33 -07:00
Robert Field
0d815c2677
8211694: JShell: Redeclared variable should be reset
...
Reviewed-by: sundar
2018-10-24 21:17:30 -07:00
Liam Miller-Cushon
d9095c4a72
8198945: Invalid RuntimeVisibleTypeAnnotations for annotation on anonymous class type parameter
...
Reviewed-by: wmdietl, abuckley, martin
2018-09-17 11:09:43 -07:00
Joe Darcy
34397c4914
8212718: Refactor some annotation processor tests to better use collections
...
Reviewed-by: jlaskey, vromero
2018-10-23 10:32:39 -07:00
Robert Field
dafc483475
8210959: JShell fails and exits when statement throws an exception whose message contains a '%'
...
Reviewed-by: jlahoda
2018-10-22 09:26:50 -07:00
Robert Field
749916b897
8210923: JShell: support for switch expressions
...
Reviewed-by: jlahoda
2018-10-22 08:30:39 -07:00
Priya Lakshmi Muthuswamy
4e1c510215
8211901: javadoc generates broken links on deprecated items page
...
Reviewed-by: jjg
2018-10-17 15:28:36 +05:30
Jonathan Gibbons
f8d8a72a27
8211407: Bad links to non-existent entries on serialized-form page
...
Reviewed-by: jlahoda
2018-10-08 11:14:59 -07:00
Vicente Romero
1ed6b88a99
8209407: VerifyError is thrown for inner class with lambda
...
Reviewed-by: mcimadamore
2018-10-08 06:52:41 -07:00
Vicente Romero
609d90e98a
8210789: langtools/tools/javac/T8152616.java missing @modules
...
Reviewed-by: jjg
2018-10-04 10:19:01 -07:00
Vicente Romero
2589e9733e
8211148: var in implicit lambdas shouldn't be accepted for source < 11
...
Reviewed-by: mcimadamore
2018-10-04 08:37:08 -07:00
Priya Lakshmi Muthuswamy
5cfc3bbdd4
8208531: -javafx mode should be on by default when JavaFX is available
...
Reviewed-by: jjg
2018-10-03 11:43:39 +05:30
Mikael Vidstedt
8e53d1b5dc
8211350: Remove jprt support
...
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
Jim Laskey
c30dffb388
8211080: RawStringLiteralLangAPI.java test times out by default
...
Reviewed-by: jjg
2018-09-27 15:47:33 -03:00
Jan Lahoda
17c3d1c333
8211102: Crash with -XDfind=lambda and -source 7
...
Disabling analyzers that cannot run in the given source level; lambdas in standalone positions should have erroneous type rather than the recovery type; avoiding crash in Flow for broken code.
Reviewed-by: mcimadamore
2018-09-27 10:24:12 +02:00
Priya Lakshmi Muthuswamy
54f929e9d6
8202628: javadoc generates bad links in TestModules.java
...
Reviewed-by: jjg
2018-09-27 10:10:47 +05:30
Jonathan Gibbons
db6295f8a2
8209963: source file mode for JVM should provide a hook to locate the source file
...
Reviewed-by: darcy
2018-09-26 16:23:31 -07:00
Jonathan Gibbons
065fdac559
8210555: create --source --target synonyms for -source -target
...
Reviewed-by: hannesw
2018-09-26 15:14:17 -07:00
Jonathan Gibbons
25ca76b4f9
8211180: SourceLauncherTest.java fails in JDK12 CI on Win*
...
Reviewed-by: mchung, darcy
2018-09-26 14:54:38 -07:00
Jonathan Gibbons
cad60d14a6
8210274: Source Launcher should work with a security manager
...
Reviewed-by: mchung, alanb
2018-09-26 11:41:08 -07:00
Liam Miller-Cushon
9c60728a28
8211138: Missing Flag enum constants
...
Reviewed-by: mcimadamore, vromero
2018-09-25 21:33:51 -07:00
Joe Darcy
9d95755584
8211127: TestNewLanguageFeatures.java fails after JDK-8173730
...
Reviewed-by: jjg
2018-09-25 13:31:51 -07:00
Jonathan Gibbons
59fd35292e
8210839: Improve interaction between source launcher and classpath
...
Reviewed-by: alanb, mchung
2018-09-25 10:30:32 -07:00
Priya Lakshmi Muthuswamy
f8ba78868d
8202462: {@index} may cause duplicate labels
...
Reviewed-by: jjg
2018-09-25 13:58:54 +05:30
Priya Lakshmi Muthuswamy
4b47d2c9e7
8205593: Javadoc -link makes broken links if module name matches package name
...
Reviewed-by: jjg
2018-09-25 12:36:45 +05:30
Jonathan Gibbons
8edf8e2b03
8210275: Source Launcher should fail if --source is used without a source file
...
Reviewed-by: mchung, alanb, mcimadamore
2018-09-21 15:38:43 -07:00
Jan Lahoda
3f43390b8b
8209058: Cannot find annotation method 'value()' in type 'Profile+Annotation'
...
Correct detection of the Profile+Annotation synthetic annotation for classes that are not from the java.base module.
Reviewed-by: jjg
2018-09-21 12:29:46 +02:00
Jan Lahoda
c1033edca8
8209865: Incorrect 'multiple elements' notes with Elements#getTypeElement and --release
...
Changing ct.sym to be module-path oriented, rather than class-path oriented.
Reviewed-by: jjg
2018-09-21 12:29:31 +02:00
Vicente Romero
29fec64583
8209022: Missing checkcast when casting to type parameter bounded by intersection type
...
Reviewed-by: mcimadamore
2018-09-20 12:49:58 -07:00