Jan Lahoda
84e8787d1f
8367530: The exhaustiveness errors could be improved
...
Reviewed-by: vromero, mcimadamore
2026-02-04 11:03:56 +00:00
Liam Miller-Cushon
e8eb218ca2
8374643: Fix reference to implMethodKind in LambdaToMethod debug printf statement
...
Reviewed-by: vromero, liach
2026-01-22 10:05:05 +00:00
Sergey Bylokhov
481ef1de7a
8374352: Update copyright year to 2025 for test/langtools/tools/javac/ in files where it was missed
...
Reviewed-by: aivanov
2025-12-31 17:53:43 +00:00
Archie Cobbs
bc928c814b
5038439: Warning message for literal shift amounts outside the canonical domain
...
Reviewed-by: darcy, jlahoda
2025-11-14 23:53:31 +00:00
Jan Lahoda
205a163a90
8340840: jshell ClassFormatError when making inner class static
...
8368999: jshell crash when existing sealed class is updated to also be abstract
Reviewed-by: mcimadamore, asotona, liach
2025-11-07 09:06:51 +00:00
Archie Cobbs
a5864582da
8155591: Misleading warning when not overriding close method in interface extending AutoCloseable
...
Reviewed-by: jlahoda
2025-11-06 15:28:01 +00:00
Aggelos Biboudis
50a7755fa4
8347530: Improve error message with invalid permits clauses
...
Reviewed-by: jlahoda
2025-05-21 06:44:54 +00:00
Vicente Romero
637e9d16dd
8354556: Expand value-based class warnings to java.lang.ref API
...
Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda
2025-05-19 22:47:13 +00:00
Jan Lahoda
03dca0323d
8354908: javac mishandles supplementary character in character literal
...
Reviewed-by: naoto, vromero
2025-05-13 06:16:34 +00:00
Maurizio Cimadamore
c6ffacb575
8344703: Compiler Implementation for Flexible Constructor Bodies
...
Reviewed-by: vromero, liach, jlahoda
2025-05-08 15:14:35 +00:00
Vicente Romero
56468c42be
8322810: Lambda expression types can't be classes
...
Reviewed-by: mcimadamore
2025-05-02 20:44:22 +00:00
Jan Lahoda
d29700cc80
8344706: Implement JEP 512: Compact Source Files and Instance Main Methods
...
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Reviewed-by: liach, cstein, vromero, naoto
2025-05-02 06:10:48 +00:00
Jan Lahoda
0a697f6ff4
8344708: Implement JEP 511: Module Import Declarations
...
Reviewed-by: mcimadamore, vromero, alanb
2025-05-01 07:42:38 +00:00
Jan Lahoda
bb93f67ea8
8347646: module-info classfile missing the preview flag
...
Reviewed-by: asotona
2025-01-14 10:23:32 +00:00
Magnus Ihse Bursie
f7f07b94c5
8345804: Update copyright year to 2024 for langtools in files where it was missed
...
Reviewed-by: rgiulietti, jlahoda
2024-12-12 12:06:27 +00:00
Chen Liang
4966419550
8334733: Remove obsolete @enablePreview from tests after JDK-8334714
...
Reviewed-by: mchung, asotona
2024-12-06 14:25:03 +00:00
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
Jan Lahoda
1e97c1c913
8335989: Implement JEP 494: Module Import Declarations (Second Preview)
...
Reviewed-by: vromero, abimpoudis, mcimadamore, alanb
2024-11-14 06:14:33 +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
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
612b6896d2
8043226: Better diagnostics for non-applicable type annotations
...
Reviewed-by: vromero
2024-06-04 17:18:53 +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
Archie Cobbs
87a06b6ce4
8325805: Compiler Implementation for Flexible Constructor Bodies (Second Preview)
...
Reviewed-by: vromero, jlahoda
2024-05-28 13:15:20 +00:00
Pavel Rappo
c099f14f07
8305457: Implement java.io.IO
...
Reviewed-by: naoto, smarks, jpai, jlahoda
2024-05-24 13:37:14 +00:00
Jan Lahoda
f2c4a41304
8328481: Implement JEP 476: Module Import Declarations (Preview)
...
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Reviewed-by: mcimadamore, vromero
2024-05-06 05:49:28 +00:00
Jonathan Gibbons
a920af233a
8303689: javac -Xlint could/should report on "dangling" doc comments
...
Reviewed-by: vromero, ihse, prr
2024-04-26 19:47:06 +00:00
Maurizio Cimadamore
03e84178eb
8329948: Remove string template feature
...
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Joe Darcy
a293bdff91
8330197: Make javac/diags/example release agnostic
...
Reviewed-by: jlahoda
2024-04-15 15:11:53 +00:00
Jan Lahoda
8b70b8d85a
8325440: Confusing error reported for octal literals with wrong digits
...
Reviewed-by: vromero
2024-02-09 11:51:05 +00:00
Aggelos Biboudis
1733d2ea24
8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview)
...
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: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, jlahoda
2024-01-31 14:18:13 +00:00
Joe Darcy
3edc24a71d
8321073: Defer policy of disabling annotation processing by default
...
Reviewed-by: vromero, jlahoda, mcimadamore
2023-12-06 18:36:26 +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
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
Jan Lahoda
65dfcae6d6
8308399: Recommend --release when -source and -target are misused
...
Reviewed-by: vromero
2023-11-29 12:27:54 +00:00
Archie Cobbs
12e983a72e
8194743: Compiler implementation for Statements before super()
...
Reviewed-by: vromero, jwaters, mcimadamore
2023-11-27 17:26:52 +00:00
Jim Laskey
9902d2eb17
8315457: Implement JEP 459: String Templates (Second Preview)
...
Reviewed-by: jlahoda, alanb, vromero
2023-11-17 12:53: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
Joe Darcy
dc4bc4f084
8306819: Consider disabling the compiler's default active annotation processing
...
Reviewed-by: vromero
2023-10-06 21:45:58 +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
Jan Lahoda
cc2a75e11c
8312619: Strange error message when switching over long
...
Reviewed-by: vromero
2023-07-26 10:35:15 +00:00
Joe Darcy
61ab27087e
8310835: Address gaps in -Xlint:serial checks
...
Reviewed-by: rriggs, jjg
2023-07-20 01:10:46 +00:00
Joe Darcy
3df36c4f10
8310061: Note if implicit annotation processing is being used
...
Reviewed-by: briangoetz, vromero, jjg
2023-06-28 21:00:28 +00:00
Jim Laskey
98b53c06cf
8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
...
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Jan Lahoda
05fb6c6648
8309336: Incorrect switch in enum not reported properly
...
Reviewed-by: vromero
2023-06-05 06:25:00 +00:00
Aggelos Biboudis
8007599756
8309093: Underscore with brackets
...
Reviewed-by: jlahoda
2023-06-02 06:14:57 +00:00
Aggelos Biboudis
80d7de7074
8305582: Compiler crash when compiling record patterns with var
...
Reviewed-by: vromero, jlahoda
2023-05-23 11:18:55 +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
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
Joe Darcy
29b8242e07
8307954: Update string template regression tests to be robust on release updates
...
Reviewed-by: jlaskey
2023-05-11 18:22:10 +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