Commit Graph

1130 Commits

Author SHA1 Message Date
Hannes Wallnöfer
7c996d572c 8269401: Merge "Exceptions" and "Errors" into "Exception Classes"
Reviewed-by: jjg
2021-10-28 10:41:49 +00:00
Joe Darcy
6a466fe7ae 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields
8160675: Issue lint warning for non-serializable non-transient instance fields in serializable type

Reviewed-by: erikj, sspitsyn, jlahoda, vromero, rriggs, smarks
2021-10-21 21:11:01 +00:00
Weijun Wang
c24fb852f2 8275512: Upgrade required version of jtreg to 6.1
Reviewed-by: ihse, iignatyev, joehw, lancea, jjg, mchung
2021-10-19 21:04:14 +00:00
Vicente Romero
fd10f1996e 8275302: unexpected compiler error: cast, intersection types and sealed
Reviewed-by: jlahoda
2021-10-19 16:46:14 +00:00
Jonathan Gibbons
96fef40b82 8189591: No way to locally suppress doclint warnings
Reviewed-by: hannesw, prappo
2021-10-16 03:04:11 +00:00
Hannes Wallnöfer
8d9004b7f4 8274781: Use monospace font for enclosing interface
Reviewed-by: prappo
2021-10-14 12:19:26 +00:00
Jan Lahoda
b870468bdc 8274347: Passing a *nested* switch expression as a parameter causes an NPE during compile
Reviewed-by: vromero
2021-10-11 12:38:08 +00:00
Jonathan Gibbons
734d1fbd33 8274211: Test man page that options are documented
Reviewed-by: prappo
2021-10-06 22:40:44 +00:00
Hannes Wallnöfer
cdf89304ea 8274625: Search field placeholder behavior
Reviewed-by: prappo
2021-10-06 09:28:37 +00:00
Christoph Langer
47262670f3 8274642: jdk/jshell/CommandCompletionTest.java fails with NoSuchElementException after JDK-8271287
Reviewed-by: jlahoda
2021-10-05 21:06:52 +00:00
Joe Darcy
c391e59ea6 8274244: ReportOnImportedModuleAnnotation.java fails on rerun
Reviewed-by: jjg
2021-10-05 17:31:57 +00:00
Hannes Wallnöfer
e1f0df0de3 8267853: Remove unused styles from stylesheet
Reviewed-by: prappo
2021-10-05 16:57:12 +00:00
Jonathan Gibbons
4e3948f18b 8274744: TestSnippetTag test fails after recent integration
Reviewed-by: prappo
2021-10-05 15:27:02 +00:00
Jonathan Gibbons
92b64a2053 8273745: VerifyLocale.java occasionally times out
Reviewed-by: prappo
2021-10-05 15:21:44 +00:00
Jan Lahoda
a5080effc7 8272564: Incorrect attribution of method invocations of Object methods on interfaces
Reviewed-by: jlaskey, mcimadamore, vromero
2021-10-05 10:17:24 +00:00
Jonathan Gibbons
75d6688df9 8274745: ProblemList TestSnippetTag.java
Reviewed-by: prappo
2021-10-04 19:00:21 +00:00
Jonathan Gibbons
0ca094bc5f 8273244: Improve diagnostic output related to ErroneousTree
Reviewed-by: prappo
2021-10-04 16:59:30 +00:00
Jonathan Gibbons
6f727d831d 8274666: rename HtmlStyle.descfrmTypeLabel to be less cryptic
Reviewed-by: hannesw
2021-10-04 16:58:23 +00:00
Adam Sotona
139a8334cb 8268869: java in source-file mode suggests javac-only Xlint flags
Reviewed-by: jjg
2021-10-04 15:48:09 +00:00
Jan Lahoda
292d7bb1d5 8274363: Transitively sealed classes not considered exhaustive in switches
Reviewed-by: vromero
2021-10-01 08:54:18 +00:00
Jan Lahoda
1887028408 8269113: Javac throws when compiling switch (null)
Co-authored-by: Guoxiong Li <gli@openjdk.org>
Reviewed-by: vromero
2021-10-01 08:53:04 +00:00
Masanori Yano
bb95dda0ac 8248001: javadoc generates invalid HTML pages whose ftp:// links are broken
Reviewed-by: hannesw
2021-09-30 11:33:21 +00:00
Jonathan Gibbons
5b0c9ccc49 8274172: Convert JavadocTester to use NIO
Reviewed-by: prappo
2021-09-28 23:53:49 +00:00
Jonathan Gibbons
e741a18062 8274233: Minor cleanup for ToolBox
Reviewed-by: iris
2021-09-24 15:44:13 +00:00
Hannes Wallnöfer
1d44014171 8273034: Make javadoc navigation collapsible on small displays
Reviewed-by: jjg
2021-09-24 08:51:55 +00:00
Jan Lahoda
71788c69db 8271287: jdk/jshell/CommandCompletionTest.java fails with "lists don't have the same size expected"
Reviewed-by: vromero
2021-09-22 12:53:57 +00:00
Jan Lahoda
ba7d550c6e 8270139: jshell InternalError crash for import of @Repeatable followed by unresolved ref
Reviewed-by: vromero
2021-09-22 12:52:31 +00:00
Pavel Rappo
0fc47e99d2 8266666: Implementation for snippets
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: jjg
2021-09-21 15:53:35 +00:00
Aleksey Shipilev
1f8af524ff 8273314: Add tier4 test groups
Reviewed-by: serb, iignatyev
2021-09-20 14:02:07 +00:00
Jan Lahoda
699865f76c 8259039: Passing different version to --release flag than javac version output warning
Reviewed-by: jjg
2021-09-20 13:43:14 +00:00
Guoxiong Li
e07ab82ee5 8273408: java.lang.AssertionError: typeSig ERROR on generated class property of record
Reviewed-by: vromero
2021-09-17 05:34:25 +00:00
Guoxiong Li
fe89dd3b0d 8271254: javac generates unreachable code when using empty semicolon statement
Reviewed-by: vromero
2021-09-14 14:46:21 +00:00
Jan Lahoda
b0d04976bd 8273584: TypeElement.getSuperclass crashes for a record TypeElement when j.l.Record is not available
Reviewed-by: vromero
2021-09-13 09:24:06 +00:00
Vicente Romero
dd1209e4ae 8268885: duplicate checkcast when destination type is not first type of intersection type
Reviewed-by: jlahoda
2021-09-09 18:36:17 +00:00
Jonathan Gibbons
4d5e1ed958 8272375: Improve phrasing of synthesized descriptions in JavaFX docs
Reviewed-by: kcr, prappo
2021-09-08 17:38:05 +00:00
Aleksey Shipilev
267c61a16a 8273361: InfoOptsTest is failing in tier1
Reviewed-by: jpai, ihse, jlahoda
2021-09-08 16:36:31 +00:00
Jan Lahoda
70157c78a8 8272135: jshell: Method cannot use its overloaded version
Reviewed-by: vromero
2021-09-07 09:50:10 +00:00
Vicente Romero
ff4018bc86 8268148: unchecked warnings handle ? and ? extends Object differently
Reviewed-by: jlahoda
2021-09-03 15:20:23 +00:00
Vicente Romero
8c37909274 8273234: extended 'for' with expression of type tvar causes the compiler to crash
Reviewed-by: jlahoda
2021-09-03 13:11:27 +00:00
Guoxiong Li
d05494f98b 8266239: Some duplicated javac command-line options have repeated effect
Reviewed-by: vromero
2021-09-03 09:33:17 +00:00
Jan Lahoda
93eec9a103 8272776: NullPointerException not reported
Reviewed-by: vromero
2021-09-03 09:31:54 +00:00
Jan Lahoda
7b023a3f60 8273257: jshell doesn't compile a sealed hierarchy with a sealed interface and a non-sealed leaf
Reviewed-by: vromero
2021-09-03 09:30:56 +00:00
Jan Lahoda
f17ee0c5c7 8273263: Incorrect recovery attribution of record component type when j.l.Record is unavailable
Reviewed-by: vromero
2021-09-03 09:29:45 +00:00
Joe Darcy
2f01a6f8b6 8273157: Add convenience methods to Messager
Reviewed-by: jjg
2021-09-01 20:28:05 +00:00
Vicente Romero
75d987a0dd 8262095: NPE in Flow$FlowAnalyzer.visitApply: Cannot invoke getThrownTypes because tree.meth.type is null
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: jlahoda
2021-08-31 15:40:17 +00:00
Guoxiong Li
a9188f237e 8268894: forged ASTs can provoke an AIOOBE at com.sun.tools.javac.jvm.ClassWriter::writePosition
Reviewed-by: vromero
2021-08-29 07:26:08 +00:00
Jonathan Gibbons
d34f17c697 8270195: Add missing links between methods of JavaFX properties
Reviewed-by: kcr, hannesw
2021-08-24 16:10:25 +00:00
Jonathan Gibbons
94f5e441f6 8271258: @param with non-ascii variable names produces incorrect results
Reviewed-by: hannesw
2021-08-24 14:41:24 +00:00
Jonathan Gibbons
1884072474 8265253: javac -Xdoclint:all gives "no comment" warning for code that can't be commented
Reviewed-by: hannesw
2021-08-23 17:31:29 +00:00
Vicente Romero
14623cde3a 8270835: regression after JDK-8261006
Reviewed-by: jlahoda
2021-08-17 20:47:36 +00:00