2201 Commits

Author SHA1 Message Date
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
Dusan Balek
d605b5709a 8179187: Misleading compilation error on annotated fully-qualified classname
Reviewed-by: jlahoda, vromero
2026-04-13 09:08:45 +00:00
Hannes Wallnöfer
6371da9a44 8378228: Replace jQuery UI autocomplete component in JavaDoc search
Reviewed-by: nbenalla
2026-04-13 06:14:13 +00:00
Alan Bateman
e893f4cf84 8196182: ServiceLoader.iterator().hasNext()/.next() may throw a LinkageError
8350481: ServiceLoader throws NCDEF instead of ServiceConfigurationError

Reviewed-by: liach, jpai
2026-04-11 04:49:31 +00:00
Dusan Balek
ccbbef5561 8381654: Tokenizer warnings dropped when annotation processing is present
Reviewed-by: jlahoda, liach
2026-04-10 15:15:15 +00:00
Jan Lahoda
f6baab704e 8379550: Bad bytecode offset after JDK-8371155
Reviewed-by: vromero, abimpoudis
2026-04-08 06:23:42 +00:00
Jan Lahoda
a506853a82 8374020: Inconsistent handling of type updates in typeWithAnnotations
Reviewed-by: abimpoudis
2026-04-02 08:53:05 +00:00
Dusan Balek
fa5ec62405 8378950: Repeated warnings when annotation processing is happening
Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda
2026-04-02 08:20:47 +00:00
Chen Liang
819533964c 8380913: Sealed graph taglet omits public subtypes of invisible subtypes
Reviewed-by: hannesw, vromero
2026-03-31 15:08:02 +00:00
Liam Miller-Cushon
88d4f1f7ce 8380795: Consider omitting type annotations from method arguments in diagnostics
Co-authored-by: Liz Looney <lizlooney@google.com>
Reviewed-by: vromero
2026-03-30 13:09:18 +00:00
Dusan Balek
40e6069ff0 8371873: javac: U+001A (SUB / control-Z) after the last token makes the rest of the file silently ignored, which contradicts JLS §3.3–§3.5
Reviewed-by: jlahoda
2026-03-30 13:06:06 +00:00
Dusan Balek
ab659d4ee4 8371817: javac with annotation processor throws AssertionError: Cannot add metadata to this type: METHOD when dealing with local classes
Reviewed-by: mcimadamore
2026-03-26 10:19:37 +00:00
Dusan Balek
f2550e89c7 8378906: NPE from javac thrown when encountering abstract synthetic bridge method
Reviewed-by: mcimadamore
2026-03-20 07:25:45 +00:00
Dusan Balek
d8f19bf961 8347418: ConsoleIOContext.countTrailintBackslashes causes NullPointerException
Reviewed-by: jlahoda
2026-03-18 07:04:25 +00:00
Dusan Balek
c0aa411b34 8378251: Extend word delimiters used in jshell
Reviewed-by: jlahoda
2026-03-16 12:07:04 +00:00
Dusan Balek
c04fe765a3 8378524: Compile-time constant generated through annotation processor is not usable in repeated annotation but fails compilation
Reviewed-by: jlahoda, vromero
2026-03-16 07:47:26 +00:00
Chen Liang
a6f7089798 8379799: Upstream redundant diffs fixed in Valhalla - langtool tests 1
Reviewed-by: vromero
2026-03-12 17:58:06 +00:00
Jan Lahoda
26bb357fa2 8305250: Unnecessary "unknown enum constant" warning emitted by javac when dependency has optional annotations with enums
Reviewed-by: vromero
2026-03-12 07:32:43 +00:00
Jan Lahoda
39a25663e3 8378740: Suppressed warnings reported when implicit compilation is combined with annotation processing
Reviewed-by: liach, vromero, dbeaumont
2026-03-12 06:19:05 +00:00
Christian Stein
d3158e71c6 8379628: Refactor langtools/shellsupport/doc tests to use JUnit
Reviewed-by: hannesw
2026-03-10 16:05:04 +00:00
Christian Stein
ba0708cadd 8379331: Remove modular transition support settings from TEST.ROOT files
Reviewed-by: jvernee, alanb
2026-03-09 12:08:14 +00:00