Commit Graph

1625 Commits

Author SHA1 Message Date
Jonathan Gibbons
3660a90ad8 8319139: Improve diagnosability of JavadocTester output
Reviewed-by: hannesw
2023-11-01 15:33:53 +00:00
Aggelos Biboudis
36de19d462 8317048: VerifyError with unnamed pattern variable and more than one components
Reviewed-by: jlahoda
2023-11-01 13:38:10 +00:00
Jonathan Gibbons
b3fec6b5f3 8306980: Generated docs should contain correct Legal Documents
Reviewed-by: ihse, mchung
2023-10-31 22:03:35 +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
Maurizio Cimadamore
2915d74a10 8318837: javac generates wrong ldc instruction for dynamic constant loads
Reviewed-by: vromero, jlahoda
2023-10-27 13:47:24 +00:00
Christian Stein
957703b1f9 8307168: Inconsistent validation and handling of --system flag arguments
Reviewed-by: jjg
2023-10-27 08:37:19 +00:00
Vicente Romero
e2720987b9 8318160: javac does not reject private method reference with type-variable receiver
Reviewed-by: mcimadamore
2023-10-24 14:45:10 +00:00
Jan Lahoda
bf1a14e367 8316470: Incorrect error location for "invalid permits clause" depending on file order
Reviewed-by: vromero
2023-10-24 12:18:33 +00:00
Pavel Rappo
fd332da1c8 8317289: javadoc fails with -sourcepath if module-info.java contains import statements
Reviewed-by: jlahoda
2023-10-24 08:46:10 +00:00
Pavel Rappo
fc29a2e152 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: jjg
2023-10-23 09:24:51 +00:00
Jonathan Gibbons
2f4d601a56 8314975: JavadocTester should set source path if not specified
Reviewed-by: hannesw
2023-10-17 21:00:29 +00:00
Hannes Wallnöfer
0ba48ef4ab 8316972: Add javadoc support for restricted methods
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jjg
2023-10-17 20:32:41 +00:00
Aggelos Biboudis
5ca1beb30e 8317300: javac erroneously allows "final" in front of a record pattern
Reviewed-by: jlahoda
2023-10-17 12:57:25 +00:00
Aggelos Biboudis
2bf1863e24 8315588: JShell does not accept underscore from JEP 443 even with --enable-preview
Reviewed-by: jlahoda
2023-10-17 12:55:31 +00:00
Aggelos Biboudis
15588e08ed 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Reviewed-by: vromero
2023-10-17 12:51:57 +00:00
Qing Xiao
741ae06c55 8313613: Use JUnit in langtools/lib tests
Reviewed-by: cstein, asotona
2023-10-16 17:14:34 +00:00
Hannes Wallnöfer
eb7d972d8a 8308659: Use CSS scroll-margin instead of flexbox layout in API documentation
Reviewed-by: jjg
2023-10-16 12:56:41 +00:00
Vicente Romero
01ea1eff66 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Reviewed-by: darcy
2023-10-14 21:28:39 +00:00
Archie Cobbs
17535c34bc 8317818: Combinatorial explosion during 'this' escape analysis
Reviewed-by: vromero
2023-10-12 22:39:03 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Archie Cobbs
a8473b7079 8317336: Assertion error thrown during 'this' escape analysis
Reviewed-by: vromero
2023-10-12 16:51:53 +00:00
Jonathan Gibbons
3ff5a781db 8317693: Unused parameter to Tokens.Token.comment method
Reviewed-by: iris, jlahoda
2023-10-09 17:53:57 +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
Maurizio Cimadamore
0d4de8a71f 8316971: Add Lint warning for restricted method calls
Reviewed-by: ihse, vromero
2023-10-04 09:36:53 +00:00
Adam Sotona
1203e11a8d 8294969: Convert jdk.jdeps javap to use the Classfile API
Reviewed-by: vromero
2023-09-18 08:35:31 +00:00
Adam Sotona
ca747f09b6 8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing
Reviewed-by: briangoetz
2023-09-14 18:30:39 +00:00
Aggelos Biboudis
3b0a6d2a68 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Reviewed-by: mcimadamore, vromero
2023-09-13 15:09:01 +00:00
Joe Darcy
578ded4645 8312418: Add Elements.getEnumConstantBody
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero
2023-09-08 22:06:24 +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
Aggelos Biboudis
81f8c57e4a 8314632: Intra-case dominance check fails in the presence of a guard
Reviewed-by: vromero
2023-09-07 12:51:37 +00:00
Jan Lahoda
726c9c977d 8315735: VerifyError when switch statement used with synchronized block
Reviewed-by: vromero
2023-09-07 11:08:55 +00:00
Pavel Rappo
a01b3fb8e9 8288660: JavaDoc should be more helpful if it doesn't recognize a tag
Reviewed-by: jjg
2023-09-06 07:51:14 +00:00
Jan Lahoda
94a74a0a45 8315534: Incorrect warnings about implicit annotation processing
Reviewed-by: darcy
2023-09-04 10:06:20 +00:00
Jan Lahoda
84425a6290 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: vromero
2023-09-04 09:14:16 +00:00
Jan Lahoda
3094fd1ac5 8314662: jshell shows duplicated signatures of javap
Reviewed-by: asotona, cstein
2023-09-04 08:36:41 +00:00
Jan Lahoda
adfc1d6cd2 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Reviewed-by: vromero
2023-09-04 07:17:28 +00:00
Jonathan Gibbons
df5e6e5d48 8315248: AssertionError in Name.compareTo
Reviewed-by: vromero
2023-08-30 21:52:31 +00:00
Christian Stein
c50315de8f 8314495: Update to use jtreg 7.3.1
Reviewed-by: dholmes, erikj, iris, jpai
2023-08-21 06:30:56 +00:00
Pavel Rappo
aecbb1b5c3 8314448: Coordinate DocLint and JavaDoc to report on unknown tags
Reviewed-by: jjg
2023-08-18 16:40:51 +00:00
Aggelos Biboudis
4331193010 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Reviewed-by: jlahoda
2023-08-17 07:33:16 +00:00
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