Jan Lahoda
5e822c24bb
8334870: javac does not accept classfiles with certain permitted RuntimeVisibleParameterAnnotations and RuntimeInvisibleParameterAnnotations attributes
...
Reviewed-by: vromero
2024-09-10 06:13:36 +00:00
Pavel Rappo
88cccc14db
8339631: Fix block @jls and @jvms tags
...
Reviewed-by: liach, darcy, jjg
2024-09-09 12:06:21 +00:00
Jan Lahoda
a18d9d84cd
8326616: tools/javac/patterns/Exhaustiveness.java intermittently Timeout signalled after 480 seconds
...
Reviewed-by: abimpoudis
2024-09-09 05:34:09 +00:00
Jan Lahoda
b8727181f3
8338301: Error recovery and reporting should be improved for erroneous implicitly declared classes
...
Reviewed-by: cstein, vromero
2024-08-30 08:11:49 +00:00
Jan Lahoda
ff59532ddd
8338678: Erroneous parameterized type represented as <any>
...
Reviewed-by: vromero
2024-08-29 06:28:05 +00:00
Jan Lahoda
0b4a7d5342
8324859: Improve error recovery
...
Reviewed-by: mcimadamore
2024-08-29 06:25:27 +00:00
Jan Lahoda
fbe4f05636
8337976: Insufficient error recovery in parser for switch inside class body
...
Reviewed-by: vromero
2024-08-14 12:20:17 +00:00
Liam Miller-Cushon
9e282e5c96
8337998: CompletionFailure in getEnclosingType attaching type annotations
...
Reviewed-by: vromero
2024-08-13 15:05:49 +00:00
Liam Miller-Cushon
8d08314783
8337795: Type annotation attached to incorrect type during class reading
...
Reviewed-by: vromero
2024-08-12 17:15:39 +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
Damon Nguyen
e68df528f8
8337054: JDK 23 RDP2 L10n resource files update
...
Reviewed-by: naoto, jlu
2024-08-05 16:48:18 +00:00
Vicente Romero
cf0d9e0e52
8337037: compiler internal options are not printing the stacktrace after a compiler crash
...
Reviewed-by: mcimadamore
2024-07-25 17:03:45 +00:00
Vicente Romero
34ee06f511
8332850: javac crashes if container for repeatable annotation is not found
...
Reviewed-by: darcy
2024-07-25 13:41:32 +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
Aggelos Biboudis
c1fdc04ad7
8336781: Erroneous exhaustivity check with boolean switch
...
Reviewed-by: vromero
2024-07-22 10:29:34 +00:00
Christian Stein
ad498f57fc
8335896: Source launcher should set TCCL
...
Reviewed-by: alanb
2024-07-21 08:49:16 +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
Vicente Romero
245c086648
8332600: javac uses record components source position during compilation
...
Reviewed-by: jlahoda
2024-07-18 15:54:41 +00:00
Maurizio Cimadamore
9dfcd75ec4
8334121: Anonymous class capturing two enclosing instances fails to compile
...
Reviewed-by: jlahoda, vromero
2024-07-15 15:28:24 +00:00
Maurizio Cimadamore
4635531950
8335159: Move method reference to lambda desugaring before Lower
...
8336320: NullPointerException: Cannot invoke Type.getTag because type is null after JDK-8334037
Reviewed-by: jlahoda, vromero
2024-07-15 14:24:27 +00:00
Jan Lahoda
2b0adfc2de
8335817: javac AssertionError addLocalVar checkNull
...
Reviewed-by: vromero, mcimadamore
2024-07-15 11:26:33 +00:00
Jan Lahoda
559826c292
8332474: Tighten up ToolBox' JavacTask to not silently accept javac crash as a failure
...
Reviewed-by: vromero
2024-07-12 12:17:21 +00:00
Liam Miller-Cushon
9eb611e7f0
8334055: Unhelpful 'required: reference' diagnostics after JDK-8043226
...
Reviewed-by: vromero
2024-07-11 19:53:52 +00:00
Jan Lahoda
537d20afbf
8335766: Switch case with pattern matching and guard clause compiles inconsistently
...
Reviewed-by: abimpoudis
2024-07-10 09:55:56 +00:00
Liam Miller-Cushon
babf6df7d9
8334757: AssertionError: Missing type variable in where clause
...
Reviewed-by: jlahoda, vromero
2024-07-08 20:09:07 +00:00
Jorn Vernee
cec222e460
8317611: Add a tool like jdeprscan to find usage of restricted methods
...
Reviewed-by: alanb, ihse, mcimadamore, jlahoda, jwaters
2024-07-08 12:39:33 +00:00
Jan Lahoda
3e3f83f62c
8335385: javac crash on unattributed piece of AST
...
Reviewed-by: vromero
2024-07-04 08:36:56 +00:00
Evemose
f3b69da55a
8335136: Underscore as parameter name in one-parameter functional types fails to compile
...
Reviewed-by: jlahoda
2024-06-27 07:45:18 +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
Archie Cobbs
7b3a96d570
8334488: Improve error for illegal early access from nested class
...
Reviewed-by: mcimadamore
2024-06-19 10:45:34 +00:00
Archie Cobbs
e227c7e37d
8334258: Compiler erronousely allows access to instance variable in argument expression of a constructor invocation
...
Reviewed-by: mcimadamore
2024-06-18 23:23:39 +00:00
Archie Cobbs
d4c1373717
8334043: VerifyError when inner class is accessed in prologue
...
Reviewed-by: mcimadamore
2024-06-18 08:42:44 +00:00
Archie Cobbs
dae0bda9d0
8334252: Verifier error for lambda declared in early construction context
...
Reviewed-by: mcimadamore
2024-06-14 14:53:05 +00:00
Damon Nguyen
c4702ca8c0
8333827: JDK 23 RDP1 L10n resource files update
...
Reviewed-by: achung, jlu, naoto, joehw, prappo, cjplummer, asemenyuk, prr
2024-06-13 21:27:56 +00:00
Joe Darcy
75dc2f8518
8330182: Start of release updates for JDK 24
...
8330183: Add SourceVersion.RELEASE_24
8330184: Add source 24 and target 24 to javac
Reviewed-by: iris, vromero, asotona, dholmes
2024-06-06 16:01:57 +00:00
Jorn Vernee
02f240415c
8333560: -Xlint:restricted does not work with --release
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero, mcimadamore
2024-06-06 15:18:18 +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
Jan Lahoda
1f09467230
8327368: javac crash when computing exhaustiveness checks
...
Reviewed-by: vromero
2024-06-05 05:45:59 +00:00
Liam Miller-Cushon
612b6896d2
8043226: Better diagnostics for non-applicable type annotations
...
Reviewed-by: vromero
2024-06-04 17:18:53 +00:00
Jan Lahoda
8d3de45f4d
8325168: JShell should support Markdown comments
...
Reviewed-by: jjg
2024-06-04 11:54:49 +00:00
Vicente Romero
e650bdf465
8332507: compilation result depends on compilation order
...
Reviewed-by: mcimadamore
2024-05-31 17:34:51 +00:00
Christian Stein
681137cad2
8333131: Source launcher should work with service loader SPI
...
Reviewed-by: jjg
2024-05-31 15:02:55 +00:00
Jan Lahoda
32ee252c45
8333169: javac NullPointerException record.type
...
Reviewed-by: vromero
2024-05-31 13:14:44 +00:00
Aggelos Biboudis
778ad00af8
8308642: Unhelpful pattern switch error: illegal fall-through to a pattern
...
Reviewed-by: mcimadamore
2024-05-31 08:43:54 +00:00
Joe Darcy
79f49983d3
8321314: Reinstate disabling the compiler's default active annotation processing
...
Reviewed-by: vromero
2024-05-30 19:57:21 +00:00
Jan Lahoda
4acafb809c
8333107: javac fails with an exception when processing broken lambda
...
Reviewed-by: asotona
2024-05-30 13:53:27 +00:00
Jan Lahoda
9a72068ef0
8332230: jshell throws AssertionError when processing annotations
...
Reviewed-by: asotona
2024-05-30 06:02:31 +00:00
Jan Lahoda
66d9bfce29
8332725: Binding patterns with inferred type have erroneous node in the AST
...
Reviewed-by: asotona
2024-05-30 06:01:18 +00:00
Archie Cobbs
87a06b6ce4
8325805: Compiler Implementation for Flexible Constructor Bodies (Second Preview)
...
Reviewed-by: vromero, jlahoda
2024-05-28 13:15:20 +00:00