Commit Graph

1658 Commits

Author SHA1 Message Date
Vicente Romero
aaaae3ee3c 8321207: javac is not accepting correct code
Reviewed-by: jlahoda
2023-12-06 02:36:02 +00:00
Pavel Rappo
430564cf88 8308715: Create a mechanism for Implicitly Declared Class javadoc
Reviewed-by: jjg
2023-12-05 22:09:05 +00:00
Archie Cobbs
640d7f31b2 8314327: Issues with JShell when using "local" execution engine
Reviewed-by: jlahoda
2023-12-05 17:57:43 +00:00
Jan Lahoda
18c7922781 8321224: ct.sym for JDK 22 contains references to internal modules
Reviewed-by: darcy, vromero, asotona, ihse
2023-12-05 17:24:48 +00:00
Christian Stein
517b178819 8306914: Implement JEP 458: Launch Multi-File Source-Code Programs
Reviewed-by: jlahoda, jlaskey
2023-12-05 07:50:21 +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
Eirik Bjorsnos
2f299e4a73 8321182: SourceExample.SOURCE_14 comment should refer to 'switch expressions' instead of 'text blocks'
Reviewed-by: darcy
2023-12-01 21:15:46 +00:00
Aggelos Biboudis
54957ac55f 8312560: Annotation on Decomposed Record Component in Enhanced For Loop Fails Compilation
Reviewed-by: jlahoda
2023-12-01 14:15:38 +00:00
Pavel Rappo
8f1d40b48b 8321114: Rename "Unnamed Classes" to "Implicitly Declared Classes" better
Reviewed-by: jlaskey
2023-12-01 11:51:25 +00:00
Aggelos Biboudis
4ba94ef69e 8320145: Compiler should accept final variable in Record Pattern
Reviewed-by: jlahoda
2023-12-01 07:13:39 +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
Liam Miller-Cushon
62418c681e 8319444: Unhelpful failure output in TestLegalNotices
Reviewed-by: hannesw, jjg
2023-11-29 17:49:30 +00:00
Joe Darcy
b68356b267 8320806: Augment test/langtools/tools/javac/versions/Versions.java for JDK 22 language changes
Reviewed-by: jlahoda, vromero
2023-11-29 17:25:26 +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
Jan Lahoda
2fae07f53f 8319311: JShell Process Builder should be configurable
Reviewed-by: asotona
2023-11-28 12:32:23 +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
Vicente Romero
5e24aaf4f7 8320001: javac crashes while adding type annotations to the return type of a constructor
Reviewed-by: cushon, jlahoda
2023-11-27 16:23:02 +00:00
Jan Lahoda
fc314740e9 8318913: The module-infos for --release data do not contain pre-set versions
Co-authored-by: Erik Joelsson <erikj@openjdk.org>
Reviewed-by: vromero, ihse
2023-11-24 06:30:08 +00:00
Jan Lahoda
14193a049e 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
8312140: jdk/jshell tests failed with JDI socket timeouts

Reviewed-by: asotona
2023-11-23 07:15:43 +00:00
Jonathan Gibbons
407cdd4cac 8320207: doclet incorrectly chooses code font for a See Also link
Reviewed-by: hannesw
2023-11-22 17:23:38 +00:00
Adam Sotona
53eb6f126b 8187591: -Werror turns incubator module warning to an error
Reviewed-by: jlahoda
2023-11-21 15:11:00 +00:00
Hannes Wallnöfer
30d895383e 8275889: Search dialog has redundant scrollbars
Reviewed-by: jjg
2023-11-20 18:32:20 +00:00
Hannes Wallnöfer
cee54de41b 8319988: Wrong heading for inherited nested classes
Reviewed-by: jjg
2023-11-20 18:26:21 +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
Vicente Romero
d6aa7c8ba0 8314621: ClassNotFoundException due to lambda reference to elided anonymous inner class
Reviewed-by: jlahoda
2023-11-16 16:49:26 +00:00
Vicente Romero
52e2878cff 8319987: compilation of sealed classes leads to infinite recursion
Reviewed-by: jlahoda
2023-11-16 16:41:58 +00:00
Liam Miller-Cushon
346dbd6d1c 8319196: ExecutableElement.getReceiverType doesn't return receiver types for methods loaded from bytecode
Reviewed-by: vromero
2023-11-14 17:38:09 +00:00
Vicente Romero
a75b6e569f 8191460: crash in Annotate with duplicate declaration and annotation processing enabled
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: asotona
2023-11-14 15:17:18 +00:00
Pavel Rappo
c9077b8b81 8319339: Internal error on spurious markup in a hybrid snippet
Reviewed-by: jjg
2023-11-10 16:50:53 +00:00
Jan Lahoda
45e68ae207 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Reviewed-by: asotona
2023-11-07 15:27:48 +00:00
Jan Lahoda
541ff7149f 8318144: Match on enum constants with body compiles but fails with MatchException
Reviewed-by: liach, vromero
2023-11-07 12:05:58 +00:00
Liam Miller-Cushon
de6667cf11 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: vromero
2023-11-03 17:31:05 +00:00
Jonathan Gibbons
c86592d38d 8319046: Execute tests in source/class-file order in JavadocTester
Reviewed-by: hannesw
2023-11-01 15:48:31 +00:00
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