1262 Commits

Author SHA1 Message Date
Archie L. Cobbs
102beb5ece Merge branch 'master' into JDK-8348611 2025-05-07 12:09:10 -05:00
Nizar Benalla
606f2012b0 8174840: Elements.overrides does not check the return type of the methods
Co-authored-by: Pavel Rappo <prappo@openjdk.org>
Reviewed-by: liach, darcy
2025-05-05 21:52:25 +00:00
Archie Cobbs
ca7e4c4e05 8352612: No way to add back lint categories after "none"
Reviewed-by: mcimadamore
2025-05-05 20:40:45 +00:00
Archie L. Cobbs
81a25ca386 Merge branch 'master' into JDK-8348611 to fix conflicts. 2025-05-05 11:48:03 -05:00
Joe Darcy
6719b9214f 8356108: Update SourceVersion.RELEASE_25 description for JEPs 511 and 512
Reviewed-by: vromero, liach, iris, jlahoda
2025-05-05 15:42:19 +00:00
Jan Lahoda
a5f4366a7f 8353565: Javac throws "inconsistent stack types at join point" exception
Reviewed-by: vromero, liach, mcimadamore
2025-05-05 05:04:17 +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
Archie L. Cobbs
a356d884b2 Merge branch 'master' into JDK-8348611 to fix conflict. 2025-05-01 13:40:59 -05:00
Jan Lahoda
0a697f6ff4 8344708: Implement JEP 511: Module Import Declarations
Reviewed-by: mcimadamore, vromero, alanb
2025-05-01 07:42:38 +00:00
Chen Liang
24bc714d5e 8355956: Prepare javap for class file format aware access flag parsing
Reviewed-by: vromero
2025-04-30 21:55:57 +00:00
Liam Miller-Cushon
b5156bb16a 8355065: ConcurrentModificationException in RichDiagnosticFormatter
Reviewed-by: vromero
2025-04-29 14:32:38 +00:00
Archie L. Cobbs
ddb0d4ec04 Update copyrights. 2025-04-28 13:58:07 -05:00
Archie L. Cobbs
b8c3dcd0e4 Merge branch 'JDK-8355753' into JDK-8348611 2025-04-28 12:14:50 -05:00
Archie L. Cobbs
5ef9606fc8 Refactor ThisEscapeAnalyzer to correct bug in suppression logic. 2025-04-28 11:48:57 -05:00
Archie L. Cobbs
9394f7e8ce Merge branch 'master' into JDK-8348611 2025-04-24 16:20:40 -05:00
Jan Lahoda
7bfbb9a515 8348928: Check for case label validity are misbehaving when binding patterns with unnamed bindings are present
Reviewed-by: asotona, abimpoudis, vromero
2025-04-24 06:58:37 +00:00
Archie L. Cobbs
67ce8899a3 Merge branch 'JDK-8350212' into JDK-8348611 2025-04-23 10:05:25 -05:00
Archie L. Cobbs
5f003d1ca8 Update copyrights. 2025-04-23 10:03:08 -05:00
Chen Liang
0be3f163ed 8341608: jdeps in JDK 23 crashes when parsing signatures while jdeps in JDK 22 works fine
Reviewed-by: jpai, henryjen
2025-04-22 03:29:59 +00:00
Jan Lahoda
1ad869f844 8322706: AnnotationTypeMismatchException in javac with annotation processing
Reviewed-by: vromero
2025-04-16 11:43:42 +00:00
Archie L. Cobbs
fbca756419 Update regression test expected output after previous commit. 2025-04-11 16:32:23 -05:00
Archie L. Cobbs
4d870e0dd4 Revert unintentional change in the behavior of the "dangling-doc-comments" warning. 2025-04-11 16:16:49 -05:00
Archie L. Cobbs
f2bab529d2 Merge branch 'JDK-8354447' into JDK-8348611 2025-04-11 16:11:32 -05:00
Archie L. Cobbs
e67b47be0f Add test for retroactive @SuppressWarnings("dangling-doc-comments") behavior. 2025-04-11 14:50:27 -05:00
Archie L. Cobbs
7771061f78 Merge remote-tracking branch 'upstream/master' into JDK-8348611 2025-04-11 14:12:18 -05:00
Archie L. Cobbs
de2d3abe26 Initial prototype for JDK-8348611. 2025-04-10 14:07:13 -05:00
Archie L. Cobbs
0c98da7f0b Merge branch 'JDK-8350212' into JDK-8348611 2025-04-10 11:40:53 -05:00
Archie L. Cobbs
6852ed1bcb Merge branch 'JDK-8329951' into JDK-8348611 2025-04-10 11:40:21 -05:00
Archie Cobbs
e50af6db09 8354090: Refactor import warning suppression in Check.java
Reviewed-by: mcimadamore
2025-04-10 14:46:36 +00:00
Chen Liang
5c438c5e6b 8352748: Remove com.sun.tools.classfile from the JDK
Reviewed-by: ihse, jlahoda, vromero
2025-04-09 22:58:44 +00:00
Danish Nawab
5f2a604b63 8353840: JNativeScan should not abort for missing classes
Reviewed-by: jvernee, liach
2025-04-09 15:25:24 +00:00
Chen Liang
4dc9e58906 8310310: Migrate CreateSymbols tool in make/langtools to Classfile API
Reviewed-by: ihse, jlahoda
2025-04-09 14:51:15 +00:00
Archie L. Cobbs
c491643954 Bump copyright. 2025-04-08 20:21:36 -05:00
Archie L. Cobbs
0791ff7489 Refactor handling of DEPRECATION_ON_IMPORT via new flag Check.importSuppression. 2025-04-08 20:18:31 -05:00
Archie L. Cobbs
012702803f Refactoring/cleanup for handling of ending positions. 2025-04-08 14:44:30 -05:00
Hannes Wallnöfer
24ff96afe4 8352389: Remove incidental whitespace in pre/code content
Reviewed-by: liach
2025-04-08 18:45:53 +00:00
Jan Lahoda
26bb183787 8352621: MatchException from backwards incompatible change to switch expressions
Reviewed-by: abimpoudis
2025-04-07 11:56:53 +00:00
Liam Miller-Cushon
6b7b3247b1 8351431: Type annotations on new class creation expressions can't be retrieved
Reviewed-by: vromero
2025-04-03 16:09:08 +00:00
David Beaumont
bd74922157 8338675: javac shouldn't silently change .jar files on the classpath
Reviewed-by: jlahoda
2025-04-03 05:36:31 +00:00
Zihao Lin
c029220379 8352896: LambdaExpr02.java runs wrong test class
Reviewed-by: shade, jlahoda
2025-03-28 13:19:23 +00:00
Chen Liang
f5a0db43b7 8315447: Invalid Type Annotation attached to a method instead of a lambda
Reviewed-by: vromero
2025-03-25 19:01:22 +00:00
Chen Liang
60544a15d6 8164714: Constructor.newInstance creates instance of inner class with null outer class
Reviewed-by: vromero
2025-03-25 19:01:02 +00:00
Hannes Wallnöfer
a5d06a1876 8352249: Remove incidental whitespace in traditional doc comments
Reviewed-by: liach
2025-03-20 05:59:18 +00:00
Aleksey Shipilev
e3c29c9e6c 8351556: Optimize Location.locationFor/isModuleOrientedLocation
Reviewed-by: liach, jlahoda
2025-03-14 07:46:46 +00:00
Nizar Benalla
6b84bdef3b 8350007: Add usage message to the javadoc executable
Reviewed-by: hannesw
2025-03-10 16:15:23 +00:00
Archie Cobbs
b78043fdc6 8320220: Compilation of cyclic hierarchy causes infinite recursion
Reviewed-by: vromero, jlahoda
2025-02-25 19:39:21 +00:00
Archie L. Cobbs
daacc44c90 Fix bug where some warnings didn't have a source file position. 2025-02-18 17:06:54 -06:00
Archie L. Cobbs
e235228708 Add end position for variables coming from variableDeclaratorId(). 2025-02-17 21:41:19 -06:00
Archie L. Cobbs
4fcc61269b Track source end positions of declarations that support @SuppressWarnings. 2025-02-17 20:38:43 -06:00