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
Jan Lahoda
6c0fbf70e8
8254196: jshell infinite loops when startup script contains System.exit call
...
Reviewed-by: sundar
2021-03-24 10:34:31 +00:00
Jan Lahoda
9cd21b687e
8263590: Rawtypes warnings should be produced for pattern matching in instanceof
...
Reviewed-by: mcimadamore
2021-03-18 12:37:20 +00:00
Jonathan Gibbons
f2d01521d1
8263043: Add test to verify order of tag output
...
Reviewed-by: prappo
2021-03-06 15:24:38 +00:00
Jonathan Gibbons
97557826f5
8157682: @inheritDoc doesn't work with @exception
...
Co-authored-by: Yano, Masanori <yano-masanori@jp.fujitsu.com>
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Reviewed-by: prappo
2021-03-05 15:24:44 +00:00
Jan Lahoda
94f26e4df8
8261450: JShell crashes with SIOOBE in tab completion
...
Reviewed-by: vromero
2021-03-04 12:36:34 +00:00
Jan Lahoda
6d3c858cbb
8259235: javac crashes while attributing super method invocation
...
Reviewed-by: vromero
2021-03-03 12:38:26 +00:00
Jan Lahoda
85a5ae8cb7
8261606: Surprising behavior of step over in String switch
...
Reviewed-by: vromero
2021-03-02 12:02:26 +00:00
hltj
de3f519dc9
8258897: wrong translation of capturing local classes inside nested lambdas
...
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
2021-02-26 13:09:47 +00:00
Adam Sotona
7d4f60b16b
8260403: javap should be more robust in the face of invalid class files
...
Reviewed-by: vromero
2021-02-25 16:03:04 +00:00
Jonathan Gibbons
674be87d30
8261203: Incorrectly escaped javadoc html with type annotations
...
Reviewed-by: hannesw
2021-02-25 15:37:18 +00:00
Adam Sotona
2eca17d1b1
8261457: test/langtools/tools/javac/T8187978 can fail if ArrayList class is modified
...
Reviewed-by: vromero
2021-02-25 14:59:32 +00:00
Jonathan Gibbons
fac37bf515
8262269: javadoc test TestGeneratedClasses.java fails on Windows
...
Reviewed-by: darcy
2021-02-24 03:50:25 +00:00
Daniel D. Daugherty
03e781b470
8262265: ProblemList jdk/javadoc/doclet/testGeneratedClasses/TestGeneratedClasses.java on Windows
...
Reviewed-by: rriggs, bpb
2021-02-23 21:48:05 +00:00
Jonathan Gibbons
3132b1c4b1
8261665: Clean up naming of StringContent and FixedStringContent
...
Reviewed-by: hannesw
2021-02-23 19:29:41 +00:00
Jonathan Gibbons
c30a90bb64
8261976: Normalize id's used by the standard doclet
...
Reviewed-by: hannesw
2021-02-23 18:55:13 +00:00
Jonathan Gibbons
53b15453d9
8223355: Redundant output by javadoc
...
Reviewed-by: hannesw
2021-02-23 18:27:23 +00:00
Hannes Wallnöfer
a5c4b9a6b0
8260223: Handling of unnamed package in javadoc pages
...
Reviewed-by: jjg
2021-02-23 08:42:51 +00:00
Jonathan Gibbons
c4f17a3e1d
8257925: enable more support for nested inline tags
...
Reviewed-by: prappo, hannesw
2021-02-19 15:59:05 +00:00
Hannes Wallnöfer
3210095a17
8261079: Fix support for @hidden in classes and interfaces
...
Reviewed-by: jjg
2021-02-12 09:26:42 +00:00
Hannes Wallnöfer
da9895a0a4
8261499: Simplify HTML for javadoc links
...
Reviewed-by: jjg
2021-02-12 08:32:47 +00:00
Jan Lahoda
d0a8f2f737
8260593: javac can skip a temporary local variable when pattern matching over a local variable
...
Reviewed-by: vromero
2021-02-08 09:36:29 +00:00
Jan Lahoda
90376156be
8222850: jshell tool: Misleading cascade compiler error in switch expression with undefined vars
...
Reviewed-by: vromero
2021-02-03 09:21:43 +00:00
Guoxiong Li
739bbd03c5
8260566: Pattern type X is a subtype of expression type Y message is incorrect
...
Reviewed-by: jlahoda, tvaleev
2021-01-29 18:27:03 +00:00
Vicente Romero
b2e582a882
8259905: Compiler treats 'sealed' keyword as 'var' keyword
...
Reviewed-by: jlahoda
2021-01-29 16:50:27 +00:00
Jan Lahoda
0675473486
8252409: JShell: Intersection types cause NoSuchFieldError
...
Reviewed-by: vromero
2021-01-29 09:19:14 +00:00
Guoxiong Li
0eed2c3312
8259359: javac does not attribute unexpected super constructor invocation qualifier, and may crash
...
Reviewed-by: vromero
2021-01-27 18:12:57 +00:00
Jan Lahoda
b3c8a52803
8259050: Error recovery in lexer could be improved
...
Reviewed-by: vromero
2021-01-27 11:00:12 +00:00
Guoxiong Li
23edb6f6b2
8236490: Compiler bug relating to @NonNull annotation
...
Reviewed-by: vromero, jfranck
2021-01-26 08:57:20 +00:00
Jonathan Gibbons
982e42b896
8259726: Use of HashSet leads to undefined order in test output
...
Reviewed-by: hannesw
2021-01-25 21:45:54 +00:00
Jonathan Gibbons
d6fb9d7256
8255464: Cannot access ModuleTree in a CompilationUnitTree
...
Reviewed-by: vromero
2021-01-25 21:44:58 +00:00
liach
eb7fa00690
8259216: javadoc omits method receiver for any nested type annotation
...
Reviewed-by: hannesw
2021-01-15 15:12:34 +00:00
Jan Lahoda
0ec2c969df
8259820: JShell does not handle -source 8 properly
...
Reviewed-by: sundar
2021-01-15 12:45:22 +00:00
Jesper Wilhelmsson
51e14f2e2a
Merge
2021-01-14 01:29:47 +00:00
Vicente Romero
ac4cd2e3c9
8231461: static/instance overload leads to 'unexpected static method found in unbound lookup' when resolving method reference
...
Reviewed-by: mcimadamore
2021-01-13 17:27:32 +00:00
Jan Lahoda
77ca1031a0
8257236: can't use var with a class named Z
...
Reviewed-by: sundar
2021-01-13 11:27:52 +00:00
Jonathan Gibbons
5f9cd72c54
8259645: Revert JDK-8245956 JavaCompiler still uses File API instead of Path API in a specific case
...
Reviewed-by: chegar
2021-01-12 19:57:08 +00:00
Jesper Wilhelmsson
b378f54df3
Merge
2021-01-12 01:08:14 +00:00
Jonathan Gibbons
c956e7a69c
8258659: Eliminate whitespace comments from generated pages
...
Reviewed-by: hannesw
2021-01-11 18:46:52 +00:00
Jonathan Gibbons
2cb271e691
8253996: Javac error on jdk16 build 18: invalid flag: -Xdoclint:-missing
...
Reviewed-by: hannesw
2021-01-11 17:35:50 +00:00
Guoxiong Li
33fbc10cb8
8259025: Record compact constructor using Objects.requireNonNull
...
Reviewed-by: attila
2021-01-11 13:50:53 +00:00
Jan Lahoda
235488215b
8250768: javac should be adapted to changes in JEP 12
...
Reviewed-by: mcimadamore, erikj, jjg, ihse
2021-01-11 10:10:47 +00:00
Guoxiong Li
697bf7ab51
8257740: Compiler crash when compiling type annotation on multicatch inside lambda
...
Reviewed-by: vromero
2021-01-08 13:56:07 +00:00
Jesper Wilhelmsson
56a354eb55
Merge
2021-01-07 23:51:21 +00:00
Jesper Wilhelmsson
555641ede5
Merge
2021-01-07 21:17:35 +00:00
Vicente Romero
acdd90b699
8258972: unexpected compilation error with generic sealed interface
...
Reviewed-by: jlahoda
2021-01-07 16:38:53 +00:00
Yoshiki Sato
28e1f4d9ee
8247957: remove doclint support for HTML 4
...
8257204: Remove usage of -Xhtmlversion option from javac
8256313: JavaCompilation.gmk needs to be updated not to use --doclint-format html5 option
8258460: Remove --doclint-format option from javac
8256312: Valid anchor 'id' value not allowed
Reviewed-by: jjg, ihse
2021-01-06 22:48:00 +00:00
Jonathan Gibbons
4f914e21c4
8249633: doclint reports missing javadoc for JavaFX property methods that have a property description
...
Reviewed-by: hannesw
2021-01-06 19:26:17 +00:00
Jonathan Gibbons
eef43be71c
8251200: False positive messages about missing comments for serialization
...
Reviewed-by: hannesw
2021-01-06 18:52:59 +00:00
Guoxiong Li
7d769663b3
8255757: Javac emits duplicate pool entries on array::clone
...
Reviewed-by: vromero
2021-01-05 22:21:19 +00:00
Vicente Romero
d529306722
8213032: program fails with LambdaConversionException at execution time
...
Reviewed-by: jlahoda
2021-01-05 21:35:47 +00:00
Jan Lahoda
4ffbe841fc
8256266: Binding variables don't correctly support declaration annotations and the final modifier
...
Reviewed-by: mcimadamore
2021-01-05 11:40:25 +00:00
Guoxiong Li
8435f0daf2
8258525: Some existing tests should use /nodynamiccopyright/ instead of the standard header
...
Reviewed-by: jjg
2020-12-30 17:20:54 +00:00
Jesper Wilhelmsson
07c93fab85
Merge
2020-12-29 05:24:20 +00:00
Guoxiong Li
881bceb9a3
8258662: JDK 17ea: Crash compiling instanceof check involving sealed interface
...
Reviewed-by: vromero
2020-12-28 15:32:02 +00:00
Guoxiong Li
97c99b5d7d
8216400: improve handling of IOExceptions in JavaCompiler.close()
...
8069116: improve fatal error handling in JavaCompiler
Reviewed-by: jjg
2020-12-26 17:30:39 +00:00
Jonathan Gibbons
e2aa724a67
8258941: Test specify the Classpath exception in the header
...
Reviewed-by: vromero
2020-12-24 17:32:25 +00:00
Jesper Wilhelmsson
57217b58bf
Merge
2020-12-24 08:28:24 +00:00
Jonathan Gibbons
c398a8281a
8258916: javac/doclint reports broken HTML on multiline mailto links
...
Reviewed-by: jlaskey, iris
2020-12-24 04:52:49 +00:00
Vicente Romero
23b83c518d
8253954: javac crash when compiling code with enhanced switch expressions with option -Xjcov
...
Reviewed-by: jjg
2020-12-24 01:24:32 +00:00
Guoxiong Li
01d51a101a
8231622: SuppressWarning("serial") ignored on field serialVersionUID
...
Reviewed-by: jjg
2020-12-21 17:50:21 +00:00
Jesper Wilhelmsson
d234388042
Merge
2020-12-21 09:09:05 +00:00
Jonathan Gibbons
c04c7e1f10
8258002: Update "type" terminology in generated docs
...
Reviewed-by: hannesw
2020-12-18 18:34:25 +00:00
Hannes Wallnöfer
45bd3b9ec0
8223607: --override-methods=summary ignores some signature changes
...
Reviewed-by: jjg
2020-12-18 15:46:25 +00:00
Jesper Wilhelmsson
f15528eb64
Merge
2020-12-17 20:41:37 +00:00
Jonathan Gibbons
30ca0a5d4b
8247994: Localize javadoc search
...
Reviewed-by: hannesw, ihse
2020-12-17 18:34:27 +00:00
Vicente Romero
47c180da43
8258515: javac should issue an error if an annotation is nested in a local class or interface
...
Reviewed-by: jjg
2020-12-17 18:08:35 +00:00
Guoxiong Li
41f312eb64
8254023: A module declaration is not allowed to be a target of an annotation that lacks an @Target meta-annotation
...
Reviewed-by: jfranck, vromero
2020-12-17 08:06:35 +00:00
Jesper Wilhelmsson
11bd7a814f
Merge
2020-12-17 03:04:19 +00:00
Jonathan Gibbons
ce0ab2dd84
8258338: Support deprecated records
...
Reviewed-by: hannesw
2020-12-16 22:26:57 +00:00
Stuart Marks
47ba652d5a
8258455: problem list tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java
...
Reviewed-by: dholmes, darcy
2020-12-16 04:13:28 +00:00
Jesper Wilhelmsson
381021aebf
Merge
2020-12-15 03:40:30 +00:00
Hannes Wallnöfer
164c8a6e18
8258092: Link to early access platform documentation in TestHtmlTableTags.java
...
Reviewed-by: jjg
2020-12-14 08:08:57 +00:00
Igor Ignatyev
164c55be78
8258056: jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java fails against jdk17
...
Reviewed-by: jwilhelm
2020-12-10 20:21:35 +00:00
Joe Darcy
6be1f5671e
8257450: Start of release updates for JDK 17
...
8257451: Add SourceVersion.RELEASE_17
8257453: Add source 17 and target 17 to javac
Reviewed-by: dholmes, erikj, iris, mikael, jjg, jlahoda, jwilhelm, mchung, ihse
2020-12-10 16:46:28 +00:00
Guoxiong Li
46c9a860b6
8245956: JavaCompiler still uses File API instead of Path API in a specific case
...
Reviewed-by: jjg
2020-12-09 21:09:23 +00:00
Harold Seigel
d33a689b96
8256867: Classes with empty PermittedSubclasses attribute cannot be extended
...
Reviewed-by: lfoltan, mchung, jlahoda, chegar
2020-12-09 19:07:11 +00:00
Jan Lahoda
bd22aa5e86
8229862: NPE in jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0(Code.java:570)
...
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: vromero
2020-12-09 16:49:50 +00:00
Jan Lahoda
6eff9315e1
8256950: Add record attribute support to symbol generator CreateSymbols
...
Reviewed-by: jjg, chegar
2020-12-09 15:05:01 +00:00
Hannes Wallnöfer
b4615c67a3
8256580: Fault in new grid display
...
Reviewed-by: jjg
2020-12-09 09:21:50 +00:00
Jonathan Gibbons
b29f9cd7b0
8075778: Add javadoc tag to avoid duplication of return information in simple situations.
...
Reviewed-by: prappo, jlahoda
2020-12-08 23:25:08 +00:00
Dan Smith
48d8650ae1
8257845: Integrate JEP 390
...
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Jan Lahoda
d0c526513d
8256149: Weird AST structure for incomplete member select
...
Reviewed-by: vromero
2020-12-08 13:09:15 +00:00
Jan Lahoda
51ac37686c
8256411: Based anonymous classes have a weird end position
...
Reviewed-by: vromero
2020-12-08 08:38:24 +00:00
Vicente Romero
6ff18e38b4
8257855: Example SafeVarargsNotApplicableToRecordAccessors breaks test tools/javac/diags/CheckExamples.java
...
Reviewed-by: jjg
2020-12-08 04:07:38 +00:00
Vicente Romero
b4b9828cb0
8254784: javac should reject records with @SafeVarargs applied to varargs record component
...
Reviewed-by: mcimadamore
2020-12-07 16:45:51 +00:00
Guoxiong Li
2c04fc02c9
8257037: No javac warning when calling deprecated constructor with diamond
...
Reviewed-by: mcimadamore
2020-12-07 13:51:33 +00:00
Jan Lahoda
637b0c64b0
8246778: Compiler implementation for Sealed Classes (Second Preview)
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Reviewed-by: lfoltan, mchung, alanb, mcimadamore, chegar
2020-12-07 11:11:31 +00:00