Guoxiong Li
2b02b6f513
8274942: AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)
...
Reviewed-by: vromero
2021-11-03 01:57:52 +00:00
Guoxiong Li
a9188f237e
8268894: forged ASTs can provoke an AIOOBE at com.sun.tools.javac.jvm.ClassWriter::writePosition
...
Reviewed-by: vromero
2021-08-29 07:26:08 +00:00
Liam Miller-Cushon
60c11fef00
8261088: Repeatable annotations without @Target cannot have containers that target module declarations
...
Reviewed-by: jfranck
2021-07-28 18:21:19 +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
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
Vicente Romero
81f39ed3e0
8261205: AssertionError: Cannot add metadata to an intersection type
...
Reviewed-by: mcimadamore
2021-05-20 17:53:00 +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
23edb6f6b2
8236490: Compiler bug relating to @NonNull annotation
...
Reviewed-by: vromero, jfranck
2021-01-26 08:57:20 +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
Guoxiong Li
41f312eb64
8254023: A module declaration is not allowed to be a target of an annotation that lacks an @Target meta-annotation
...
Reviewed-by: jfranck, vromero
2020-12-17 08:06:35 +00:00
Jan Lahoda
18bc95ba51
8250625: Compiler implementation of Pattern Matching for instanceof (Final)
...
Reviewed-by: vromero
2020-11-05 08:01:33 +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
Adam Sotona
954db3353e
8241312: missing code coverage for records
...
Added tests for better coverage of records
Reviewed-by: vromero
2020-05-27 10:16:19 -04:00
Vicente Romero
f819e417f9
8235339: test TargetAnnoCombo.java is failing after new target RECORD_COMPONENT was added
...
Reviewed-by: darcy
2020-03-14 17:08:25 -04:00
Jan Lahoda
2f45d46640
8237528: Inefficient compilation of Pattern Matching for instanceof
...
Avoiding unnecessary cast and comparison in type test pattern desugaring.
Reviewed-by: forax, mcimadamore
2020-01-29 10:37:22 +01:00
Vicente Romero
ff77d06f17
8236597: issues inferring type annotations on records
...
Reviewed-by: mcimadamore
2020-01-15 10:45:03 -05: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
229e0d1631
8231826: Implement javac changes for pattern matching for instanceof
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Gavin Bierman <gavin.bierman@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2019-11-27 09:00:01 +01: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
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
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
Liam Miller-Cushon
7f365fffbd
8214902: Pretty-printing marker annotations add unnecessary parenthesis
...
Reviewed-by: jjg
2018-12-05 11:31:20 -08:00
Srikanth Adayapalam
10d83827bc
8206325: AssertionError in TypeSymbol.getAnnotationTypeMetadata
...
Reviewed-by: mcimadamore
2018-11-30 10:37:48 +05:30
Jonathan Gibbons
73fa99ae86
8213263: fix legal headers in test/langtools
...
Reviewed-by: darcy
2018-11-01 14:32:55 -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
03597d010c
8206439: Remove javac -source/-target 6 from langtools regression tests
...
Reviewed-by: mcimadamore
2018-07-06 10:28:56 -07:00
Jan Lahoda
8afe86a2fe
8200166: Repeating annotations refering to to-be-generated classes don't work
...
Reviewed-by: jjg
2018-06-05 14:55:13 +02:00
Martin Buchholz
5c8c67c523
8200128: Fix some "annoations" typos
...
Reviewed-by: alanb
2018-04-05 09:36:01 -07:00
Vicente Romero
6a2e0a5a01
8198314: javac hidden options violate standard syntax for options
...
Reviewed-by: jjg
2018-04-03 23:58:52 -04:00
Liam Miller-Cushon
debaf13f38
8200301: deduplicate lambda methods
...
Reviewed-by: vromero, mcimadamore
2018-03-27 13:48:16 -04:00
Jan Lahoda
01509e5b5e
8194978: Javac produces dead code for try-with-resource
...
For try-with-resources, using simplified distinct close code for try body and catch clause, to avoid creating multiple copies of the full finally code.
Reviewed-by: mcimadamore
2018-03-22 15:28:33 +01:00
Maurizio Cimadamore
686d74f11e
8189749: Devise strategy for making source level checks more uniform
...
Create a 'feature' enum which is responsible for handling source version checks and related diagnostic generation
Reviewed-by: jjg, jlahoda
2017-12-04 17:54:49 +00:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00