Guoxiong Li
7ab12856c4
8267610: NPE at at jdk.compiler/com.sun.tools.javac.jvm.Code.emitop
...
8268748: Javac generates uncorrect bytecodes when using nested pattern variables
Reviewed-by: jlahoda, vromero
2021-06-24 23:07:43 +00:00
Vicente Romero
7e96318a1f
8254571: Erroneous generic type inference in a lambda expression with a checked exception
...
Reviewed-by: jlahoda, mcimadamore
2021-06-23 17:13:09 +00:00
Jan Lahoda
bf70620745
8268961: Parenthesized pattern with guards does not work
...
8268896: Parenthesized pattern is not guarded by source level check
Reviewed-by: vromero
2021-06-23 10:16:42 +00:00
Joel Borggrén-Franck
0b8a0e2b58
8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint
...
Reviewed-by: vromero
2021-06-21 08:39:35 +00:00
Jesper Wilhelmsson
a051e735cd
Merge
2021-06-18 00:53:09 +00:00
Jonathan Gibbons
0011b52ee8
8264843: Javac crashes with NullPointerException when finding unencoded XML in <pre> tag
...
Reviewed-by: hannesw
2021-06-17 16:37:35 +00:00
Jonathan Gibbons
69d01b6bca
8249899: jdk/javadoc/tool/InlineTagsWithBraces.java uses @ignore w/o bug-id
...
8249897: jdk/javadoc/tool/LangVers.java uses @ignore w/o bug-id
8249898: jdk/javadoc/tool/6176978/T6176978.java uses @ignore w/o bug-id
Reviewed-by: hannesw
2021-06-17 14:09:11 +00:00
Jesper Wilhelmsson
3637e50b30
Merge
2021-06-17 01:05:54 +00:00
Jonathan Gibbons
2c7e47e12b
8268774: Residual logging output written to STDOUT, not STDERR
...
Reviewed-by: prappo, hannesw
2021-06-16 18:03:48 +00:00
Jesper Wilhelmsson
e0f6f70d3f
Merge
2021-06-15 22:45:28 +00:00
Jan Lahoda
35d867df1f
8268663: Crash when guards contain boolean expression
...
Reviewed-by: vromero
2021-06-15 09:04:35 +00:00
Guoxiong Li
bca914b29e
8268670: yield statements doesn't allow ~ or ! unary operators in expression
...
Reviewed-by: vromero, jlahoda
2021-06-14 19:02:23 +00:00
Jan Lahoda
abe20c188c
8268333: javac crashes when pattern matching switch contains default case which is not last
...
Reviewed-by: vromero
2021-06-14 14:25:32 +00:00
Joe Darcy
b018c450e5
8267630: Start of release updates for JDK 18
...
8267632: Add source 18 and target 18 to javac
8267631: Add SourceVersion.RELEASE_18
Reviewed-by: iris, erikj, dholmes
2021-06-10 16:22:14 +00:00
Vicente Romero
bb3d226a4e
8238213: Method resolution should stop on static error
...
Reviewed-by: jlahoda
2021-06-09 15:56:55 +00:00
Hannes Wallnöfer
4dd0e7e78a
8259806: Clean up terminology on the "All Classes" page
...
Reviewed-by: jjg
2021-06-08 18:49:31 +00:00
Hannes Wallnöfer
dc6c96bbaf
8263468: New page for "recent" new API
...
Reviewed-by: erikj, jjg
2021-06-08 18:22:16 +00:00
Jonathan Gibbons
fafc4d9764
8268352: Rename javadoc Messager class to JavadocLog
...
Reviewed-by: prappo
2021-06-08 17:23:17 +00:00
Joel Borggrén-Franck
2717fcb134
8232948: javac -h should mangle the overload argument signature
...
Reviewed-by: jjg
2021-06-08 10:51:19 +00:00
Weijun Wang
a91f971266
8268267: Remove -Djavatest.security.noSecurityManager=true from jtreg runs
...
Reviewed-by: lancea, jjg, erikj
2021-06-07 13:58:49 +00:00
Vicente Romero
4f9d6b7d68
8267465: remove superfluous preview related annotations and test options
...
Reviewed-by: jlahoda
2021-06-07 13:57:15 +00:00
David Holmes
8130be561b
8268318: Missing comma in copyright header
...
Reviewed-by: stefank
2021-06-07 10:23:12 +00:00
Hannes Wallnöfer
6d1f3ac749
8149138: [javadoc] Fix SerialFormBuilder eliminate String bashing
...
Reviewed-by: jjg
2021-06-07 08:43:27 +00:00
Jan Lahoda
908aca29ca
8262891: Compiler implementation for Pattern Matching for switch (Preview)
...
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, forax, godin, psandoz, mchung
2021-06-07 07:01:30 +00:00
Jonathan Gibbons
6ff978ac16
8267204: Expose access to underlying streams in Reporter
...
Reviewed-by: prappo
2021-06-05 00:05:17 +00:00
Joel Borggrén-Franck
9bf347bc1f
8226362: langtools ProblemList file contains more than 1 entry for a test
...
Reviewed-by: jlahoda
2021-06-03 07:51:30 +00:00
Jonathan Gibbons
e9f3e325c2
8259530: Generated docs contain MIT/GPL-licenced works without reproducing the licence
...
Reviewed-by: prappo
2021-06-02 22:45:58 +00:00
Jonathan Gibbons
3482cb87fd
8266254: Update to use jtreg 6
...
8265020: tests must be updated for new TestNG module name
Reviewed-by: lancea, erikj, mchung, naoto, alanb, iris, chegar
2021-06-02 21:20:12 +00:00
Guoxiong Li
b7ac705dd6
8263642: javac emits duplicate checkcast for first bound of intersection type in cast
...
Reviewed-by: vromero
2021-06-02 17:17:31 +00:00
Jonathan Gibbons
e1462e79df
8267176: StandardDoclet should provide access to Reporter and Locale
...
Reviewed-by: hannesw
2021-06-02 16:56:45 +00:00
Jan Lahoda
19450b9951
8266281: Assign Symbols to the package selector expression
...
Reviewed-by: vromero
2021-06-02 11:16:10 +00:00
Jan Lahoda
de6472c441
8267459: Pasting Unicode characters into JShell does not work.
...
Reviewed-by: vromero
2021-06-02 09:55:06 +00:00
Jan Lahoda
9247630a0d
8265270: Type.getEnclosingType() may fail with CompletionFailure
...
Reviewed-by: vromero
2021-06-02 09:53:31 +00:00
Joe Darcy
0ae4ceb413
8244146: javac changes for JEP 306
...
8266399: Core libs update for JEP 306
Reviewed-by: sadayapalam, bpb, naoto
2021-06-01 21:59:39 +00:00
Jan Lahoda
2c8e94f680
8247403: JShell: No custom input (e.g. from GUI) possible with JavaShellToolBuilder
...
Reviewed-by: vromero
2021-05-31 09:25:16 +00:00
Jonathan Gibbons
0754266044
8267709: Investigate differences between HtmlStyle and stylesheet.css
...
Reviewed-by: hannesw
2021-05-27 15:01:03 +00:00
Guoxiong Li
10a6f5d637
8230623: Extract command-line help for -Xlint sub-options to new --help-lint
...
Reviewed-by: jjg
2021-05-27 14:04:56 +00:00
Pavel Rappo
4343997a1a
8267708: Remove references to com.sun.tools.javadoc.**
...
This commit changes BaseOptions.java to fix the NoStringToLower test that failed after jdk.javadoc has been added to the list of package prefixes that NoStringToLower scans.
Reviewed-by: jjg
2021-05-26 11:27:15 +00:00
Jan Lahoda
f632254943
8267221: jshell feedback is incorrect when creating method with array varargs parameter
...
Reviewed-by: vromero
2021-05-26 11:12:22 +00:00
Jonathan Gibbons
b4d4884c03
8267126: javadoc should show "line and caret" for diagnostics.
...
Reviewed-by: prappo
2021-05-25 01:33:13 +00:00
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Vicente Romero
f5562f1214
8258535: jvm.ClassReader should set the accessor to the corresponding record component
...
Reviewed-by: jfranck
2021-05-24 14:50:22 +00:00
Jan Lahoda
ec8a8097c3
8267119: switch expressions lack support for deferred type-checking
...
Reviewed-by: mcimadamore
2021-05-21 14:09:42 +00:00
Jonathan Gibbons
e094f3f856
8266856: Make <wbr> element void
...
Reviewed-by: prappo, iris, vromero
2021-05-21 00:31:04 +00:00
Vicente Romero
81f39ed3e0
8261205: AssertionError: Cannot add metadata to an intersection type
...
Reviewed-by: mcimadamore
2021-05-20 17:53:00 +00:00
liach
459abd561a
8267219: Javadoc method summary breaks when {@inheritDoc} from an empty parent
...
Reviewed-by: hannesw
2021-05-20 12:44:55 +00:00
Vicente Romero
7dcb9fda89
8265684: implement Sealed Classes as a standard feature in Java, javadoc changes
...
Reviewed-by: jjg
2021-05-20 09:23:14 +00:00
Vicente Romero
0fa9223f34
8260517: implement Sealed Classes as a standard feature in Java
...
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: dholmes, mcimadamore, jlahoda
2021-05-20 09:11:08 +00:00
Hannes Wallnöfer
66ab6d86d1
8264181: javadoc tool Incorrect error message about malformed link
...
Reviewed-by: prappo
2021-05-19 17:17:50 +00:00
Guoxiong Li
e858dd6197
8267361: JavaTokenizer reads octal numbers mistakenly
...
Reviewed-by: jlaskey
2021-05-19 12:50:54 +00:00
Vicente Romero
b8856b1c47
8263614: javac allows local variables to be accessed from a static context
...
Reviewed-by: mcimadamore
2021-05-17 15:03:32 +00:00
Hannes Wallnöfer
ea36836573
8267236: Versioned platform link in TestMemberSummary.java
...
Reviewed-by: prappo
2021-05-17 14:43:49 +00:00
Maurizio Cimadamore
dd5a84c68c
8267162: Add jtreg test group definitions for langtools
...
Reviewed-by: jjg
2021-05-17 12:55:34 +00:00
Guoxiong Li
17ceef97c3
8266819: Separate the stop policies from the compile policies completely
...
Reviewed-by: mcimadamore
2021-05-13 10:22:13 +00:00
Guoxiong Li
accbfeaf22
8226216: parameter modifiers are not visible to javac plugins across compilation boundaries
...
Reviewed-by: jlahoda
2021-05-12 14:32:57 +00:00
Hannes Wallnöfer
97367c01c1
8266808: Search label still uses old search field id
...
Reviewed-by: prappo
2021-05-12 08:32:29 +00:00
Guoxiong Li
ed32e02c05
8241187: ToolBox::grep should allow for negative filtering
...
Reviewed-by: vromero
2021-05-12 01:01:29 +00:00
Jan Lahoda
8468001f88
8263452: Javac slow compilation due to algorithmic complexity
...
Reviewed-by: vromero, jfranck
2021-05-11 10:06:04 +00:00
Hannes Wallnöfer
8851cb653f
8266779: Use <wbr> instead of ZERO_WIDTH_SPACE
...
Reviewed-by: prappo
2021-05-10 20:25:43 +00:00
Hannes Wallnöfer
c6aa8f19ac
8232644: bugs in serialized-form.html
...
Reviewed-by: jjg
2021-05-07 15:34:53 +00:00
Jonathan Gibbons
947d69df04
8265042: javadoc HTML files not generated for types nested in records
...
Reviewed-by: hannesw
2021-05-07 14:51:03 +00:00
Vicente Romero
946b0fe19a
8266645: javac should not check for sealed supertypes in intersection types
...
Reviewed-by: mcimadamore
2021-05-07 14:38:18 +00:00
Hannes Wallnöfer
e0c86884e5
8262992: Improve @see
output
...
Reviewed-by: jjg
2021-05-07 10:45:48 +00:00
Hannes Wallnöfer
d2b53509c0
8263507: Improve structure of package summary pages
...
Reviewed-by: jjg
2021-05-07 10:44:02 +00:00
Hannes Wallnöfer
2dcbedf92a
8266044: Nested class summary should show kind of class or interface
...
Reviewed-by: jjg
2021-05-06 14:55:00 +00:00
Hannes Wallnöfer
f07bb2f4b9
8250766: javadoc adds redundant spaces when @see program element is wrapped
...
Reviewed-by: prappo
2021-05-05 14:01:01 +00:00
Jan Lahoda
a8046c9157
8266436: Synthetic constructor trees have non-null return type
...
Reviewed-by: vromero
2021-05-05 10:31:11 +00:00
Hannes Wallnöfer
07ecd421d1
8258602: JavaDoc field summary does not indicate final modifier
...
Reviewed-by: jjg
2021-04-30 09:48:09 +00:00
Hannes Wallnöfer
4d77171540
8249903: jdk/javadoc/doclet/testSerializedForm/TestSerializedForm.java needs to be updated after 8146022 got closed
...
Reviewed-by: jjg
2021-04-30 07:47:39 +00:00
Jan Lahoda
f0f6b0d919
8266027: The diamond finder does not find diamond candidates in field initializers
...
Reviewed-by: jfranck, vromero
2021-04-29 14:55:28 +00:00
Jan Lahoda
8072ea5628
8238173: jshell - switch statement with a single default not return cause syntax error
...
Reviewed-by: vromero
2021-04-29 14:54:39 +00:00
Jan Lahoda
df7f0b4671
8198317: Enhance JavacTool.getTask for flexibility
...
Co-authored-by: Guoxiong Li <lgxbslgx@gmail.com>
Reviewed-by: jfranck
2021-04-29 09:38:24 +00:00
Mandy Chung
b3b2bb2875
8265773: incorrect jdeps message "jdk8internals" to describe a removed JDK internal API
...
Reviewed-by: alanb
2021-04-28 17:34:43 +00:00
Jan Lahoda
0a4c33826d
8263432: javac may report an invalid package/class clash on case insensitive filesystems
...
Reviewed-by: vromero
2021-04-27 08:55:59 +00:00
Vladimir Kozlov
4785e112ae
8264806: Remove the experimental JIT compiler
...
Reviewed-by: iignatyev, erikj
2021-04-27 06:23:21 +00:00
Guoxiong Li
2b09ff219e
8232765: NullPointerException at Types.eraseNotNeeded() when compiling a class
...
Reviewed-by: mcimadamore
2021-04-26 14:13:13 +00:00
Jesper Steen Møller
83364a4b4a
8264258: Unknown lookups in the java package give misleading compilation errors
...
Reviewed-by: sadayapalam
2021-04-26 11:53:27 +00:00
Hannes Wallnöfer
a85f6cbbaa
8265613: False positives for "Related Packages"
...
Reviewed-by: jjg
2021-04-26 07:53:35 +00:00
Guoxiong Li
4b7f027407
8231179: Investigate why tools/javac/options/BCPOrSystemNotSpecified.java fails on Window
...
Reviewed-by: vromero
2021-04-24 02:18:31 +00:00
Guoxiong Li
d87a4c3b56
8239596: PARAMETER annotation on receiver type does not cause error
...
Reviewed-by: vromero
2021-04-24 02:17:39 +00:00
Guoxiong Li
657f103937
8057543: Replace javac's Filter with Predicate (and lambdas)
...
Reviewed-by: mcimadamore
2021-04-22 16:44:29 +00:00
Guoxiong Li
07a7510d87
8200145: Conditional expression mistakenly treated as standalone
...
Reviewed-by: mcimadamore
2021-04-21 14:36:47 +00:00
Daniel D. Daugherty
888d80b5e2
8265358: ProblemList jdk/jshell/ToolBasicTest.java on macOS-aarch64
...
8265361: ProblemList a few compiler/whitebox tests on macos-aarch64
8265363: ProblemList java/net/Socket/UdpSocket.java on macos-aarch64
8265368: ProblemList 3 java/net/httpclient/websocket tests on macos-aarch64
8265370: ProblemList java/net/MulticastSocket/Promiscuous.java on macos-aarch64
Reviewed-by: bpb, mikael
2021-04-16 20:21:15 +00:00
Guoxiong Li
cee4f1d9c4
8203925: tools/javac/importscope/T8193717.java ran out of java heap
...
Reviewed-by: vromero
2021-04-16 15:38:46 +00:00
Vicente Romero
0b1b5c8d0b
8264373: javac hangs when annotation is declared with sealed public modifier
...
Reviewed-by: jlahoda
2021-04-15 19:07:11 +00:00
Jan Lahoda
325eecbccb
8255273: jshell crashes with UnsupportedOperationException: Should not get here.
...
Reviewed-by: vromero
2021-04-15 16:17:35 +00:00
Jan Lahoda
e43aee58e1
8262900: ToolBasicTest fails to access HTTP server it starts
...
Reviewed-by: sundar, vromero
2021-04-15 15:16:11 +00:00
Joe Darcy
863feab998
8005295: Use mandated information for printing of repeating annotations
...
Reviewed-by: jjg
2021-04-09 22:02:34 +00:00
Guoxiong Li
57f1e7d934
8264696: Multi-catch clause causes compiler exception because it uses the package-private supertype
...
Reviewed-by: vromero
2021-04-08 21:34:51 +00:00
Joe Darcy
ccefa5e378
8261625: Add Elements.isAutomaticModule(ModuleElement)
...
Reviewed-by: vromero, jlahoda
2021-04-08 21:25:17 +00:00
Jonathan Gibbons
e8eda655bb
8264664: use text blocks in javac module tests
...
Reviewed-by: darcy
2021-04-03 01:18:00 +00:00
Jan Lahoda
fdfa1dda08
8264306: Non deterministic generation of java/lang/invoke/MemberName.class
...
Reviewed-by: shade, jfranck
2021-04-01 11:38:45 +00:00
Jonathan Gibbons
f17ea9e66b
8262899: TestRedirectLinks fails
...
Reviewed-by: prappo
2021-03-29 16:12:49 +00:00
Jie Fu
b8122d6e3b
8264220: jdk/javadoc/doclet/testRelatedPackages/TestRelatedPackages.java fails to compile
...
Reviewed-by: hannesw
2021-03-26 13:12:14 +00:00
Hannes Wallnöfer
f69afba527
8263300: add HtmlId for the block containing a class's description.
...
Reviewed-by: jjg
2021-03-25 08:59:29 +00:00
Hannes Wallnöfer
d82464f851
8263528: Make static page ids safe from collision with language elements
...
Reviewed-by: jjg
2021-03-25 08:56:49 +00:00
Hannes Wallnöfer
a9d287a667
8260388: Listing (sub)packages at package level of API documentation
...
Reviewed-by: jjg
2021-03-25 08:51:50 +00:00
Jonathan Gibbons
0ff81682e6
8258957: DocLint: check for HTML start element at end of body
...
Reviewed-by: vromero
2021-03-24 23:58:16 +00:00
Jonathan Gibbons
1a13c9ef83
8263473: Update annotation terminology (2)
...
Reviewed-by: hannesw
2021-03-24 20:13:01 +00:00
Jonathan Gibbons
3e751a5a9c
8263198: javadoc HELP page
...
Reviewed-by: hannesw
2021-03-24 19:51:35 +00:00