Commit Graph

1585 Commits

Author SHA1 Message Date
Jonathan Gibbons
82f9819eac 8294536: Update troff form of man page for new --spec-base-url option
Reviewed-by: hannesw
2022-11-04 17:29:25 +00:00
Joe Darcy
97c5a64d5c 8296287: Improve documentation for Types.directSupertypes()
Reviewed-by: jlahoda, prappo
2022-11-04 16:22:09 +00:00
Hannes Wallnöfer
f9c7cdaed6 8294109: JavaDoc search should search whole index
Reviewed-by: jjg
2022-11-04 16:00:36 +00:00
Hannes Wallnöfer
5622b09565 8200337: Generalize see and link tags for user-defined anchors
Reviewed-by: jjg
2022-11-04 14:57:43 +00:00
Magnus Ihse Bursie
b7442d12e2 8295653: Add a graph of the sealed class hierarchy for marked classes
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jjg
2022-11-03 14:51:24 +00:00
Vicente Romero
7a85441a85 8232933: Javac inferred type does not conform to equality constraint
Reviewed-by: mcimadamore
2022-11-03 12:08:23 +00:00
Weijun Wang
da0ae5128a 8296167: test/langtools/tools/jdeps/jdkinternals/ShowReplacement.java failing after JDK-8296072
Reviewed-by: alanb
2022-11-01 15:14:19 +00:00
Archie L. Cobbs
b8ad6cd98a 8294461: wrong effectively final determination by javac
Reviewed-by: vromero
2022-10-27 15:58:46 +00:00
Srikanth Adayapalam
4d9a1cd26f 8292159: TYPE_USE annotations on generic type arguments of record components discarded
Reviewed-by: vromero
2022-10-27 04:56:22 +00:00
Daniel D. Daugherty
7520d0a725 8295855: ProblemList jdk/jshell/CommandCompletionTest.java on linux-all
Reviewed-by: dholmes
2022-10-24 21:39:16 +00:00
Jonathan Gibbons
f5dabf9440 8295088: Update External Spec page to show tabs for hosts
Reviewed-by: hannesw
2022-10-21 19:27:54 +00:00
Vicente Romero
6707bfbc15 8029633: Raw inner class constructor ref should not perform diamond inference
Reviewed-by: jlahoda
2022-10-20 15:43:10 +00:00
Jan Lahoda
7bc9692a51 8294670: Enhanced switch statements have an implicit default which does not complete normally
Reviewed-by: vromero
2022-10-20 15:21:26 +00:00
Vicente Romero
95dd376ba2 8291914: generated constructors are considered compact when they shouldn't
Reviewed-by: darcy, jlahoda
2022-10-20 14:58:56 +00:00
Archie L. Cobbs
9b971626f7 7039014: Confusing error message for method conflict
Reviewed-by: vromero
2022-10-20 13:58:09 +00:00
Jan Lahoda
78dc497786 8294550: Sealed check for casts isn't applied to array components
Reviewed-by: vromero
2022-10-20 13:01:12 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Jan Lahoda
71aa821091 8295176: some langtools test pollutes source tree
Reviewed-by: sadayapalam, darcy, vromero
2022-10-18 07:45:23 +00:00
Srikanth Adayapalam
cf07eaeb92 8295020: javac emits incorrect code for for-each on an intersection type.
Reviewed-by: mcimadamore
2022-10-17 07:40:19 +00:00
Archie L. Cobbs
786ce1c27b 8295024: Cyclic constructor error is non-deterministic and inconsistent
Reviewed-by: vromero
2022-10-14 13:52:50 +00:00
Srikanth Adayapalam
cf84c8eaf2 8292975: javac produces code that crashes with LambdaConversionException
8269983: BootstrapMethodError with method reference and intersection type

Reviewed-by: dlsmith, vromero
2022-10-07 04:20:40 +00:00
Joe Darcy
0ec18382b7 8294869: Correct failure of RemovedJDKInternals.java after JDK-8294618
Reviewed-by: alanb, azvegint
2022-10-05 19:27:20 +00:00
Matthias Baesken
f531dae4a0 8294840: langtools OptionalDependencyTest.java use File.pathSeparator
Reviewed-by: alanb
2022-10-05 14:41:29 +00:00
Matthias Baesken
953ce8da2c 8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
Reviewed-by: mchung
2022-10-05 07:34:42 +00:00
Jonathan Gibbons
090cdfc7a2 8294726: Update URLs in minefield tests
Reviewed-by: darcy, iris
2022-10-03 20:20:53 +00:00
Jonathan Gibbons
e137f9f2f0 8293877: Rewrite MineField test
Reviewed-by: vromero, martin, darcy, jlahoda
2022-10-03 17:08:37 +00:00
Jan Lahoda
8e9cfeb17c 8294431: jshell reports error on initialisation of static final field of anonymous class
Reviewed-by: sundar
2022-10-03 07:23:42 +00:00
Hannes Wallnöfer
64da8620e1 8287597: List all preview features on the javadoc PREVIEW page
Reviewed-by: jjg
2022-09-30 11:11:28 +00:00
Adam Sotona
b4e1e416da 8293000: Review running times of jshell regression tests
Reviewed-by: darcy
2022-09-30 08:57:50 +00:00
Jonathan Gibbons
22b59b66d9 8294471: SpecTaglet is inconsistent with SpecTree for inline property
Reviewed-by: prappo
2022-09-27 21:18:12 +00:00
Jonathan Gibbons
b88ee1ee22 6251738: Want a top-level summary page that itemizes all spec documents referenced from javadocs (OEM spec)
Reviewed-by: hannesw
2022-09-26 21:28:39 +00:00
Jan Lahoda
0be2b2c2f1 8292756: java.lang.AssertionError at at jdk.compiler/com.sun.tools.javac.code.Scope$ScopeImpl.leave(Scope.java:386)
Reviewed-by: vromero
2022-09-22 14:33:07 +00:00
Jan Lahoda
95ec2eaca3 8293897: Synthetic final modifier is part of the AST for a try-with-resource resource
Reviewed-by: sundar
2022-09-21 12:29:40 +00:00
John Neffenger
844a95b907 8292892: Javadoc index descriptions are not deterministic
Reviewed-by: jjg
2022-09-21 08:45:38 +00:00
Leslie Zhai
dfb9c06633 8293535: jdk/javadoc/doclet/testJavaFX/TestJavaFxMode.java fail with jfx
Reviewed-by: jjg
2022-09-16 14:53:30 +00:00
Jan Lahoda
39cd1635bf 8293578: Duplicate ldc generated by javac
Reviewed-by: mcimadamore
2022-09-16 11:37:45 +00:00
Jan Lahoda
fbd8b42d70 8293591: Remove use of Thread.stop from jshell tests
Reviewed-by: alanb
2022-09-15 11:27:15 +00:00
Adam Sotona
aff5ff14b2 8244681: Add a warning for possibly lossy conversion in compound assignments
8293797: Release Note: Javac warns about type casts in compound assignments with possible lossy conversions

Reviewed-by: erikj, prr
2022-09-15 10:10:23 +00:00
Jan Lahoda
2a3879180e 8292755: Non-default method in interface leads to a stack overflow in JShell
Reviewed-by: vromero
2022-09-14 08:51:03 +00:00
Aggelos Biboudis
1169a15936 8291657: Javac assertion when compiling a method call with switch expression as argument
Reviewed-by: jlahoda
2022-09-14 06:48:01 +00:00
Vicente Romero
46e6e41b9a 8293051: Further refactor javac after removal of -source/-target/--release 7
Reviewed-by: darcy, mcimadamore
2022-09-08 14:36:19 +00:00
Jan Lahoda
c0ee30a25a 8293348: A false cyclic inheritance error reported
Reviewed-by: vromero
2022-09-08 14:10:06 +00:00
Daniel D. Daugherty
02dce24b59 8207166: jdk/jshell/JdiHangingLaunchExecutionControlTest.java - launch timeout
Reviewed-by: vromero
2022-09-07 18:30:16 +00:00
Christian Stein
1ee59adcfe 8289798: Update to use jtreg 7
Reviewed-by: ihse, jpai
2022-09-07 15:13:35 +00:00
Jan Lahoda
26f2a978f6 8290561: Coalesce incubator-module warnings for single-file source-code programs
Reviewed-by: mcimadamore
2022-09-06 09:27:48 +00:00
Jan Lahoda
4955835249 8282434: Leading combining diacritic character in string renders incorrectly
Reviewed-by: vromero
2022-09-06 08:42:45 +00:00
Joe Darcy
3ac91b08cb 8293003: Review running time of Warn5 regression test
Reviewed-by: vromero
2022-09-02 02:53:59 +00:00
Jonathan Gibbons
0fb9469d93 8290126: Add a check in JavadocTester for "javadoc should not crash"
Reviewed-by: prappo
2022-09-01 22:41:27 +00:00
Joe Darcy
2d18dda3f2 8173605: Remove support for source and target 1.7 option in javac
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Aggelos Biboudis
9444a081cc 8290709: Incorrect dominance error for unconditional pattern vs. null
Reviewed-by: jlahoda
2022-09-01 16:09:03 +00:00
Jonathan Gibbons
6f297346dc 8293178: Remove obsolete properties from javadoc resource file
Reviewed-by: prappo
2022-08-31 22:11:20 +00:00
Jonathan Gibbons
1b756bfa3a 8236048: Cleanup use of Utils.normalizeNewlines
Reviewed-by: hannesw
2022-08-18 21:57:05 +00:00
Hannes Wallnöfer
d5435642f9 8289334: Use CSS variables to define fonts and colors
Reviewed-by: jjg
2022-08-18 09:02:16 +00:00
Hannes Wallnöfer
8b4e6ba01f 8289332: Auto-generate ids for user-defined headings
Reviewed-by: jjg
2022-08-17 17:14:34 +00:00
Hannes Wallnöfer
1ef4e48488 8273860: Javadoc Deprecated API list should not use italic font for description column
Reviewed-by: jjg
2022-08-17 05:34:44 +00:00
Jan Lahoda
0c40128fec 7194212: NPE in Flow.visitIdent
Reviewed-by: vromero
2022-08-12 08:12:28 +00:00
Joe Darcy
0657acf534 8289249: Add methods to Elements for record constructors
Reviewed-by: vromero
2022-08-05 22:18:59 +00:00
Vicente Romero
3ba317167d 8285935: Spurious lint warning for static method accessed through instance qualifier
Reviewed-by: jlahoda
2022-08-04 17:57:28 +00:00
Vicente Romero
67f001186b 8260892: Compilation fails: lambda parameter not visible in body when generics involved
Reviewed-by: jlahoda
2022-08-03 19:19:34 +00:00
Jonathan Gibbons
8179a191f0 8290243: move seeTagToContent from HtmlDocletWriter to TagletWriterImpl
Reviewed-by: prappo
2022-07-29 21:55:20 +00:00
Joe Darcy
cc2861a993 8290901: Reduce use of -source in langtools tests
Reviewed-by: jjg
2022-07-29 17:35:22 +00:00
Aggelos Biboudis
64a1a08ff9 8289647: AssertionError during annotation processing of record related tests
Reviewed-by: vromero
2022-07-29 16:02:18 +00:00
Pavel Rappo
c1a3347f17 8291358: Fix the "overridding" typo
Reviewed-by: rriggs
2022-07-27 21:48:59 +00:00
Daniel D. Daugherty
9c19d89c9c Merge 2022-07-20 22:56:17 +00:00
David Holmes
17e65bbd23 8290625: Test jdk/javadoc/tool/CheckManPageOptions.java after manpage update
Reviewed-by: hannesw
2022-07-20 13:09:31 +00:00
Aggelos Biboudis
f5a7de8627 8290379: Parse error with parenthesized pattern and guard using an array
Reviewed-by: jlahoda
2022-07-19 09:03:28 +00:00
Jesper Wilhelmsson
522b65743c Merge 2022-07-17 15:11:21 +00:00
Vicente Romero
f3abb82989 8268312: Compilation error with nested generic functional interface
Reviewed-by: mcimadamore
2022-07-15 13:06:03 +00:00
Pavel Rappo
15d3329edd 8281969: Bad result for the snippet @link tag if substring/regex consists of whitespace
Reviewed-by: jjg
2022-07-14 22:27:53 +00:00
Jonathan Gibbons
572c14efc6 8288624: Cleanup CommentHelper.getText0
Reviewed-by: hannesw
2022-07-13 14:45:04 +00:00
Jesper Wilhelmsson
d9ca438d06 Merge 2022-07-12 16:16:16 +00:00
Jesper Wilhelmsson
c79baaa811 Merge 2022-07-11 16:15:49 +00:00
Pavel Rappo
62fbc3f883 8287379: Using @inheritDoc in an inapplicable context shouldn't crash javadoc
Reviewed-by: jjg
2022-07-11 15:43:20 +00:00
Pavel Rappo
59980ac8e4 8288309: Rename the "testTagInheritence" directory
Reviewed-by: hannesw
2022-07-11 15:31:22 +00:00
Aggelos Biboudis
bba6be79e0 8269674: Improve testing of parenthesized patterns
Reviewed-by: jlahoda
2022-07-11 11:13:55 +00:00
Jan Lahoda
25f4b04365 8289894: A NullPointerException thrown from guard expression
Reviewed-by: vromero
2022-07-11 08:59:32 +00:00
Jonathan Gibbons
54b4576f78 8288699: cleanup HTML tree in HtmlDocletWriter.commentTagsToContent
Reviewed-by: hannesw
2022-07-08 19:33:03 +00:00
Vicente Romero
9c86c82091 8282714: synthetic arguments are being added to the constructors of static local classes
Reviewed-by: jlahoda
2022-07-08 17:24:27 +00:00
Jesper Wilhelmsson
01b9f95c62 Merge 2022-07-08 02:07:36 +00:00
Jan Lahoda
8dd94a2c14 8289196: Pattern domination not working properly for record patterns
Reviewed-by: vromero
2022-07-07 07:54:18 +00:00
Pavel Rappo
8f24d25168 6509045: {@inheritDoc} only copies one instance of the specified exception
Reviewed-by: jjg
2022-07-06 22:01:12 +00:00
Jesper Wilhelmsson
2a6ec88cd0 Merge 2022-07-06 21:01:10 +00:00
Pavel Rappo
f640fc5a1e 8067757: Incorrect HTML generation for copied javadoc with multiple @throws tags
Reviewed-by: jjg
2022-07-04 16:00:53 +00:00
Jesper Wilhelmsson
86dc760f9e Merge 2022-06-28 22:11:23 +00:00
Jonathan Gibbons
c42b796f91 8288058: Broken links on constant-values page
Reviewed-by: prappo
2022-06-28 15:58:12 +00:00
Jonathan Gibbons
a814293e1f 8275784: Bogus warning generated for record with compact constructor
Reviewed-by: prappo
2022-06-28 15:54:52 +00:00
Pavel Rappo
17ef8cae33 8288524: Allow @systemProperty to appear in overview documentation
Reviewed-by: jjg
2022-06-27 19:33:16 +00:00
Jesper Wilhelmsson
d4b040f42d Merge 2022-06-27 18:25:53 +00:00
Vicente Romero
53b37fe153 8288130: compiler error with AP and explicit record accessor
Reviewed-by: jlahoda
2022-06-24 21:42:23 +00:00
Jan Lahoda
bdf9902f75 8288120: VerifyError with JEP 405 pattern match
Reviewed-by: vromero
2022-06-24 08:13:28 +00:00
Jesper Wilhelmsson
7039c6616a Merge 2022-06-20 19:38:49 +00:00
Jonathan Gibbons
f12d044929 8288692: jdk/javadoc/doclet/testTagMisuse/TestTagMisuse.java fails after JDK-8288545
Reviewed-by: prappo
2022-06-17 21:48:24 +00:00
Jonathan Gibbons
983f75caa6 8288545: Missing space in error message
Reviewed-by: hannesw
2022-06-17 16:53:19 +00:00
Jonathan Gibbons
53a0acee06 8286101: Support formatting in @value tag
Reviewed-by: prappo
2022-06-13 18:13:21 +00:00
Joe Darcy
edff51e5fd 8284858: Start of release updates for JDK 20
8286035: Add source 20 and target 20 to javac
8286034: Add SourceVersion.RELEASE_20

Reviewed-by: dholmes, kcr, iris, erikj, jjg, ihse
2022-06-09 16:16:49 +00:00
Magnus Ihse Bursie
f7791ad0ea 8287895: Some langtools tests fail on msys2
Reviewed-by: jjg
2022-06-08 14:04:48 +00:00
Joe Darcy
32dd1eef88 8287967: Update golden test files after JDK-8287886
Reviewed-by: dholmes
2022-06-08 01:59:50 +00:00
Jan Lahoda
062db59eeb 8286206: Missing cases for RECORD
Reviewed-by: vromero, jjg
2022-06-07 14:44:44 +00:00
Jan Lahoda
2f62f15b09 8287808: javac generates illegal class file for pattern matching switch with records
Reviewed-by: sundar
2022-06-07 13:41:24 +00:00
Adam Sotona
905bcbe34e 8286571: java source launcher from a minimal jdk image containing jdk.compiler fails with --enable-preview option
Reviewed-by: jlahoda
2022-06-07 13:38:56 +00:00
Jan Lahoda
bde7a7ae03 8287236: Reorganize AST related to pattern matching for switch
Reviewed-by: mcimadamore
2022-06-07 10:31:09 +00:00
Hannes Wallnöfer
f6a79e340f 8287674: CSS improvements for summary lists
Reviewed-by: jjg
2022-06-07 06:32:39 +00:00
Hannes Wallnöfer
4d6fb51551 8287524: Improve checkboxes to select releases on deprecated API page
Reviewed-by: jjg
2022-06-06 11:11:43 +00:00
Aleksey Shipilev
0d1a3053cd 8287732: jdk/jshell/ToolEnablePreviewTest.java fails on x86_32 after JDK-8287496
Reviewed-by: alanb, kvn
2022-06-06 05:29:30 +00:00
Jonathan Gibbons
59e9700c4e 8252717: Integrate/merge legacy standard doclet diagnostics and doclint
Reviewed-by: erikj, prappo
2022-06-03 16:17:23 +00:00
Jonathan Gibbons
deb06539b0 8287337: SnippetUtils should throw exceptions if snippets not found
Reviewed-by: hannesw
2022-06-02 23:53:23 +00:00
liach
6030c0e403 8287118: Use monospace font for annotation default values
Reviewed-by: hannesw, jjg
2022-06-01 23:05:51 +00:00
Raffaello Giulietti
72bcf2aa03 4511638: Double.toString(double) sometimes produces incorrect results
Reviewed-by: aturbanov, darcy, bpb
2022-06-01 21:53:54 +00:00
Aleksey Shipilev
774928f944 8287625: ProblemList jdk/jshell/HighlightUITest.java on all platforms
Reviewed-by: jlahoda
2022-06-01 14:57:36 +00:00
Aleksey Shipilev
7159976335 8287520: Shrink x86_32 problemlists after JDK-8287437
Reviewed-by: alanb
2022-06-01 06:02:54 +00:00
Jonathan Gibbons
8fc201e5bb 8285939: javadoc java.lang.Record should not have "Direct Known Subclasses:" section
Reviewed-by: prappo, hannesw
2022-05-31 22:59:59 +00:00
Jan Lahoda
171a7cdd5d 8286895: InternalError: Exception during analyze
Reviewed-by: vromero
2022-05-31 15:01:38 +00:00
Jan Lahoda
7ef6993576 8276836: Error in javac caused by switch expression without result expressions: Internal error: stack sim error
Reviewed-by: vromero
2022-05-31 11:04:50 +00:00
Hannes Wallnöfer
777f813e9b 8268422: Find a better way to select releases in "New API" page
Reviewed-by: jjg
2022-05-27 11:09:26 +00:00
Hannes Wallnöfer
37ecbb461c 8277420: Provide a way to copy the hyperlink to a doc element to the clipboard
Reviewed-by: prappo
2022-05-27 09:08:02 +00:00
Pavel Rappo
3d6d7b7e73 8287338: tools/javac/api/snippets/TestJavaxToolsSnippets.java failing tier1 on all platforms
Reviewed-by: jjg
2022-05-25 19:44:12 +00:00
Jonathan Gibbons
7156f98e32 8279513: jdk/javadoc/doclet/testDocletExample/TestDocletExample.java fails after 8278795
Reviewed-by: prappo
2022-05-25 17:45:02 +00:00
Jonathan Gibbons
f786e2a22f 8284037: Snippet-files subdirectory not automatically detected when in unnamed package
Reviewed-by: prappo
2022-05-25 17:41:58 +00:00
Jan Lahoda
e9bddc18ab 8262889: Compiler implementation for Record Patterns
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-05-25 11:56:24 +00:00
Alexey Ivanov
9b7e42c0f0 8284209: Replace remaining usages of 'a the' in source code
Reviewed-by: lancea, wetmore, dfuchs, iris, jjg, ihse
2022-05-24 20:08:11 +00:00
Aleksey Shipilev
0a82c4ebc3 8287137: Problemlist failing x86_32 tests after Loom integration
Reviewed-by: prr, mcimadamore
2022-05-24 14:10:41 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Aggelos Biboudis
9473c383c6 8286057: Make javac error on a generic enum friendlier
Reviewed-by: jlahoda
2022-05-24 10:31:11 +00:00
Pavel Rappo
7c0864752a 8287099: Clean up terminology regarding doc comment descriptions.
Reviewed-by: jjg
2022-05-21 08:48:11 +00:00
Aggelos Biboudis
fd36f3730e 8286797: Guards of constant value false are not permitted
Reviewed-by: vromero
2022-05-19 16:11:24 +00:00
Jonathan Gibbons
141ef68f82 8286338: suppress warnings about bad @author tags when author info is not generated.
Reviewed-by: prappo
2022-05-17 20:38:18 +00:00
Jan Lahoda
c0d51d42d9 8282080: Lambda deserialization fails for Object method references on interfaces
Reviewed-by: vromero, mcimadamore
2022-05-17 13:48:45 +00:00
Hannes Wallnöfer
d8455a0ad4 8268335: Find better way to exclude empty HTML elements
Reviewed-by: jjg
2022-05-17 11:25:36 +00:00
Hannes Wallnöfer
ac41b78cfb 8284367: JQuery UI upgrade from 1.12.1 to 1.13.1
Reviewed-by: jjg
2022-05-17 09:53:50 +00:00
Aleksey Shipilev
8c977050aa 8286475: Drop --enable-preview from instanceof pattern matching related tests
Reviewed-by: darcy
2022-05-17 08:49:23 +00:00
Jan Lahoda
77dfbb4570 8178701: Compile error with switch statement on protected enum defined in parent inner class
Reviewed-by: vromero
2022-05-16 11:53:09 +00:00
Jan Lahoda
0155e4b76b 8282274: Compiler implementation for Pattern Matching for switch (Third Preview)
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, vromero, abimpoudis
2022-05-16 07:49:26 +00:00
Jan Lahoda
6a1b09898d 8278039: Code completion not woking after some statements such as "if" or "while"
Reviewed-by: jlaskey
2022-05-13 11:03:17 +00:00
Jan Lahoda
11fa03f3ee 8282160: JShell circularly-required classes cannot be defined
Reviewed-by: vromero
2022-05-13 09:45:48 +00:00
Jan Lahoda
e4439ca32a 8284283: javac crashes when several transitive supertypes are missing
Reviewed-by: vromero
2022-05-12 13:40:21 +00:00
Matthias Baesken
de8f4d01b2 8286191: misc tests fail due to JDK-8285987
Reviewed-by: rriggs
2022-05-10 07:44:20 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Hannes Wallnöfer
3cdedf1ddb 8248863: Add search landing page to API documentation
Reviewed-by: jjg
2022-05-06 08:56:42 +00:00
Roger Riggs
2f995c8d2b 8286199: ProblemList jdk/jshell/ExternalEditorTest.java
Reviewed-by: dcubed
2022-05-05 20:03:42 +00:00
Hannes Wallnöfer
5ac7186c9e 8282559: Allow multiple search terms in javadoc search
Reviewed-by: jjg
2022-05-05 14:46:43 +00:00
Matthias Baesken
9d2f591e6a 8285987: executing shell scripts without #! fails on Alpine linux
Reviewed-by: mdoerr, goetz
2022-05-05 12:45:32 +00:00
Vikey Chen
7d545084f4 8283606: Tests may fail with zh locale on MacOS
Reviewed-by: iklam, rriggs
2022-05-05 00:06:24 +00:00
Liam Miller-Cushon
4d30a1e8d1 8284220: TypeMirror#toString omits enclosing class names after JDK-8281238
Reviewed-by: darcy
2022-05-04 20:25:36 +00:00
Jonathan Gibbons
28e6d805f4 8285869: Selective cleanup in doclint Checker class
Reviewed-by: iris, prappo
2022-05-04 20:23:23 +00:00
Daniel D. Daugherty
cfe67af209 8285938: ProblemList jdk/jshell/HighlightUITest.java on linux-x64
Reviewed-by: darcy, azvegint
2022-04-29 17:11:14 +00:00
Srikanth Adayapalam
1e28fcbc5f 8155701: The compiler fails with an AssertionError: typeSig ERROR
Reviewed-by: vromero
2022-04-29 05:04:23 +00:00
Jonathan Gibbons
21b62fef33 8195589: T6587786.java failed after JDK-8189997
Reviewed-by: iris, vromero
2022-04-29 00:34:26 +00:00
Jonathan Gibbons
8190217971 8285496: DocLint does not check for missing @param tags for type parameters on classes and interfaces
Reviewed-by: darcy, iris
2022-04-29 00:32:56 +00:00
Jonathan Gibbons
3312d8c620 8285756: clean up use of bad arguments for @clean in langtools tests
Reviewed-by: darcy
2022-04-27 22:22:28 +00:00
Jonathan Gibbons
20a132d460 8284994: -Xdoclint:all returns warning for records, even when documented properly
Reviewed-by: vromero
2022-04-26 15:42:18 +00:00
Jan Lahoda
4c22a9bcf9 8282823: javac should constrain more uses of preview APIs
Reviewed-by: jlaskey, mcimadamore, vromero
2022-04-25 09:10:44 +00:00
Pavel Rappo
d6b5a63577 8284908: Refine diagnostic positions for DCErroneous
Reviewed-by: jjg
2022-04-21 08:57:16 +00:00
Jonathan Gibbons
7920e8ba42 8283714: REDO - Unexpected TypeElement in ANALYZE TaskEvent
8284030: Standard Doclet should not attempt to link to primitive types

Reviewed-by: vromero, jlahoda, prappo
2022-04-12 23:33:26 +00:00
Vicente Romero
1bd8975caf 8284361: Updating ASM to 9.3 for JDK 19
Reviewed-by: mchung
2022-04-08 17:01:15 +00:00
Naoto Sato
d6b4693c05 8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
2022-04-08 15:23:25 +00:00
Pavel Rappo
dd4a1bba91 8284299: Handle inheritDoc misuse more gracefully
Reviewed-by: jjg
2022-04-06 18:56:06 +00:00
Daniel D. Daugherty
ff1daa85b0 8284380: ProblemList jdk/jshell/HighlightUITest.java on more platforms
Reviewed-by: bpb
2022-04-05 17:44:43 +00:00
Vicente Romero
36b9baa70d 8282508: Updating ASM to 9.2 for JDK 19
Reviewed-by: lancea, egahlin, mchung
2022-04-04 15:05:00 +00:00
Jan Lahoda
96179c8975 8284146: Disable jdk/jshell/HighlightUITest.java on macosx-aarch64
Reviewed-by: dcubed
2022-04-01 14:36:52 +00:00
Jan Lahoda
9156c0b213 8274148: can jshell show deprecated classes, methods and fields as strikethrough text?
Reviewed-by: vromero
2022-04-01 06:37:46 +00:00
Jaikiran Pai
ec0897ab80 8281705: SourceLauncherTest.testSystemProperty isn't being run
Reviewed-by: jjg
2022-03-31 01:09:39 +00:00
Jan Lahoda
a577656772 8282943: Unused weird key in compiler.properties
Reviewed-by: vromero
2022-03-28 14:53:14 +00:00
Jonathan Gibbons
5ca8b91898 8283713: [BACKOUT] Unexpected TypeElement in ANALYZE TaskEvent
Reviewed-by: prr
2022-03-25 23:21:08 +00:00
Jonathan Gibbons
cb012a5b62 8283648: Improve the snippet "file not found" message.
Reviewed-by: prappo
2022-03-25 21:20:02 +00:00
Jonathan Gibbons
36b36efa12 8283661: Unexpected TypeElement in ANALYZE TaskEvent
Reviewed-by: vromero, jlahoda
2022-03-25 21:16:51 +00:00
Magnus Ihse Bursie
f8878cb0cc 8257733: Move module-specific data from make to respective module
Reviewed-by: jjg, weijun, naoto, erikj, prr, alanb, mchung
2022-03-21 21:34:09 +00:00
Hannes Wallnöfer
5ba5e21fd2 8282214: Upgrade JQuery to version 3.6.0
Reviewed-by: jjg
2022-03-14 20:28:07 +00:00
Pavel Rappo
374193b6d2 8283041: [javadoc] Crashes using {@return} with @param
Reviewed-by: jjg
2022-03-11 22:41:47 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Jonathan Gibbons
b0028a459c 8272853: improve JavadocTester.runTests
Reviewed-by: hannesw
2022-03-04 21:01:52 +00:00
Joe Darcy
732d891f9f 8282411: Add useful predicates to ElementKind
Reviewed-by: prappo
2022-03-01 18:48:43 +00:00
Jan Lahoda
b03d66c501 8282452: Use of Preview API in preview methods should not trigger preview warning for the enclosing class
Reviewed-by: jlaskey
2022-03-01 15:54:10 +00:00
Pavel Rappo
eff396f397 8280713: Related to comment inheritance jdk.javadoc cleanup and refactoring
Reviewed-by: jjg
2022-03-01 12:06:11 +00:00
Aleksey Shipilev
86723d4892 8281507: Two javac tests have bad jtreg @clean tags
Reviewed-by: darcy
2022-02-28 07:35:19 +00:00
Jonathan Gibbons
0796620b07 8281944: JavaDoc throws java.lang.IllegalStateException: ERRONEOUS
Reviewed-by: hannesw
2022-02-24 14:50:06 +00:00
Jonathan Gibbons
99b8ed9dbf 8281217: Source file launch with security manager enabled fails
Reviewed-by: sundar
2022-02-23 16:49:28 +00:00
Pavel Rappo
35076af13a 8281376: Consider polymorphic methods when looking for overrides
Reviewed-by: hannesw
2022-02-23 16:17:23 +00:00
Jan Lahoda
e3365041bd 8280866: SuppressWarnings does not work properly in package-info and module-info
Reviewed-by: darcy, vromero
2022-02-18 11:04:11 +00:00
Jan Lahoda
834d55c59f 8277300: Issues with javadoc support for preview features
Reviewed-by: prappo, jjg
2022-02-18 09:41:12 +00:00
Jaikiran Pai
d4cd8dfedb 8281634: jdeps: java.lang.InternalError: Missing message: err.invalid.filters
Reviewed-by: dfuchs, naoto, mchung
2022-02-15 03:53:47 +00:00
Magnus Ihse Bursie
95f198b2b1 8274980: Improve adhoc build version strings
Reviewed-by: shade, erikj
2022-02-14 10:31:42 +00:00
Joe Darcy
6fdfe0458d 8281674: tools/javac/annotations/typeAnnotations/classfile/AnonymousExtendsTest.java fails with AssertionError
Reviewed-by: vromero
2022-02-12 01:33:41 +00:00
Joe Darcy
4032fe76dc 8281238: TYPE_USE annotations not printed in correct position in toString output
Reviewed-by: vromero
2022-02-11 21:52:16 +00:00
Jan Lahoda
4ff5824f5b 8281100: Spurious "variable might not have been initialized" with sealed class switch
Reviewed-by: vromero
2022-02-11 12:11:29 +00:00
Jonathan Gibbons
1ea01465ab 8281007: Test jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java fails after JDK-8280738
Reviewed-by: darcy
2022-02-01 00:31:19 +00:00
Jonathan Gibbons
96d0df72db 8272984: javadoc support for reproducible builds
Reviewed-by: hannesw
2022-01-31 22:54:18 +00:00
Jonathan Gibbons
ee3be0bb56 8280488: doclint reference checks withstand warning suppression
Reviewed-by: darcy
2022-01-31 22:47:46 +00:00
Jonathan Gibbons
6d242e4065 8280835: jdk/javadoc/tool/CheckManPageOptions.java depends on source hierarchy
Reviewed-by: hannesw
2022-01-27 21:58:44 +00:00
Angelos Bimpoudis
2b13341500 8036019: Insufficient alternatives listed in some errors produced by the parser
Reviewed-by: vromero
2022-01-24 15:09:17 +00:00
Jan Lahoda
18c9cb0789 8280067: Incorrect code generated for unary - on char operand
Reviewed-by: jlaskey, vromero
2022-01-24 13:52:16 +00:00
Hannes Wallnöfer
ec8b6acff3 8234682: The order of @param in the generated docs should match the method signature
Reviewed-by: prappo
2022-01-20 16:17:08 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Jan Lahoda
be0538d7c8 8278834: Error "Cannot read field "sym" because "this.lvar[od]" is null" when compiling
Reviewed-by: vromero
2022-01-19 19:03:02 +00:00
Vicente Romero
9e3f68d8f4 8279290: symbol not found error, implicit lambdas and diamond constructor invocations
Reviewed-by: jlahoda
2022-01-18 15:50:22 +00:00
Jesper Wilhelmsson
67e3d51d68 Merge 2022-01-13 01:05:45 +00:00
Liam Miller-Cushon
cfee4512f7 8273914: Indy string concat changes order of operations
Reviewed-by: vromero, jlahoda
2022-01-11 15:45:15 +00:00
Pavel Rappo
5aecb37211 8206181: ExceptionInInitializerError: improve handling of exceptions in user-provided taglets
Reviewed-by: jjg
2022-01-11 14:28:03 +00:00
Jesper Wilhelmsson
d9b1bb5860 Merge 2022-01-10 17:06:23 +00:00
Jan Lahoda
8f969a1362 8278930: javac tries to compile a file twice via PackageElement.getEnclosedElements
Reviewed-by: vromero
2022-01-10 09:30:55 +00:00
Jan Lahoda
642ab34a60 8278373: JavacTrees.searchMethod finds incorrect match
Reviewed-by: vromero, jjg
2022-01-10 08:33:46 +00:00
Vicente Romero
456bd1ed1c 8211004: javac is complaining about non-denotable types and refusing to generate the class file
Reviewed-by: jlahoda
2022-01-06 05:58:17 +00:00
Jonathan Gibbons
d52392c15e 8276892: Provide a way to emulate exceptional situations in FileManager when using JavadocTester
Reviewed-by: prappo
2021-12-24 01:48:13 +00:00
Vicente Romero
4669bcd877 8279244: test accompaning fix for JDK-8205187 is failing in Windows
Reviewed-by: dcubed, mikael
2021-12-23 21:26:31 +00:00
Jonathan Gibbons
9df200f749 8278795: Create test library and tests for langtools snippets
Reviewed-by: hannesw
2021-12-23 21:15:21 +00:00
Vicente Romero
ff2ca4f21b 8205187: javac/javadoc should not crash if no java.lang; crash message obsolete
Reviewed-by: jjg
2021-12-23 19:12:24 +00:00
Christian Stein
23fd9f15da 8271079: JavaFileObject#toUri and multi-release jars
Reviewed-by: jjg, lancea, alanb
2021-12-13 12:00:47 +00:00
Jesper Wilhelmsson
61736f81fb Merge 2021-12-10 18:42:51 +00:00
Jan Lahoda
aed3ea2043 8277634: Incorrect method name in invokedynamic
Reviewed-by: jlaskey
2021-12-10 09:01:58 +00:00
Jonathan Gibbons
3df8dc494d 8278538: Test langtools/jdk/javadoc/tool/CheckManPageOptions.java fails after the manpage was updated
Reviewed-by: dholmes
2021-12-10 05:02:28 +00:00
Joe Darcy
09831e7aa4 8273146: Start of release updates for JDK 19
8277511: Add SourceVersion.RELEASE_19
8277513: Add source 19 and target 19 to javac

Reviewed-by: dholmes, alanb, erikj, iris, mikael, ihse
2021-12-09 17:01:59 +00:00
Jan Lahoda
42d9b1baac 8277106: Cannot compile certain sources with --release
Reviewed-by: darcy, mcimadamore
2021-12-08 18:50:38 +00:00
Hannes Wallnöfer
b334d9680b 8276964: Better indicate a snippet that could not be processed
Reviewed-by: jjg
2021-12-08 07:07:57 +00:00
Pavel Rappo
a8a1fbce5b 8278068: Fix next-line modifier (snippet markup)
8277027: Treat unrecognized markup as snippet text, but warn about it

Reviewed-by: jjg
2021-12-07 18:58:08 +00:00
Liam Miller-Cushon
d7c283a081 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
Reviewed-by: jlahoda
2021-12-07 18:44:39 +00:00
Jan Lahoda
3955b037da 8277328: jdk/jshell/CommandCompletionTest.java failures on Windows
Reviewed-by: vromero
2021-12-07 18:15:25 +00:00
Jan Lahoda
ab781874b2 8277105: Inconsistent handling of missing permitted subclasses
Reviewed-by: vromero
2021-12-06 15:43:42 +00:00
Jan Lahoda
194cdf4e28 8277864: Compilation error thrown while doing a boxing conversion on selector expression
Reviewed-by: jlaskey, vromero
2021-12-06 08:42:26 +00:00
Srikanth Adayapalam
104aa1f7f9 8268575: Annotations not visible on model elements before they are generated
Reviewed-by: mcimadamore
2021-12-06 06:24:56 +00:00
Jan Lahoda
890700320a 8272234: Pass originating elements from Filer to JavaFileManager
Reviewed-by: jjg
2021-12-03 07:40:34 +00:00
Tim Prinzing
652b5f8546 8276674: Malformed Javadoc inline tags in JDK source
Reviewed-by: jjg, rriggs, prappo, bchristi
2021-12-02 20:47:29 +00:00
Liam Miller-Cushon
4f15be2cd4 8277965: Enclosing instance optimization affects serialization
Reviewed-by: darcy
2021-12-02 19:17:09 +00:00
Adam Sotona
8d9cb2efe6 8278078: Cannot reference super before supertype constructor has been called
Reviewed-by: mcimadamore
2021-12-02 15:29:26 +00:00
Hannes Wallnöfer
b79554bb5c 8278130: Failure in jdk/javadoc/tool/CheckManPageOptions.java after JDK-8274639
Reviewed-by: prappo
2021-12-02 11:33:46 +00:00
Hannes Wallnöfer
103da8fae1 8274639: Provide a way to disable warnings for cross-modular links
Reviewed-by: jjg
2021-12-02 09:40:24 +00:00
Hannes Wallnöfer
0dfb3a705d 8268582: javadoc throws NPE with --ignore-source-errors option
Reviewed-by: jjg
2021-12-01 18:19:26 +00:00
Pavel Rappo
da2be99cfe 8277026: Remove blank lines remaining from snippet markup
Reviewed-by: jjg
2021-12-01 01:25:17 +00:00
Mandy Chung
7e54d065a1 8277165: jdeps --multi-release --print-module-deps fails if module-info.class in different versioned directories
8277166: Data race in jdeps VersionHelper
8277123: jdeps does not report some exceptions correctly

Reviewed-by: jvernee, alanb
2021-11-26 01:55:58 +00:00
Pavel Rappo
e785f69961 8276124: Provide snippet support for properties files
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: jjg
2021-11-24 20:13:06 +00:00
Adam Sotona
951247c8cb 8235876: Misleading warning message in java source-file mode
Reviewed-by: vromero
2021-11-24 17:03:53 +00:00
Christian Stein
663e33de13 8272728: javac ignores any -J option in @argfiles silently
Reviewed-by: jjg
2021-11-24 16:50:25 +00:00
Jan Lahoda
d085c2b8a7 8273328: Compiler implementation for Pattern Matching for switch (Second Preview)
Reviewed-by: vromero, mcimadamore
2021-11-24 10:07:49 +00:00
Liam Miller-Cushon
ea85e01a4c 8271623: Omit enclosing instance fields from inner classes that don't use it
Reviewed-by: vromero, jlahoda
2021-11-23 18:14:47 +00:00
Jan Lahoda
8a44e093dc 8268725: jshell does not support the --enable-native-access option
Reviewed-by: sundar
2021-11-23 16:46:45 +00:00
Vicente Romero
7b67a49f83 8261847: performance of java.lang.Record::toString should be improved
Reviewed-by: jlaskey, redestad
2021-11-23 15:23:23 +00:00
Joe Darcy
4ff43010bb 8224922: Access JavaFileObject from Element(s)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jjg
2021-11-21 20:42:37 +00:00
Pavel Rappo
2ab43ec242 8273544: Increase test coverage for snippets
Reviewed-by: jjg
2021-11-19 20:51:22 +00:00
Jan Lahoda
2f20b0d8da 8273039: JShell crashes when naming variable or method "abstract" or "strictfp"
Reviewed-by: vromero
2021-11-19 07:49:58 +00:00
Sergey Bylokhov
29e552c03a 8272358: Some tests may fail when executed with other locales than the US
Reviewed-by: aivanov
2021-11-17 22:21:38 +00:00
Hannes Wallnöfer
7fc344dc96 8277028: Use service type documentation as fallback for @provides
Reviewed-by: prappo
2021-11-15 15:53:43 +00:00
Hannes Wallnöfer
9862cd07c1 8275786: New javadoc option to add script files to generated documentation
Reviewed-by: jjg
2021-11-11 09:13:49 +00:00
Jonathan Gibbons
ce3ed65ac3 8273154: Provide a JavadocTester method for non-overlapping, unordered output matching
Reviewed-by: prappo
2021-11-10 15:24:27 +00:00
Hannes Wallnöfer
055de6f566 8223358: Incorrect HTML structure in annotation pages
Reviewed-by: jjg
2021-11-09 20:11:18 +00:00
Hannes Wallnöfer
e35abe3235 8256208: Javadoc's generated overview does not show classes of unnamed package
Reviewed-by: jjg
2021-11-09 15:05:07 +00:00
Jonathan Gibbons
e383d26361 8275199: Bogus warning generated for serializable records
Reviewed-by: hannesw
2021-11-08 19:13:22 +00:00
Aleksey Shipilev
75adf54bdc 8276306: jdk/jshell/CustomInputToolBuilder.java fails intermittently on storage acquisition
Reviewed-by: jlahoda
2021-11-08 15:35:27 +00:00
Jan Lahoda
0c2d00bff7 8275097: Wrong span of the 'default' tag
Reviewed-by: vromero
2021-11-08 13:21:40 +00:00
Jan Lahoda
fa754b8ffd 8276149: jshell throws EOF error when throwing exception inside switch expression
Reviewed-by: vromero
2021-11-08 13:20:44 +00:00
Jan Lahoda
4c14eddf41 8274734: the method jdk.jshell.SourceCodeAnalysis documentation not working
Reviewed-by: vromero
2021-11-08 13:19:51 +00:00
Hannes Wallnöfer
0395e4ef8c 8276768: Snippet copy feature should use button instead of link
Reviewed-by: prappo
2021-11-08 11:35:26 +00:00
Mandy Chung
e21b5c7b37 8276650: GenGraphs does not produce deterministic output
Reviewed-by: iris
2021-11-04 23:51:18 +00:00