Commit Graph

1585 Commits

Author SHA1 Message Date
Joe Darcy
c307391ab1 8307184: Incorrect/inconsistent specification and implementation for Elements.getDocComment
Reviewed-by: vromero, jjg
2023-08-09 21:17:10 +00:00
Pavel Rappo
593ba2fe47 8313693: Introduce an internal utility for the Damerau–Levenshtein distance calculation
Reviewed-by: jlahoda, jjg
2023-08-09 16:08:23 +00:00
Hannes Wallnöfer
52ec4bcb1b 8303056: Improve support for Unicode characters and digits in JavaDoc search
Reviewed-by: jjg
2023-08-09 09:50:21 +00:00
Hannes Wallnöfer
77e5739f60 8310118: Resource files should be moved to appropriate directories
Reviewed-by: jjg
2023-08-09 07:01:15 +00:00
Jan Lahoda
a1115a7a39 8312204: unexpected else with statement causes compiler crash
Reviewed-by: vromero
2023-08-08 09:28:21 +00:00
Christian Stein
9c6eb67e85 8313167: Update to use jtreg 7.3
Reviewed-by: jjg, iris
2023-08-07 16:09:23 +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
Jan Lahoda
c386091734 8312984: javac may crash on a record pattern with too few components
Reviewed-by: vromero
2023-08-03 08:37:15 +00:00
Thomas Stuefe
3212b64f8e 8313582: Problemlist failing test on linux x86
Reviewed-by: tschatzl
2023-08-03 08:32:13 +00:00
Jim Laskey
bc1d2eac9a 8312821: Javac accepts char literal as template
Reviewed-by: jlahoda
2023-08-02 21:01:44 +00:00
Jim Laskey
f14245b388 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jlahoda, mcimadamore, vromero
2023-08-02 00:47:20 +00:00
Qing Xiao
97b688340e 8295059: test/langtools/tools/javap 12 test classes use com.sun.tools.classfile library
Reviewed-by: asotona
2023-07-31 15:03:05 +00:00
Jonathan Gibbons
e2cb0bc6f1 8313204: Inconsistent order of sections in generated class documentation
Reviewed-by: hannesw, prappo
2023-07-28 17:05:37 +00:00
Hannes Wallnöfer
02a04731b1 8312445: Array types in annotation elements show square brackets twice
Reviewed-by: prappo
2023-07-26 13:04:39 +00:00
Jan Lahoda
cc2a75e11c 8312619: Strange error message when switching over long
Reviewed-by: vromero
2023-07-26 10:35:15 +00:00
Jan Lahoda
1f81e5b19e 8312229: Crash involving yield, switch and anonymous classes
Reviewed-by: vromero
2023-07-26 09:44:50 +00:00
Joe Darcy
cb82c954e3 8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies
Reviewed-by: jjg, jlahoda
2023-07-25 18:57:32 +00:00
Jonathan Gibbons
3c644dc586 8312044: Simplify toolkit Builder/Writer world
Reviewed-by: prappo
2023-07-21 18:51:06 +00:00
Joe Darcy
61ab27087e 8310835: Address gaps in -Xlint:serial checks
Reviewed-by: rriggs, jjg
2023-07-20 01:10:46 +00:00
Aggelos Biboudis
1fc726a8b3 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
2023-07-18 11:41:36 +00:00
Jan Lahoda
a4412166ec 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-17 08:19:51 +00:00
Jan Lahoda
1c9691b1f7 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey
2023-07-17 06:43:16 +00:00
Jan Lahoda
d1fa1a8686 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
2023-07-14 09:54:56 +00:00
Jan Lahoda
bbb7ce5137 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-14 08:21:48 +00:00
Matthias Baesken
25cbe85d6f 8310550: Adjust references to rt.jar
Reviewed-by: erikj, clanger
2023-07-07 06:57:23 +00:00
Hannes Wallnöfer
0741cd3289 8311264: JavaDoc index comparator is not transitive
Reviewed-by: jjg
2023-07-06 07:08:20 +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
Archie Cobbs
a08352f621 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
2023-06-26 19:05:00 +00:00
Joe Darcy
815ac6eeb3 8310907: Add missing file
Reviewed-by: jjg
2023-06-26 18:14:32 +00:00
Joe Darcy
289f218a32 8310861: Improve location reporting for javac serial lint warnings
Reviewed-by: jlahoda
2023-06-26 16:56:40 +00:00
Mandy Chung
556831d1bf 8310460: Remove jdeps -profile option
Reviewed-by: alanb
2023-06-23 17:03:02 +00:00
Jan Lahoda
01623f6a57 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
2023-06-21 09:16:12 +00:00
Jan Lahoda
a15db1a56c 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
2023-06-21 09:15:48 +00:00
Jan Lahoda
4ca548fe74 8310326: Incorrect position of the synthetic unnamed class
Reviewed-by: jlaskey
2023-06-20 10:34:52 +00:00
Jan Lahoda
79069c5e74 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
2023-06-20 07:02:49 +00:00
Archie Cobbs
bcc4d36857 8309511: Regression test ExtraImportSemicolon.java refers to the wrong bug
Reviewed-by: vromero
2023-06-16 22:49:22 +00:00
Liam Miller-Cushon
53abba3a5a 8309499: javac fails to report compiler.err.no.java.lang with annotation processing enabled
Co-authored-by: Paula Toth <paulatoth@google.com>
Reviewed-by: vromero
2023-06-16 16:43:22 +00:00
Hannes Wallnöfer
21f6d83358 8309471: Limit key characters in static index pages
Reviewed-by: jjg
2023-06-16 15:04:07 +00:00
Aggelos Biboudis
32243ef47d 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: vromero, jlahoda
2023-06-16 07:03:28 +00:00
Pavel Rappo
3e0bbd290c 8285368: Overhaul doc-comment inheritance
6376959: Algorithm for Inheriting Method Comments seems to go not as documented
6934301: Support directed inheriting of class comments with @inheritDoc

Reviewed-by: jjg, rriggs, aivanov, smarks, martin
2023-06-15 17:47:41 +00:00
Jim Laskey
1d1ed0d8f7 8309957: Rename JDK-8309595 test to conform
Reviewed-by: rriggs
2023-06-14 11:58:03 +00:00
Jan Lahoda
408cadb351 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
2023-06-12 08:15:53 +00:00
Joe Darcy
7d82479096 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
Reviewed-by: jjg
2023-06-09 19:56:14 +00:00
Jim Laskey
0be39054a6 8309595: Allow javadoc to process unnamed classes
Reviewed-by: hannesw
2023-06-08 17:51:11 +00:00
Joe Darcy
5a706fb403 8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22
8306586: Add source 22 and target 22 to javac

Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
2023-06-08 16:02:21 +00:00
Aggelos Biboudis
79a4ac791c 8309235: Unnamed Variables (_) can't be used in JShell
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: asotona
2023-06-08 07:25:25 +00:00
Joe Darcy
c24b0bada2 8309503: Improve javax.lang.model tests for JEP 445
Reviewed-by: jlahoda, jjg, jlaskey
2023-06-07 17:55:47 +00:00
Hannes Wallnöfer
0a4f9ad637 8292157: Incorrect error: "block element not allowed within inline element <a>"
Reviewed-by: jjg
2023-06-06 19:33:35 +00:00
Pavel Rappo
01455a07a7 8304878: ConcurrentModificationException in javadoc tool
Reviewed-by: jjg
2023-06-06 10:06:52 +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