2117 Commits

Author SHA1 Message Date
Archie L. Cobbs
0ef67a45e0 Minor cleanups. 2025-08-30 14:01:58 -05:00
Archie L. Cobbs
c6aacb9fa5 Add OPTIONS, PATH, and SUPPRESSION to the regression test. 2025-08-29 16:42:44 -05:00
Archie L. Cobbs
70b92c567e Minor regression test cleanups. 2025-08-29 16:39:46 -05:00
Archie L. Cobbs
9db0108803 Remove unnecessary field LintCategory.suppressionTracking. 2025-08-29 10:46:21 -05:00
Archie L. Cobbs
5c2e51877c Merge branch 'master' into JDK-8344159 to fix conflicts. 2025-08-20 10:28:39 -05:00
Archie Cobbs
3e60ab51fe 8348611: Eliminate DeferredLintHandler and emit warnings after attribution
8224228: No way to locally suppress lint warnings in parser/tokenizer or preview features
8353758: Missing calls to Log.useSource() in JavacTrees

Reviewed-by: mcimadamore, vromero, jlahoda
2025-08-20 15:04:48 +00:00
Hannes Wallnöfer
908f3c9697 8356411: Comment tree not reporting correct position for label
Reviewed-by: liach
2025-08-20 08:38:06 +00:00
Hannes Wallnöfer
0755477c9a 8342705: Add dark mode for docs
Reviewed-by: liach
2025-08-19 16:01:12 +00:00
Pasam Soujanya
6e91ccd1c3 8365305: The ARIA role ‘contentinfo’ is not valid for the element <footer>
Reviewed-by: hannesw
2025-08-18 09:37:58 +00:00
Jan Lahoda
a6be228642 8365314: javac fails with an exception for erroneous source
Reviewed-by: vromero
2025-08-14 07:04:40 +00:00
Jan Lahoda
c22e01d776 8341342: Elements.getAllModuleElements() does not work properly before JavacTask.analyze()
Reviewed-by: vromero, liach
2025-08-14 07:02:08 +00:00
Jan Lahoda
72e22b4de5 8362885: A more formal way to mark javac's Flags that belong to a specific Symbol type only
Reviewed-by: ihse, liach, vromero, mcimadamore, erikj
2025-08-13 08:07:45 +00:00
Archie L. Cobbs
86bc13d5a7 Merge branch 'JDK-8348611' into JDK-8344159 2025-08-11 14:19:27 -05:00
Archie L. Cobbs
18eaa8ef4e Merge branch 'master' into JDK-8348611 to fix conflict. 2025-08-11 14:18:34 -05:00
Jan Lahoda
8b5bb01355 8364987: javac fails with an exception when looking for diamond creation
Reviewed-by: vromero
2025-08-11 10:28:59 +00:00
David Beaumont
0ceb366dc2 8356645: Javac should utilize new ZIP file system read-only access mode
Reviewed-by: jlahoda
2025-08-06 08:55:47 +00:00
Chen Liang
1a206d2a6c 8364545: tools/javac/launcher/SourceLauncherTest.java fails frequently
Reviewed-by: cstein, jpai
2025-08-03 13:23:43 +00:00
Christian Stein
8ac4a88f3c 8362237: IllegalArgumentException in the launcher when exception without stack trace is thrown
Reviewed-by: kcr, vromero
2025-08-01 11:01:56 +00:00
Hannes Wallnöfer
d80b5c8728 8361316: javadoc tool fails with an exception for an inheritdoc on throws clause of a constructor
Reviewed-by: nbenalla, liach
2025-08-01 08:39:29 +00:00
Archie L. Cobbs
a76e2e3454 Merge branch 'JDK-8348611' into JDK-8344159. 2025-07-30 18:50:25 -05:00
Archie L. Cobbs
f3f63f9522 Merge branch 'master' into JDK-8348611 2025-07-28 12:06:12 -05:00
Kevin Rushforth
594c080b2b 8359760: Remove the jdk.jsobject module
Reviewed-by: rriggs, iris, alanb
2025-07-23 15:46:47 +00:00
Archie L. Cobbs
d7476ee731 Merge branch 'JDK-8348611' into JDK-8344159 2025-07-20 17:17:00 -05:00
Archie L. Cobbs
c9b0d1050a Merge branch 'master' into JDK-8348611 to fix conflicts. 2025-07-17 19:55:38 -06:00
Archie L. Cobbs
9432be0deb Merge branch 'master' into JDK-8348611 to fix conflicts. 2025-07-17 12:26:50 -06:00
Hannes Wallnöfer
365660e667 8356975: Provide alternative way to generate preview API docs
8355933: Change section title for permanent APIs affected by preview features

Reviewed-by: liach
2025-07-17 13:45:24 +00:00
Aggelos Biboudis
5e4a2ead71 8357653: Inner classes of type parameters emitted as raw types in signatures
8357472: NPE in Types.containsType for type variable used as a qualifier

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero, liach
2025-07-16 10:52:26 +00:00
Maurizio Cimadamore
b787ad6f69 8361401: Warnings for use of Sun APIs should not be mandatory
Reviewed-by: jlahoda, vromero
2025-07-16 09:55:08 +00:00
Jan Lahoda
40d159d4a9 8362116: System.in.read() etc. don't accept input once immediate Ctrl+D pressed in JShell
Reviewed-by: liach, cstein
2025-07-15 06:13:45 +00:00
Vicente Romero
80662a485a 8361499: Intersection type cast causes javac crash with -Xjcov
Reviewed-by: mcimadamore
2025-07-10 10:38:31 +00:00
Chen Liang
d886ae12a2 8357185: Redundant local variables with unconditionally matching primitive patterns
Reviewed-by: jlahoda, abimpoudis
2025-07-09 12:14:14 +00:00
Jan Lahoda
853319439e 8361570: Incorrect 'sealed is not allowed here' compile-time error
Reviewed-by: mcimadamore, vromero
2025-07-08 14:33:14 +00:00
Jan Lahoda
0bd2f9cba2 8361445: javac crashes on unresolvable constant in @SuppressWarnings
Reviewed-by: asotona, liach
2025-07-08 12:04:08 +00:00
Maurizio Cimadamore
1934bd8d2c 8361481: Flexible Constructor Bodies generates a compilation error when compiling a user supplied java.lang.Object class
Reviewed-by: vromero, liach, jlahoda
2025-07-08 10:38:59 +00:00
Vicente Romero
05c9eec8d0 8361214: An anonymous class is erroneously being classify as an abstract class
Reviewed-by: liach, mcimadamore
2025-07-07 14:56:53 +00:00
Christian Stein
9449fea2cd 8358552: EndOfFileException in System.in.read() and IO.readln() etc. in JShell
Reviewed-by: jlahoda
2025-07-07 08:59:50 +00:00
Nizar Benalla
f2d2eef988 8177100: APIs duplicated in JavaDoc
Reviewed-by: liach, hannesw
2025-07-04 15:10:22 +00:00
Archie L. Cobbs
a0d489596d Merge branch 'JDK-8348611' into JDK-8344159 2025-07-03 16:06:42 -05:00
Chen Liang
566279af49 8360022: ClassRefDupInConstantPoolTest.java fails when running in repeat
Reviewed-by: vromero
2025-07-03 20:49:05 +00:00
Archie L. Cobbs
ec02990aaf Merge branch 'master' into JDK-8348611 to fix conflicts. 2025-07-03 13:31:24 -05:00
Jan Lahoda
fd13e1ce98 8358801: javac produces class that does not pass verifier.
Reviewed-by: mcimadamore, liach
2025-07-03 07:17:59 +00:00
Archie L. Cobbs
37a9843827 Merge branch 'JDK-8348611' into JDK-8344159 to fix conflicts. 2025-07-01 12:15:46 -05:00
Archie L. Cobbs
f38320588c Merge branch 'master' into JDK-8348611 to fix conflicts. 2025-06-28 12:48:20 -05:00
Archie Cobbs
3525a40f39 8359596: Behavior change when both -Xlint:options and -Xlint:-options flags are given
Reviewed-by: mcimadamore, uschindler
2025-06-27 18:25:27 +00:00
Hannes Wallnöfer
9a726df373 8359024: Accessibility bugs in API documentation
Reviewed-by: vyazici, liach
2025-06-24 15:48:31 +00:00
Archie L. Cobbs
0a3b5b4d2d Merge branch 'JDK-8348611' into JDK-8344159 2025-06-18 16:25:00 -05:00
Archie L. Cobbs
34ab5edecf Merge branch 'JDK-8359596' into JDK-8348611 2025-06-18 16:22:53 -05:00
Archie L. Cobbs
9e788319c5 Ensure that "-Xlint:none" still works for the affected warnings.
The extra checks for "-Xlint:none" are needed now because of JDK-8352612,
which changed the behavior of "-Xlint:none" to no longer imply "-nowarn",
which allowed the affected warnings to get away with skipping that check.
2025-06-18 16:06:32 -05:00
Archie L. Cobbs
fa34f6f61c Merge branch 'JDK-8348611' into JDK-8344159 2025-06-18 14:24:06 -05:00
Archie L. Cobbs
38febc6b17 Merge branch 'JDK-8359596' into JDK-8348611 2025-06-18 12:58:00 -05:00