2221 Commits

Author SHA1 Message Date
David Simms
cc278dbb8a 8389219: Implement JEP 401: Value Objects (Preview)
8389220: Implement JEP 539: Strict Field Initialization in the JVM (Preview)

Co-authored-by: David Simms <dsimms@openjdk.org>
Co-authored-by: Dan Smith <dlsmith@openjdk.org>
Co-authored-by: Frederic Parain <fparain@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Karen Kinnear <acorn@openjdk.org>
Co-authored-by: Alex Menkov <amenkov@openjdk.org>
Co-authored-by: Bill Huang <bhuang@openjdk.org>
Co-authored-by: Benoît Maillard <bmaillard@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Casper Norrbin <cnorrbin@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: David Beaumont <dbeaumont@openjdk.org>
Co-authored-by: Daniel D. Daugherty <dcubed@openjdk.org>
Co-authored-by: Damon Fenacci <dfenacci@openjdk.org>
Co-authored-by: David Holmes <dholmes@openjdk.org>
Co-authored-by: Dmitry Samersoff <dsamersoff@openjdk.org>
Co-authored-by: Eric Caspole <ecaspole@openjdk.org>
Co-authored-by: Evgeny Nikitin <enikitin@openjdk.org>
Co-authored-by: Ekaterina Pavlova <epavlova@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Dan Heidinga <heidinga@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Joel Sikström <jsikstro@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Co-authored-by: Chen Liang <liach@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Matias Saavedra Silva <matsaave@openjdk.org>
Co-authored-by: Marc Chevalier <mchevalier@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Manuel Hässig <mhaessig@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Paul Hübner <phubner@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Zoltan Majo <zmajo@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Daisuke Yamazaki <dyama@openjdk.org>
Reviewed-by: mcimadamore, liach, darcy, dcubed, aboldtch, coleenp, iklam, jlahoda, dlong, jpai, vklang, heidinga, sspitsyn, cjplummer
2026-07-31 00:45:12 +00:00
Hannes Wallnöfer
c4f43a1818 8387471: Reduce size of web fonts included in API documentation
Reviewed-by: liach, ayang, nbenalla
2026-07-28 15:18:15 +00:00
Liam Miller-Cushon
b4d1d7e40c 8383920: Clean up calls to deprecated getStartPosition and getEndPosition methods
Reviewed-by: liach, vromero
2026-07-27 20:31:21 +00:00
Jan Lahoda
99255c44eb 8186876: JShell: access javadoc for user/library classes
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: vromero, asotona
2026-07-20 13:02:39 +00:00
Maurizio Cimadamore
3623246047 8383563: Record pattern inference fails when inferred type arguments are same as formals
Reviewed-by: vromero, jlahoda
2026-07-20 13:00:13 +00:00
Jan Lahoda
78ee01b2a6 8387965: Incorrect line numbers for instanceof with pattern matching
Reviewed-by: vromero
2026-07-20 10:11:43 +00:00
Jan Lahoda
9b69184e56 8387377: Compilation is very slow when --module-path contains many Automatic Modules and ALL-MODULE-PATH is used
Reviewed-by: vromero
2026-07-20 06:59:36 +00:00
Jan Lahoda
ff32e76f48 8387865: ThisEscapeAnalyzer crashes for erroneous source code
Reviewed-by: asotona, vromero
2026-07-08 05:44:30 +00:00
Jorn Vernee
299a42b3ce 8383882: javac: incremental compilation using --module misses classes
Reviewed-by: jlahoda, mcimadamore, vromero
2026-06-29 21:50:33 +00:00
Christian Stein
b735de6d71 8386844: Update to use jtreg 8.3
Reviewed-by: erikj, lancea, iris, vromero
2026-06-29 06:48:27 +00:00
Du�an B�lek
fea0c22913 8387215: On-demand attribution of a record constructor body causes javac to emit an invalid diagnostic
Reviewed-by: jlahoda
2026-06-26 07:04:54 +00:00
Du�an B�lek
6f81f7aa7e 8173155: JavacTask should have close() method
Reviewed-by: jlahoda, cstein
2026-06-23 07:48:52 +00:00
Dusan Balek
5b1b98c109 8386334: JdepsTask keeps --system files open
Reviewed-by: vromero, alanb, liach
2026-06-16 11:52:52 +00:00
Dusan Balek
a84cd26198 8386654: Test tools/javac/SystemFilesClosed.java fails on systems without lsof
Reviewed-by: jpai, vromero, liach
2026-06-16 06:52:52 +00:00
Chen Liang
d4acb51b33 8386589: Permitting a preview subclass should not produce a preview note
Reviewed-by: hannesw
2026-06-13 13:02:09 +00:00
Chen Liang
3bd0923ca8 8386601: Rename LANGUAGE_MODEL preview feature to PREVIEW_SUPPORT
Reviewed-by: hannesw, vromero
2026-06-12 18:25:24 +00:00
Dusan Balek
55a53f945f 8357249: Compiler task keeps --system files open
Reviewed-by: alanb, jlahoda
2026-06-12 06:27:29 +00:00
Hannes Wallnöfer
2d2d59dfcf 8384065: Improve wrapping of link labels in the table of contents
Reviewed-by: nbenalla
2026-06-08 10:57:57 +00:00
Nizar Benalla
ca52afa38e 8384833: Start of release updates for JDK 28
8384838: Add SourceVersion.RELEASE_28
8384842: Add source 28 and target 28 to javac

Reviewed-by: iris, darcy, erikj, dholmes
2026-06-04 16:06:29 +00:00
Jan Lahoda
ee53e7569e 8381812: The synthetic $deserializeLambda$ is notably bigger
Reviewed-by: mcimadamore
2026-06-04 12:04:03 +00:00
Vladimir Petko
2688bf7305 8385738: Javadoc does not produce reproducible output due to the snippet ids
Reviewed-by: nbenalla
2026-06-03 06:35:57 +00:00
Jan Lahoda
9acd9f8790 8381965: NullPointerException in TypeAnnotationPositions
Reviewed-by: mcimadamore
2026-06-01 11:17:01 +00:00
Christian Stein
ebc3af7a2d 8379083: Executable source program should ignore module declaration
Reviewed-by: jlamperth, liach
2026-05-29 07:22:20 +00:00
Jonathan László Lampérth
9f38c8b739 8377010: Source code launcher cannot call inherited main from another package/module
Reviewed-by: cstein, liach
2026-05-29 07:21:56 +00:00
Jan Lahoda
91d9ef170b 8384843: Duplicated type annotations in classfile
Reviewed-by: mcimadamore
2026-05-29 05:00:32 +00:00
Dusan Balek
ea42cd938a 8383738: javac crashes with StackOverflowError when a class extends a type parameter
Reviewed-by: vromero, mcimadamore
2026-05-29 05:00:00 +00:00
Manuel Hässig
2acf0dc98a 8382582: Remove the experimental JVMCI feature
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Reviewed-by: kvn, thartmann, liach, stefank, coleenp, erikj, vlivanov, cjplummer, alanb
2026-05-26 16:34:02 +00:00
Jan Lahoda
e50c413bb7 8384229: Previously accepted code is rejected after JDK-8378102
Reviewed-by: vromero
2026-05-21 04:40:37 +00:00
Jan Lahoda
cf3e0cd2e5 8373289: Test tools/javac/patterns/Exhaustiveness.java timed out then passed
Reviewed-by: abimpoudis
2026-05-18 10:06:40 +00:00
Aggelos Biboudis
df00045c43 8384131: Lowering of array enhanced for loop misses a synthetic cast
Reviewed-by: jlahoda
2026-05-18 09:23:27 +00:00
Dusan Balek
231e5b166f 8384132: javac: Cannot read field "sym" because "this.lvar[1]" is null
Reviewed-by: jlahoda
2026-05-15 07:21:15 +00:00
Archie Cobbs
57eb91dc16 8382877: Heap pollution warning points to first parameter instead of last
Reviewed-by: mcimadamore
2026-05-13 14:30:29 +00:00
Dusan Balek
666b94df62 8230518: printSource doesn't handle enums correctly
Reviewed-by: abimpoudis, liach
2026-05-13 11:47:02 +00:00
Dusan Balek
1ec74dca70 8384235: javac crashes with AssertionError: Cannot add metadata to a void type when annotating void as a generic bound
Reviewed-by: jlahoda
2026-05-12 12:49:36 +00:00
Dusan Balek
211b414f1f 8381403: @Deprecated annotation has no effect warnings on record components
Reviewed-by: jlahoda
2026-05-11 07:27:47 +00:00
Liam Miller-Cushon
d171f37761 8382871: Completion failure during diagnostic formatting
Reviewed-by: vromero
2026-05-06 11:54:41 +00:00
Jan Lahoda
bb9a09437c 8378102: Validly imported symbols of unresolved types do not have their FQN reflected in the Element/TypeMirror instances passed to annotation processors
Reviewed-by: vromero
2026-05-06 06:02:28 +00:00
Hannes Wallnöfer
c2074e46a4 8383824: TestCopyFiles.java fails after JDK-8347112
Reviewed-by: dholmes
2026-05-04 21:20:15 +00:00
Hannes Wallnöfer
b221cb6ba1 8347112: Copy nested directories in doc-files by default
Reviewed-by: nbenalla
2026-05-04 13:49:02 +00:00
Aggelos Biboudis
fa874fac23 8374629: Type test pattern with array type in switch fails to parse
Reviewed-by: vromero
2026-05-04 11:23:04 +00:00
Aggelos Biboudis
4d316a85a0 8379621: Compiler produces unverifiable class-file when using primitive type with instanceof
Reviewed-by: vromero, liach
2026-05-04 11:21:10 +00:00
Jan Lahoda
5ccf99b8e9 8383414: Exhaustiveness rejects a type pattern that covers all permitted subtypes
Reviewed-by: abimpoudis
2026-05-04 05:09:26 +00:00
Hannes Wallnöfer
4b39e6d412 8373526: Add tooltips to API documentation elements
Reviewed-by: liach
2026-04-28 05:21:34 +00:00
Dusan Balek
3444dad52c 8381739: Comma-separated declaration with type-use annotations causes compiler crash
Reviewed-by: jlahoda
2026-04-27 09:40:33 +00:00
Daniel D. Daugherty
03996ff5e0 8382843: Update ProblemList comments for preview features
Reviewed-by: ayang, liach
2026-04-22 19:20:46 +00:00
Dusan Balek
96f2cba774 8381642: javac provides the wrong line number for an error in a lambda expression
Reviewed-by: mcimadamore
2026-04-21 08:59:24 +00:00
Archie Cobbs
be85091514 8380971: New -Werror syntax does not exclude categories
Reviewed-by: liach
2026-04-20 18:50:04 +00:00
Archie Cobbs
d71f070ce6 8382368: Warning that @Deprecated "has no effect" is suppressed by @Deprecated
Reviewed-by: liach
2026-04-19 02:08:28 +00:00
Dusan Balek
5c403a8029 8380912: "Trailing white space will be removed" incorrectly triggered with \u2028
Reviewed-by: jlahoda
2026-04-17 06:10:25 +00:00
Hannes Wallnöfer
35ad47b4c0 8373922: Enhance Taglet API to support relative URLs
8379520: Make use of new Taglet.toString method in JDK build taglets

Reviewed-by: liach
2026-04-16 14:42:20 +00:00