Joe Darcy
b018c450e5
8267630: Start of release updates for JDK 18
...
8267632: Add source 18 and target 18 to javac
8267631: Add SourceVersion.RELEASE_18
Reviewed-by: iris, erikj, dholmes
2021-06-10 16:22:14 +00:00
Vicente Romero
bb3d226a4e
8238213: Method resolution should stop on static error
...
Reviewed-by: jlahoda
2021-06-09 15:56:55 +00:00
Joel Borggrén-Franck
2717fcb134
8232948: javac -h should mangle the overload argument signature
...
Reviewed-by: jjg
2021-06-08 10:51:19 +00:00
Jonathan Gibbons
36c4e5f264
8267187: Remove deprecated constructor for Log
...
Reviewed-by: darcy, iris
2021-06-08 02:16:56 +00:00
Vicente Romero
4f9d6b7d68
8267465: remove superfluous preview related annotations and test options
...
Reviewed-by: jlahoda
2021-06-07 13:57:15 +00:00
Jan Lahoda
e4d045402f
8267832: SimpleVisitors and Scanners in jdk.compiler should use @implSpec
...
Reviewed-by: prappo, darcy
2021-06-07 11:13:13 +00:00
Jan Lahoda
908aca29ca
8262891: Compiler implementation for Pattern Matching for switch (Preview)
...
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, forax, godin, psandoz, mchung
2021-06-07 07:01:30 +00:00
Andrey Turbanov
36bff6f945
8066694: Strange code in JavacParser.java
...
Reviewed-by: vromero, iris
2021-06-05 14:44:25 +00:00
Guoxiong Li
b7ac705dd6
8263642: javac emits duplicate checkcast for first bound of intersection type in cast
...
Reviewed-by: vromero
2021-06-02 17:17:31 +00:00
Jan Lahoda
19450b9951
8266281: Assign Symbols to the package selector expression
...
Reviewed-by: vromero
2021-06-02 11:16:10 +00:00
Jan Lahoda
9247630a0d
8265270: Type.getEnclosingType() may fail with CompletionFailure
...
Reviewed-by: vromero
2021-06-02 09:53:31 +00:00
Guoxiong Li
b98e52a491
8267570: The comment of the class JavacParser is not appropriate
...
Reviewed-by: jjg
2021-06-02 04:25:46 +00:00
Joe Darcy
0ae4ceb413
8244146: javac changes for JEP 306
...
8266399: Core libs update for JEP 306
Reviewed-by: sadayapalam, bpb, naoto
2021-06-01 21:59:39 +00:00
Jaroslav Tulach
6eb9114582
8266877: Missing local debug information when debugging JEP-330
...
Reviewed-by: alanb, jjg
2021-05-28 04:16:10 +00:00
Guoxiong Li
10a6f5d637
8230623: Extract command-line help for -Xlint sub-options to new --help-lint
...
Reviewed-by: jjg
2021-05-27 14:04:56 +00:00
Pavel Rappo
4343997a1a
8267708: Remove references to com.sun.tools.javadoc.**
...
This commit changes BaseOptions.java to fix the NoStringToLower test that failed after jdk.javadoc has been added to the list of package prefixes that NoStringToLower scans.
Reviewed-by: jjg
2021-05-26 11:27:15 +00:00
Jan Lahoda
f632254943
8267221: jshell feedback is incorrect when creating method with array varargs parameter
...
Reviewed-by: vromero
2021-05-26 11:12:22 +00:00
Adam Sotona
2ef2450aa6
8263445: Duplicate key compiler.err.expected.module in compiler.properties
...
Reviewed-by: vromero, jlahoda
2021-05-25 15:58:00 +00:00
Pavel Rappo
5a5b807e8e
8267633: Clarify documentation of (Doc)TreeScanner
...
Reviewed-by: jjg
2021-05-25 14:22:36 +00:00
Maurizio Cimadamore
86a8f44271
8267317: Remove DeferredTypeCompleter
...
Reviewed-by: vromero
2021-05-25 11:51:25 +00:00
Adam Sotona
31d0f0d895
8248843: java in source-file mode suggests javac-only options
...
Reviewed-by: vromero
2021-05-25 04:52:42 +00:00
Vicente Romero
f5562f1214
8258535: jvm.ClassReader should set the accessor to the corresponding record component
...
Reviewed-by: jfranck
2021-05-24 14:50:22 +00:00
Guoxiong Li
f4531661b5
8267578: Remove unnecessary preview checks
...
Reviewed-by: jlahoda
2021-05-24 12:31:21 +00:00
Guoxiong Li
54520fbf49
8267580: The method JavacParser#peekToken is wrong when the first parameter is not zero
...
Reviewed-by: mcimadamore
2021-05-24 11:17:39 +00:00
Jan Lahoda
ec8a8097c3
8267119: switch expressions lack support for deferred type-checking
...
Reviewed-by: mcimadamore
2021-05-21 14:09:42 +00:00
Vicente Romero
81f39ed3e0
8261205: AssertionError: Cannot add metadata to an intersection type
...
Reviewed-by: mcimadamore
2021-05-20 17:53:00 +00:00
Vicente Romero
0fa9223f34
8260517: implement Sealed Classes as a standard feature in Java
...
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: dholmes, mcimadamore, jlahoda
2021-05-20 09:11:08 +00:00
Hannes Wallnöfer
66ab6d86d1
8264181: javadoc tool Incorrect error message about malformed link
...
Reviewed-by: prappo
2021-05-19 17:17:50 +00:00
Guoxiong Li
e858dd6197
8267361: JavaTokenizer reads octal numbers mistakenly
...
Reviewed-by: jlaskey
2021-05-19 12:50:54 +00:00
Vicente Romero
b8856b1c47
8263614: javac allows local variables to be accessed from a static context
...
Reviewed-by: mcimadamore
2021-05-17 15:03:32 +00:00
Guoxiong Li
17ceef97c3
8266819: Separate the stop policies from the compile policies completely
...
Reviewed-by: mcimadamore
2021-05-13 10:22:13 +00:00
Guoxiong Li
accbfeaf22
8226216: parameter modifiers are not visible to javac plugins across compilation boundaries
...
Reviewed-by: jlahoda
2021-05-12 14:32:57 +00:00
Jan Lahoda
8468001f88
8263452: Javac slow compilation due to algorithmic complexity
...
Reviewed-by: vromero, jfranck
2021-05-11 10:06:04 +00:00
Guoxiong Li
5d761fcffd
8266796: Clean up the unnecessary code in the method UnsharedNameTable#fromUtf
...
Reviewed-by: mcimadamore
2021-05-10 14:27:21 +00:00
Guoxiong Li
ff77ca8bd4
8266675: Optimize IntHashTable for encapsulation and ease of use
...
Reviewed-by: mcimadamore
2021-05-08 03:09:27 +00:00
Vicente Romero
946b0fe19a
8266645: javac should not check for sealed supertypes in intersection types
...
Reviewed-by: mcimadamore
2021-05-07 14:38:18 +00:00
Jan Lahoda
a8046c9157
8266436: Synthetic constructor trees have non-null return type
...
Reviewed-by: vromero
2021-05-05 10:31:11 +00:00
Jan Lahoda
f0f6b0d919
8266027: The diamond finder does not find diamond candidates in field initializers
...
Reviewed-by: jfranck, vromero
2021-04-29 14:55:28 +00:00
Jan Lahoda
df7f0b4671
8198317: Enhance JavacTool.getTask for flexibility
...
Co-authored-by: Guoxiong Li <lgxbslgx@gmail.com>
Reviewed-by: jfranck
2021-04-29 09:38:24 +00:00
Jan Lahoda
0a4c33826d
8263432: javac may report an invalid package/class clash on case insensitive filesystems
...
Reviewed-by: vromero
2021-04-27 08:55:59 +00:00
Guoxiong Li
41daa88dcc
8265899: Use pattern matching for instanceof at module jdk.compiler(part 1)
...
Reviewed-by: mcimadamore
2021-04-26 20:15:55 +00:00
Guoxiong Li
082abbdaf7
8265900: Use pattern matching for instanceof at module jdk.compiler(part 2)
...
Reviewed-by: mcimadamore
2021-04-26 17:31:45 +00:00
Guoxiong Li
851b219d74
8265901: Use pattern matching for instanceof at module jdk.compiler(part 3)
...
Reviewed-by: mcimadamore, jfranck
2021-04-26 15:23:56 +00:00
Guoxiong Li
2b09ff219e
8232765: NullPointerException at Types.eraseNotNeeded() when compiling a class
...
Reviewed-by: mcimadamore
2021-04-26 14:13:13 +00:00
Jesper Steen Møller
83364a4b4a
8264258: Unknown lookups in the java package give misleading compilation errors
...
Reviewed-by: sadayapalam
2021-04-26 11:53:27 +00:00
Guoxiong Li
d87a4c3b56
8239596: PARAMETER annotation on receiver type does not cause error
...
Reviewed-by: vromero
2021-04-24 02:17:39 +00:00
Guoxiong Li
657f103937
8057543: Replace javac's Filter with Predicate (and lambdas)
...
Reviewed-by: mcimadamore
2021-04-22 16:44:29 +00:00
Joe Darcy
8758b554a0
8265591: Remove vestiages of intermediate JSR 175 annotation format
...
Reviewed-by: jfranck
2021-04-22 16:21:54 +00:00
Ian Graves
33a86b9e40
8263621: Convert jdk.compiler to use Stream.toList()
...
Reviewed-by: mcimadamore, vromero
2021-04-22 16:06:40 +00:00
Guoxiong Li
07a7510d87
8200145: Conditional expression mistakenly treated as standalone
...
Reviewed-by: mcimadamore
2021-04-21 14:36:47 +00:00