Commit Graph

74 Commits

Author SHA1 Message Date
Maurizio Cimadamore
3534ed0379 8191802: Upward projection result is A<? extends Number> instead of A<? super Integer>
Code in Types.TypeProjection doesn't match the latest spec text

Reviewed-by: vromero
2017-11-29 17:31:23 +00:00
Jan Lahoda
7cdac47d37 8191981: javac crash when detecting lambda candidates
Ensuring proper positions on the testing AST nodes created by Analyzer.

Reviewed-by: mcimadamore
2017-11-29 14:41:09 +01:00
Bhavesh Patel
6912165887 8185369: Clean up the javadoc stylesheet
Reviewed-by: jjg
2017-11-28 20:19:29 -08:00
Maurizio Cimadamore
93438246bc 8178427: NPE in Infer$CheckUpperBounds
Void target-type causes a crash during overload resolution

Reviewed-by: vromero
2017-11-28 18:51:55 +00:00
Jan Lahoda
9bb2c5a0b3 8133616: compiler error messages for dup single type, single static import switched
When reporting clashing imports, use the (non-)staticness of the original import to generate the error message.

Reviewed-by: mcimadamore
2017-11-27 19:29:00 +01:00
Mandy Chung
8cc39f4a10 Merge 2017-11-27 19:20:17 -08:00
Joe Darcy
14a3a70439 8191234: TypeKindVisitor needs to handle modules
Reviewed-by: jjg
2017-11-27 18:00:56 -08:00
Mandy Chung
26727aebf4 8190911: tools/jdeps/MultiReleaseJar.java failed with java.lang.IllegalThreadStateException
Reviewed-by: bpb
2017-11-27 14:41:59 -08:00
Vicente Romero
030e675ed3 8185451: Misleading 'cannot be accessed from outside package' diagnostic for inconsistent varargs override
Reviewed-by: mcimadamore
2017-11-27 13:26:31 -05:00
Vicente Romero
18f70cfdd2 8185983: Javac should reject TypeArguments on field access expression
Reviewed-by: mcimadamore
2017-11-27 10:40:42 -05:00
Maurizio Cimadamore
e196ae9be6 8191834: Assigning a void expression to a "var" crashes the compiler
Local variable type inference should give error on void initializers

Reviewed-by: sundar
2017-11-24 16:14:33 +00:00
Jan Lahoda
fea6c39ce2 8178109: More useful documentation on /help
For /help <command/subject>, show the help for the command/subject directly.

Reviewed-by: rfield
2017-11-23 19:44:13 +01:00
Srikanth Adayapalam
14e7d88c9e 8191655: LambdaConversionException: Invalid receiver type interface; not a subtype of implementation type interface
Reviewed-by: mcimadamore
2017-11-22 18:07:53 +05:30
Chris Yin
44f7f54e90 8191631: Problem list jdk/jshell/StartOptionTest.java, jdk/jshell/ToolProviderTest.java and jdk/jshell/ExternalEditorTest.java temporarily
Reviewed-by: rfield
2017-11-21 23:38:53 +00:00
Kumar Srinivasan
2af00f5da9 8180019: javadoc should treat failure to access URL as an error, not a warning
Reviewed-by: jjg
2017-11-21 13:17:06 -08:00
Jonathan Gibbons
3b8e460a1a 8156694: javap should render annotations in a friendly way
Reviewed-by: mcimadamore
2017-11-21 13:06:43 -08:00
Jan Lahoda
905ead0ac3 8191112: javac OutOfMemoryError caused by \"-Xlint:exports\" option
When validating type visibility, ignore transitive automatic modules dependencies.

Reviewed-by: abuckley, jjg
2017-11-21 10:26:45 +01:00
Srikanth Adayapalam
dfaa92ca05 8189659: Anonymous subtype of raw type causes VerifyError
Reviewed-by: mcimadamore
2017-11-21 13:27:12 +05:30
Priya Lakshmi Muthuswamy
acc6539ad3 8034258: Don't use binary testing class files
Reviewed-by: jjg, ksrini
2017-11-20 20:49:56 -08:00
Kumar Srinivasan
53ee22647f 8187588: Error generating using JDK 9 javadoc against a JDK 8 source repository
Reviewed-by: jjg
2017-11-20 16:50:22 -08:00
Vicente Romero
eeb940463b 8175883: bytecode generated for the enhanced for loop may block memory garbage collecting
Reviewed-by: mcimadamore
2017-11-20 17:07:21 -05:00
Vicente Romero
cffac90ef9 8190906: tools/javac/failover/CheckAttributedTree.java failed with timeout
Reviewed-by: jjg, mcimadamore
2017-11-20 14:45:11 -05:00
Jonathan Gibbons
1e9c354dca 8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed
Reviewed-by: bpatel
2017-11-17 18:37:37 -08:00
Jonathan Gibbons
5963e3d359 8190819: Merge HtmlWriter into HtmlDocument
Reviewed-by: bpatel, ksrini
2017-11-16 15:12:13 -08:00
Jonathan Gibbons
7a89adf1a8 8190818: Introduce a new Script builder class
Reviewed-by: bpatel, ksrini
2017-11-16 15:06:17 -08:00
Jonathan Gibbons
fbd053bd26 8190295: Introduce a new Table builder class
Reviewed-by: bpatel, ksrini
2017-11-16 15:01:45 -08:00
Phil Race
fca05b5e6e Merge 2017-11-16 10:45:42 -08:00
Robert Field
c0689879a7 8177076: jshell tool: allow non-zero /exit
8190383: JShell API: no way for the jshell tool to report exit status to provider

Reviewed-by: jlahoda
2017-11-14 19:33:37 -08:00
Robert Field
846d6be95c 8172154: jshell tool: make all IMPORTS.jsh generated at build time
Reviewed-by: jlahoda
2017-11-14 10:45:22 -08:00
Bhavesh Patel
616491477f 8185371: Support for multiple stylesheets in javadoc
Reviewed-by: jjg, ksrini
2017-11-14 13:44:07 -08:00
Jan Lahoda
7a77a63845 8180744: Update ct.sym for JDK 10
Adding historical data and code support for --release 9.

Reviewed-by: jjg, mcimadamore
2017-11-06 14:10:39 +01:00
Jan Lahoda
5f97b69390 8139607: -release option forces StandardJavaFileManager
Merging a --release specific file manager with the user-provided one, rather than altering the user-provided one.

Reviewed-by: jjg, mcimadamore
2017-11-06 13:10:43 +01:00
Phil Race
158e69f6ec Merge 2017-11-03 09:56:02 -07:00
Robert Field
022c618af9 8188072: JShell: NPE in SourceCodeAnalysis.completionSuggestions()
Reviewed-by: jlahoda
2017-11-02 11:09:28 -07:00
Phil Race
aa96056b21 Merge 2017-11-01 10:00:38 -07:00
Jan Lahoda
de261554f7 8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing
Constant annotation attribute values should be allowed.

Reviewed-by: vromero
2017-11-01 16:45:28 +01:00
John Jiang
3d220f8d74 8190399: ProblemList tools/javac/tree/NoPrivateTypesExported.java due to JDK-8190315
Tools/javac/tree/NoPrivateTypesExported.java fails permanently due to JDK-8190315, so ProblemList has to include this test.

Reviewed-by: darcy
2017-11-01 10:49:21 +08:00
Maurizio Cimadamore
f48f3c6552 8189838: Stack overflow when computing upward projection of an intersection type with fbounds
Bad logic for detecting loop in type-variable upper bounds

Reviewed-by: vromero
2017-10-26 18:42:40 +01:00
Jonathan Gibbons
46e1e763c1 8190003: Special characters in group names should be escaped
Reviewed-by: ksrini, bpatel
2017-10-25 18:12:15 -07:00
Jonathan Gibbons
917c6d460b 8190182: remove accidental file
Reviewed-by: ksrini
2017-10-25 17:48:30 -07:00
Jonathan Gibbons
19db6ba670 8189843: Missing \"id\" attributes in table rows
Reviewed-by: bpatel, ksrini
2017-10-25 17:18:00 -07:00
Jonathan Gibbons
cf81232570 8189841: Error in alternate row coloring in package-summary files
Reviewed-by: bpatel, ksrini
2017-10-25 17:16:18 -07:00
Phil Race
62fa58101a Merge 2017-10-25 12:41:24 -07:00
Bhavesh Patel
5c2a4b6e1a 8183037: Overview summary page should have a table with tabs for groups
Reviewed-by: jjg, ksrini
2017-10-25 12:29:00 -07:00
Robert Field
7ce7347fd2 8179856: jshell tool: not suitable for pipeline use
8186708: jshell tool: bad load file garbles message and does not abort

Reviewed-by: jlahoda
2017-10-24 20:33:36 -07:00
Robert Field
19fbc4c08c 8187359: JShell: Give comprehensible error when user method name matches Object method
Reviewed-by: jlahoda
2017-10-20 19:08:25 -07:00
Jan Lahoda
a663434be7 8189796: Incorrect end position for missing statement
Recording end positions for error trees representing missing statements.

Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: mcimadamore
2017-10-24 12:07:27 +02:00
Kumar Srinivasan
3733761695 8157000: Do not generate javadoc for overridden method with no spec change
Reviewed-by: jjg
2017-10-19 20:27:47 -07:00
Jan Lahoda
d84d8f1cc5 8188035: JavaFileManager.listLocationsForModules does not always reflect values set through StandardJavaFileManager.setLocationForModule
Prepending explictely set module locations in listLocationsForModules.

Reviewed-by: jjg
2017-10-19 10:59:02 +02:00
Mandy Chung
9ebc72545b 8189202: (jdeps) Need jdeps output format easy for jlink --add-modules to use
Reviewed-by: sundar
2017-10-17 10:32:01 -07:00