Jim Laskey
04ad98ed32
8315458: Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview)
...
Reviewed-by: jlahoda, mcimadamore, vromero, rriggs, alanb, mchung
2023-11-30 12:49:49 +00:00
Aggelos Biboudis
c9d23c3940
8315532: Compiler Implementation for Unnamed Variables & Patterns
...
8317221: Implementation for javax.lang.model for Unnamed Variables & Patterns
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Gavin Bierman <gbierman@openjdk.org>
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: jlahoda, mcimadamore
2023-10-30 10:28:48 +00:00
Jonathan Gibbons
3ff5a781db
8317693: Unused parameter to Tokens.Token.comment method
...
Reviewed-by: iris, jlahoda
2023-10-09 17:53:57 +00:00
Jan Lahoda
84425a6290
8315452: Erroneous AST missing modifiers for partial input
...
Reviewed-by: vromero
2023-09-04 09:14:16 +00:00
Jan Lahoda
a1115a7a39
8312204: unexpected else with statement causes compiler crash
...
Reviewed-by: vromero
2023-08-08 09:28:21 +00:00
Jan Lahoda
1c9691b1f7
8312093: Incorrect javadoc comment text
...
Reviewed-by: jlaskey
2023-07-17 06:43:16 +00:00
Archie Cobbs
a08352f621
8305671: javac rejects semicolons in compilation units with no imports
...
Reviewed-by: vromero
2023-06-26 19:05:00 +00:00
Jan Lahoda
4ca548fe74
8310326: Incorrect position of the synthetic unnamed class
...
Reviewed-by: jlaskey
2023-06-20 10:34:52 +00:00
Archie Cobbs
bcc4d36857
8309511: Regression test ExtraImportSemicolon.java refers to the wrong bug
...
Reviewed-by: vromero
2023-06-16 22:49:22 +00:00
Jan Lahoda
eaa80ad08c
8300543: Compiler Implementation for Pattern Matching for switch
...
8300545: Compiler Implementation for Record Patterns
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, mcimadamore
2023-05-22 04:24:06 +00:00
Jim Laskey
4aa65cbeef
8285932: Implementation of JEP 430 String Templates (Preview)
...
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Archie L. Cobbs
4b8f7db6be
8027682: javac wrongly accepts semicolons in package and import decls
...
Reviewed-by: vromero
2023-03-23 16:04:35 +00:00
Jan Lahoda
63d4afbeb1
8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
...
Reviewed-by: vromero, darcy
2023-03-23 08:35:25 +00:00
Archie L. Cobbs
55e6bb6b85
8302685: Some javac unit tests aren't reliably closing open files
...
Reviewed-by: darcy, vromero
2023-02-27 16:21:57 +00:00
Archie L. Cobbs
07fb4f9a0b
7167356: (javac) investigate failing tests in JavacParserTest
...
Reviewed-by: vromero
2023-02-06 20:28:08 +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
95ec2eaca3
8293897: Synthetic final modifier is part of the AST for a try-with-resource resource
...
Reviewed-by: sundar
2022-09-21 12:29:40 +00:00
Joe Darcy
2d18dda3f2
8173605: Remove support for source and target 1.7 option in javac
...
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Angelos Bimpoudis
2b13341500
8036019: Insufficient alternatives listed in some errors produced by the parser
...
Reviewed-by: vromero
2022-01-24 15:09:17 +00:00
Jan Lahoda
0c2d00bff7
8275097: Wrong span of the 'default' tag
...
Reviewed-by: vromero
2021-11-08 13:21:40 +00:00
Jan Lahoda
3215dbc8b8
8271928: ErroneousTree with start position -1
...
Reviewed-by: jlaskey, vromero
2021-08-11 08:54:20 +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
f632254943
8267221: jshell feedback is incorrect when creating method with array varargs parameter
...
Reviewed-by: vromero
2021-05-26 11:12:22 +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
Guoxiong Li
657f103937
8057543: Replace javac's Filter with Predicate (and lambdas)
...
Reviewed-by: mcimadamore
2021-04-22 16:44:29 +00:00
Jan Lahoda
b3c8a52803
8259050: Error recovery in lexer could be improved
...
Reviewed-by: vromero
2021-01-27 11:00:12 +00:00
Guoxiong Li
8435f0daf2
8258525: Some existing tests should use /nodynamiccopyright/ instead of the standard header
...
Reviewed-by: jjg
2020-12-30 17:20:54 +00:00
Jan Lahoda
d0c526513d
8256149: Weird AST structure for incomplete member select
...
Reviewed-by: vromero
2020-12-08 13:09:15 +00:00
Jan Lahoda
51ac37686c
8256411: Based anonymous classes have a weird end position
...
Reviewed-by: vromero
2020-12-08 08:38:24 +00:00
Vicente Romero
8bde2f4e3d
8255013: implement Record Classes as a standard feature in Java, follow-up
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: jlahoda
2020-10-28 17:18:46 +00:00
Vicente Romero
1da28de82f
8255009: delta apply fixes for JDK-8246774 and JDK-8253455, pushed too soon
...
Reviewed-by: jlahoda
2020-10-19 15:55:54 +00:00
Vicente Romero
c17d58516f
8246774: implement Record Classes as a standard feature in Java
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coleenp, jlahoda, sspitsyn, chegar
2020-10-18 18:54:33 +00:00
Jan Lahoda
d5be82948b
8253770: Test tools/javac/parser/JavacParserTest.java fails on Windows after JDK-8253584
...
Reviewed-by: vromero
2020-09-29 14:29:28 +00:00
Jan Lahoda
86491a5f6b
8253584: Redunant errors for partial member selects
...
Reviewed-by: vromero
2020-09-29 10:11:08 +00:00
Jan Lahoda
235ef8e6df
8252458: Test tools/javac/parser/JavacParserTest.java fails on Windows after JDK-8237041
...
Reviewed-by: vromero
2020-08-27 20:20:39 +02:00
Jan Lahoda
0504064717
8237041: AssertionError in parsing
...
Avoid parser crash for deeply nested classes without closing braces, improve error recovery for classes without an opening brace.
Reviewed-by: vromero
2020-08-27 16:15:11 +02:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
Liam Miller-Cushon
25642dd303
8035787: SourcePositions are wrong for Strings concatenated with '+' operator
...
Reviewed-by: jlahoda
2020-04-06 15:40:16 -07:00
Jan Lahoda
0c9983887d
8228451: NPE in Attr.java when -XDshould-stop.ifError=FLOW
...
Avoiding parsing of compound assignment as a type.
Reviewed-by: jjg, vromero
2020-03-04 13:43:27 +01:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Jan Lahoda
29852ecd80
8232684: Make switch expressions final
...
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Jan Lahoda
36ae680f2a
8228647: Broken enum produce inconvenient errors and AST
...
Improving error recovery for misplace members in enums.
Reviewed-by: vromero
2019-08-13 10:27:33 +02:00
Jan Lahoda
b34b2d993c
8223305: Compiler support for Switch Expressions
...
Reviewed-by: mcimadamore, vromero
2019-06-10 05:09:52 +02: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
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
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
Jan Lahoda
b3b644438e
8206986: Compiler support for Switch Expressions (Preview)
...
8207405: Compiler Tree API support for Switch Expressions (Preview)
Support for switch expression, switch with rules and multiple constants for cases.
Reviewed-by: jjg, mcimadamore, vromero
2018-08-29 09:36:17 +02:00
Jan Lahoda
eaf0364068
8205418: Assorted improvements to source code model
...
Improving tree positions, better error recovery, fixing Trees.getScope for possibly erroneous lambdas.
Reviewed-by: jjg, mcimadamore, vromero
2018-06-29 10:41:10 +02:00
Jan Lahoda
152488eeee
8205913: Inconsistent source code model
...
Ensuring variable declarations have non-null modifiers and names.
Reviewed-by: mcimadamore
2018-06-28 10:05:43 +02:00
Vicente Romero
4b6ab35c85
8198479: JDK build is broken by 8194892
...
Reviewed-by: sundar
2018-02-21 00:29:04 -05:00