Maurizio Cimadamore
5b9932f8f3
8338288: Compiler Implementation for Flexible Constructor Bodies (Third Preview)
...
8322882: Null pointer error when compiling Static initializer in a local class
8334248: Invalid error for early construction local class constructor method reference
8330037: Compiler produces invalid bytecode for method class creation from static method
Reviewed-by: jlahoda, vromero
2024-11-15 10:07:18 +00:00
Aggelos Biboudis
895a7b64f0
8342967: Lambda deduplication fails with non-metafactory BSMs and mismatched local variables names
...
Reviewed-by: mcimadamore
2024-11-04 12:27:12 +00:00
Maurizio Cimadamore
8a4ea09fa2
8336492: Regression in lambda serialization
...
Reviewed-by: vromero
2024-09-13 12:04:31 +00:00
Vicente Romero
61d1dc5953
8334466: Ambiguous method call with generics may cause FunctionDescriptorLookupError
...
Reviewed-by: jlahoda
2024-08-12 13:52:57 +00:00
Liam Miller-Cushon
31a85f1744
8336491: Unnecessary boxing conversions in void-returning lambdas
...
Reviewed-by: mcimadamore
2024-07-22 17:25:42 +00:00
Liam Miller-Cushon
939fe000a9
8336786: VerifyError with lambda capture and enclosing instance references
...
Reviewed-by: mcimadamore
2024-07-19 21:52:45 +00:00
Hannes Greule
3796fdfced
8328536: javac - crash on unknown type referenced in yield statement
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jlahoda
2024-06-26 23:17:32 +00:00
Maurizio Cimadamore
4ce8822b6c
8334037: Local class creation in lambda in pre-construction context crashes javac
...
8333313: NullPointerException in lambda instantiating an inner local class in prologue
8333766: Stack overflow with anonymous class in super() parameter
8334679: Wrong bug number in regression test for JDK-8334252
Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda, vromero
2024-06-26 09:12:02 +00:00
Liam Miller-Cushon
7564949a56
8291643: Consider omitting type annotations from type error diagnostics
...
Reviewed-by: vromero
2024-06-05 19:10:13 +00:00
Adam Sotona
cfdc64fcb4
8331291: java.lang.classfile.Attributes class performs a lot of static initializations
...
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Chen Liang
beeffd4671
8332109: Convert remaining tests using com.sun.tools.classfile to ClassFile API
...
Reviewed-by: asotona
2024-05-17 12:24:39 +00:00
Jan Lahoda
5b6b514441
8325362: Allow to create a simple in-memory input JavaFileObject
...
Reviewed-by: jlaskey, darcy
2024-03-19 09:35:25 +00:00
Vicente Romero
aaaae3ee3c
8321207: javac is not accepting correct code
...
Reviewed-by: jlahoda
2023-12-06 02:36:02 +00:00
Adam Sotona
2b00ac0d02
8308753: Class-File API transition to Preview
...
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Vicente Romero
d6aa7c8ba0
8314621: ClassNotFoundException due to lambda reference to elided anonymous inner class
...
Reviewed-by: jlahoda
2023-11-16 16:49:26 +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
Vicente Romero
e2720987b9
8318160: javac does not reject private method reference with type-variable receiver
...
Reviewed-by: mcimadamore
2023-10-24 14:45:10 +00:00
Qing Xiao
741ae06c55
8313613: Use JUnit in langtools/lib tests
...
Reviewed-by: cstein, asotona
2023-10-16 17:14:34 +00:00
Adam Sotona
ca747f09b6
8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing
...
Reviewed-by: briangoetz
2023-09-14 18:30:39 +00:00
Qing Xiao
8f7e29b2cd
8313422: test/langtools/tools/javac 144 test classes uses com.sun.tools.classfile library
...
Reviewed-by: asotona
2023-09-07 15:37:25 +00:00
Qing Xiao
380418fad0
8295058: test/langtools/tools/javac 116 test classes uses com.sun.tools.classfile library
...
Reviewed-by: asotona
2023-08-07 15:49:11 +00:00
Aggelos Biboudis
8007599756
8309093: Underscore with brackets
...
Reviewed-by: jlahoda
2023-06-02 06:14:57 +00:00
Aggelos Biboudis
8aa50288a1
8302344: Compiler Implementation for Unnamed patterns and variables (Preview)
...
8307444: java.lang.AssertionError when using unnamed patterns
8307482: Compiler should accept var _ in nested patterns in switch case
8307007: Implementation for javax.lang.model for unnamed variables (Preview)
8308312: Compiler should fail when a local variable declaration does not include an Identifier and does not have an initializer
8308309: Compiler should accept mixed masked and unmasked variables in lambda parameters
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, darcy
2023-05-22 08:52:36 +00:00
Archie Cobbs
d437c61f5b
8305672: Surprising definite assignment error after JDK-8043179
...
Reviewed-by: kcr, vromero
2023-05-01 13:23:37 +00:00
Archie L. Cobbs
c00d0885ae
8043179: Lambda expression can mutate final field
...
Reviewed-by: vromero
2023-03-23 15:59:51 +00:00
Archie L. Cobbs
91f407d6fe
8029301: Confusing error message for array creation method reference
...
Reviewed-by: vromero
2023-03-22 21:00:27 +00:00
Archie L. Cobbs
1e3c9fd67e
8026369: javac potentially ambiguous overload warning needs an improved scheme
...
Reviewed-by: vromero
2023-02-28 03:33:14 +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
Vicente Romero
ca73f7e80f
8301374: NullPointerException in MemberEnter.checkReceiver
...
Reviewed-by: jlahoda
2023-02-14 18:59:37 +00:00
Jesper Wilhelmsson
81d523d382
Merge
2023-01-24 22:28:07 +00:00
Jan Lahoda
a3ed7e94a2
8300623: Lambda deserialization regression involving Enum method reference
...
Reviewed-by: mcimadamore, vromero
2023-01-24 06:40:06 +00:00
Archie L. Cobbs
382fe51b6d
8163229: several regression tests have a main method that is never executed
...
Reviewed-by: vromero
2023-01-17 04:43:40 +00:00
Jan Lahoda
636976ada8
8299849: Revert JDK-8294461: wrong effectively final determination by javac
...
Reviewed-by: vromero
2023-01-11 07:52:18 +00:00
Jaikiran Pai
e10778acce
8297695: Fix typos in test/langtools files
...
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: prappo, jjg, iris
2022-11-30 00:42:40 +00:00
Srikanth Adayapalam
544e317225
8059632: Method reference compilation uses incorrect qualifying type
...
Reviewed-by: mcimadamore
2022-11-21 03:02:29 +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
Archie L. Cobbs
b8ad6cd98a
8294461: wrong effectively final determination by javac
...
Reviewed-by: vromero
2022-10-27 15:58:46 +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
Magnus Ihse Bursie
d5a1521fde
8295470: Update openjdk.java.net => openjdk.org URLs in test code
...
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +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
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
Joe Darcy
cc2861a993
8290901: Reduce use of -source in langtools tests
...
Reviewed-by: jjg
2022-07-29 17:35:22 +00:00
Jan Lahoda
e9bddc18ab
8262889: Compiler implementation for Record Patterns
...
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-05-25 11:56:24 +00:00
Jan Lahoda
c0d51d42d9
8282080: Lambda deserialization fails for Object method references on interfaces
...
Reviewed-by: vromero, mcimadamore
2022-05-17 13:48:45 +00:00
Vicente Romero
9e3f68d8f4
8279290: symbol not found error, implicit lambdas and diamond constructor invocations
...
Reviewed-by: jlahoda
2022-01-18 15:50:22 +00:00
Liam Miller-Cushon
d7c283a081
8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
...
Reviewed-by: jlahoda
2021-12-07 18:44:39 +00:00
Sergey Bylokhov
29e552c03a
8272358: Some tests may fail when executed with other locales than the US
...
Reviewed-by: aivanov
2021-11-17 22:21:38 +00:00
Vicente Romero
75d987a0dd
8262095: NPE in Flow$FlowAnalyzer.visitApply: Cannot invoke getThrownTypes because tree.meth.type is null
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: jlahoda
2021-08-31 15:40:17 +00:00
Vicente Romero
c962e6ec0b
8261006: 'super' qualified method references cannot occur in a static context
...
Reviewed-by: sadayapalam
2021-07-15 15:33:23 +00:00
Vicente Romero
7e96318a1f
8254571: Erroneous generic type inference in a lambda expression with a checked exception
...
Reviewed-by: jlahoda, mcimadamore
2021-06-23 17:13:09 +00:00