Jesper Wilhelmsson
34cdda5b83
Merge
2022-12-21 23:50:59 +00:00
Andrey Turbanov
85f9b37d71
8297682: Use Collections.emptyIterator where applicable
...
Reviewed-by: stsypanov, alanb, jpai
2022-12-21 08:15:11 +00:00
Jonathan Gibbons
f7be5b530d
8299156: Broken link in jdk.compiler/module-info.java
...
Reviewed-by: iris
2022-12-20 22:53:09 +00:00
Jesper Wilhelmsson
c5a4a7a679
Merge
2022-12-20 11:40:56 +00:00
Archie L. Cobbs
40cb431fee
8298943: Missing escapes for single quote marks in compiler.properties
...
Reviewed-by: jjg
2022-12-19 19:48:13 +00:00
Damon Nguyen
c997b5bffd
8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10
...
Reviewed-by: achung, naoto, joehw, cjplummer, almatvee
2022-12-16 21:15:29 +00:00
Jesper Wilhelmsson
3696711efa
Merge
2022-12-16 15:48:24 +00:00
Jan Lahoda
22a6b59102
8298727: Trees.getPath may crash for unnamed package
...
Reviewed-by: vromero
2022-12-15 11:33:56 +00:00
Jesper Wilhelmsson
a130c8a668
Merge
2022-12-14 21:47:29 +00:00
Jonathan Gibbons
61ab16f79a
8298700: Typo in DocTree comment
...
Reviewed-by: darcy
2022-12-13 23:20:43 +00:00
Jesper Wilhelmsson
715bf70459
Merge
2022-12-09 22:00:12 +00:00
Jan Lahoda
133ad8e173
8297988: NPE in JavacTypes.getOverriddenMethods from doclint
...
Reviewed-by: vromero, jjg
2022-12-09 11:11:46 +00:00
Joe Darcy
175e3d3ff3
8296149: Start of release updates for JDK 21
...
8296150: Add SourceVersion.RELEASE_21
8296151: Add source 21 and target 21 to javac
Reviewed-by: dholmes, iris, erikj, vromero, jlahoda
2022-12-08 16:04:00 +00:00
Jan Lahoda
cf63f2e3ea
8298184: Incorrect record component type in record patterns
...
Reviewed-by: vromero
2022-12-07 12:03:50 +00:00
Joe Darcy
0d2a9ee528
8298142: Update internal comment on language features in SourceVersion
...
Reviewed-by: sundar, jlahoda
2022-12-06 16:55:12 +00:00
Aggelos Biboudis
1e468320dc
8297602: Compiler crash with type annotation and generic record during pattern matching
...
Reviewed-by: jlahoda
2022-12-06 13:00:10 +00:00
Srikanth Adayapalam
ee9ba74564
8295184: Printing messages with a RecordComponentElement does not include position
...
Reviewed-by: vromero
2022-12-06 04:23:40 +00:00
Jan Lahoda
2300ed458d
8291769: Translation of switch with record patterns could be improved
...
Reviewed-by: vromero
2022-12-05 12:04:23 +00:00
Jan Lahoda
777fb52ef5
8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.doRecovery
...
Reviewed-by: vromero
2022-12-05 09:33:42 +00:00
Vicente Romero
82031d32a0
8297294: compiler/c2/irTests/TestMulNodeIdealization.java failed compilation
...
Reviewed-by: mcimadamore
2022-12-01 21:57:55 +00:00
Aggelos Biboudis
2cb64a7557
8294943: Implement record patterns in enhanced for
...
8296802: Parse errors when deconstructing a record using the enhanced for loop of JEP 432
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-12-01 12:40:09 +00:00
Jan Lahoda
b60cce6f3b
8297118: Change IncompatibleClassChangeError to MatchException for exhaustive switch statements and switch expressions
...
Reviewed-by: vromero
2022-12-01 10:51:57 +00:00
Jan Lahoda
756dd5bb0d
8294942: Compiler implementation for Record Patterns (Second Preview)
...
8294945: Compiler implementation for Pattern Matching for switch (Fourth Preview)
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-12-01 08:02:40 +00:00
Jan Lahoda
b52611bc36
8295401: Error recovery in module-info.java could be improved
...
Reviewed-by: vromero
2022-11-30 09:49:51 +00:00
Jan Lahoda
9e80cf9c37
8296390: Incremental build failed with a NPE
...
Reviewed-by: vromero
2022-11-30 09:47:48 +00:00
Aggelos Biboudis
7af6b4b54c
8296012: jshell crashes on mismatched record pattern
...
Reviewed-by: vromero
2022-11-29 19:33:18 +00:00
Bo Zhang
33587ffd35
8292625: jshell crash on "var a = a"
...
Reviewed-by: jlaskey, jlahoda
2022-11-29 13:57:56 +00:00
Aggelos Biboudis
6c05771b9b
8295447: NullPointerException with invalid pattern matching construct in constructor call
...
Reviewed-by: vromero
2022-11-26 15:53:00 +00:00
Aggelos Biboudis
4f65570204
8294583: JShell: NPE in switch with non existing record pattern
...
Reviewed-by: jlahoda
2022-11-25 12:31:47 +00:00
Srikanth Adayapalam
544e317225
8059632: Method reference compilation uses incorrect qualifying type
...
Reviewed-by: mcimadamore
2022-11-21 03:02:29 +00:00
Jonathan Gibbons
dcb83754ce
8245246: Deprecate -profile option in javac
...
Reviewed-by: darcy
2022-11-18 23:43:26 +00:00
Archie L. Cobbs
2f063b86fb
8296846: Minor cleanup of some dead code in Flow.java
...
Reviewed-by: vromero
2022-11-18 04:25:12 +00:00
Magnus Ihse Bursie
4527dc67be
8297041: Remove the last remnants of sjavac
...
Reviewed-by: cstein, erikj, jjg
2022-11-17 09:20:22 +00:00
Vicente Romero
3eb789af74
8296171: Compiler incorrectly rejects code with variadic method references
...
Reviewed-by: mcimadamore
2022-11-14 18:31:26 +00:00
Vicente Romero
60db5f2ba2
8294020: improve errors for record declarations
...
Reviewed-by: jlahoda
2022-11-07 20:16:04 +00:00
Hannes Wallnöfer
5622b09565
8200337: Generalize see and link tags for user-defined anchors
...
Reviewed-by: jjg
2022-11-04 14:57:43 +00:00
Daniel Fuchs
4338f527aa
8294241: Deprecate URL public constructors
...
Reviewed-by: joehw, prr, alanb, aefimov, michaelm
2022-11-03 17:18:14 +00:00
Vicente Romero
7a85441a85
8232933: Javac inferred type does not conform to equality constraint
...
Reviewed-by: mcimadamore
2022-11-03 12:08:23 +00:00
Archie L. Cobbs
b8ad6cd98a
8294461: wrong effectively final determination by javac
...
Reviewed-by: vromero
2022-10-27 15:58:46 +00:00
Srikanth Adayapalam
4d9a1cd26f
8292159: TYPE_USE annotations on generic type arguments of record components discarded
...
Reviewed-by: vromero
2022-10-27 04:56:22 +00:00
Vicente Romero
6707bfbc15
8029633: Raw inner class constructor ref should not perform diamond inference
...
Reviewed-by: jlahoda
2022-10-20 15:43:10 +00:00
Jan Lahoda
7bc9692a51
8294670: Enhanced switch statements have an implicit default which does not complete normally
...
Reviewed-by: vromero
2022-10-20 15:21:26 +00:00
Vicente Romero
95dd376ba2
8291914: generated constructors are considered compact when they shouldn't
...
Reviewed-by: darcy, jlahoda
2022-10-20 14:58:56 +00:00
Archie L. Cobbs
9b971626f7
7039014: Confusing error message for method conflict
...
Reviewed-by: vromero
2022-10-20 13:58:09 +00:00
Jan Lahoda
78dc497786
8294550: Sealed check for casts isn't applied to array components
...
Reviewed-by: vromero
2022-10-20 13:01:12 +00:00
Jonathan Gibbons
f300ec8631
8294546: document where javac differs when invoked via launcher and ToolProvider
...
Reviewed-by: darcy
2022-10-17 20:18:25 +00:00
Srikanth Adayapalam
cf07eaeb92
8295020: javac emits incorrect code for for-each on an intersection type.
...
Reviewed-by: mcimadamore
2022-10-17 07:40:19 +00:00
Archie L. Cobbs
786ce1c27b
8295024: Cyclic constructor error is non-deterministic and inconsistent
...
Reviewed-by: vromero
2022-10-14 13:52:50 +00:00
Srikanth Adayapalam
cf84c8eaf2
8292975: javac produces code that crashes with LambdaConversionException
...
8269983: BootstrapMethodError with method reference and intersection type
Reviewed-by: dlsmith, vromero
2022-10-07 04:20:40 +00:00
Jonathan Gibbons
b88ee1ee22
6251738: Want a top-level summary page that itemizes all spec documents referenced from javadocs (OEM spec)
...
Reviewed-by: hannesw
2022-09-26 21:28:39 +00:00