Commit Graph

121 Commits

Author SHA1 Message Date
David Holmes
7cd32cad89 8193838: Update jtreg requiredVersion to 4.2 b11 for JDK 11 and 12 support
Reviewed-by: alanb, sspitsyn
2017-12-20 22:36:21 -05:00
Paul Sandoz
038b5f571c 8191913: Bump classfile version number to 55
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: dholmes, darcy
2017-12-20 09:14:06 -08:00
Maurizio Cimadamore
ede41aa311 8057650: uniform error diagnostics for inconsistent inherited method signatures
Consolidate diagnostics for bad overrides

Reviewed-by: vromero
2017-12-20 15:33:31 +00:00
Phil Race
f06ebe9b3a Merge 2017-12-19 13:58:31 -08:00
Liam Miller-Cushon
47158e4313 8007720: Names are not loaded correctly for method parameters if the parameters have annotations
8177486: Incorrect handling of mandated parameter names in MethodParameters attributes

Reviewed-by: jlahoda, vromero
2017-12-19 16:24:25 -05:00
Phil Race
a755f466eb Merge 2017-12-19 13:02:39 -08:00
Robert Field
e1069d367d 8179858: jshell tool: sync nomenclature from reference to online /help
Reviewed-by: dlsmith, jjg
2017-12-19 11:37:00 -08:00
Joe Darcy
691eb78732 8173382: Add -source 11 and -target 11 to javac
8193291: Add SourceVersion.RELEASE_11

Reviewed-by: jjg, erikj, psandoz
2017-12-18 18:51:40 -08:00
Phil Race
b1bede0343 Merge 2017-12-18 10:28:43 -08:00
Jonathan Gibbons
1a5f4b8fa2 8193525: Intermittent failures of TestModulePackages.java
Reviewed-by: darcy
2017-12-14 13:16:33 -08:00
Jonathan Gibbons
5bcb718441 8178070: duplicate entries in package table
Reviewed-by: bpatel, ksrini
2017-12-13 17:27:43 -08:00
Jonathan Gibbons
be25eb7f0e 8191054: Remove the Native-Header Tool (javah)
Reviewed-by: darcy, mcimadamore, ksrini
2017-12-13 14:49:48 -08:00
Robert Field
9ecafd93f5 8188894: jdk/jshell/ToolShiftTabTest.java failed with IllegalStateException
Reviewed-by: jlahoda
2017-12-13 14:21:12 -08:00
Phil Race
4b727d4f18 Merge 2017-12-13 10:25:38 -08:00
Robert Field
c1d0d6d51d 8162989: jshell tool: /edit with external editor leaks files in /tmp
Reviewed-by: jlahoda
2017-12-11 21:56:34 -08:00
Phil Race
ee9c644643 Merge 2017-12-11 10:08:51 -08:00
Jan Lahoda
390de69601 8189778: Jshell crash on tab for StringBuilder.append(
Fixing handling of {@inheritDoc} in JShell's documentation.

Reviewed-by: jjg, ksrini
2017-12-11 18:33:53 +01:00
Bhavesh Patel
1bf16ef2db 8164407: Add module support for -link and -linkoffline javadoc option
Reviewed-by: jjg, ksrini
2017-12-13 12:45:06 -08:00
Jan Lahoda
f9431b7d26 8189782: com.sun.tools.javac.api.JavacTool.isSupportedOption misreports number of arguments consumed
Returning the number of standalone arguments from com.sun.tools.javac.api.JavacTool.isSupportedOption.

Reviewed-by: jjg
2017-12-08 16:28:14 +01:00
Srikanth Adayapalam
18e476899c 8182401: Verification error for enclosing instance capture inside super constructor invocation
Reviewed-by: vromero
2017-12-11 06:58:14 +05:30
Robert Field
e08ffc05d9 8192863: jshell tool: /<id><tab> gives "No such command"
Reviewed-by: jlahoda
2017-12-07 13:23:18 -08:00
Jan Lahoda
17b766fb1d 8191636: [Windows] jshell tool: Wrong character in /env class-path command crashes jshell
Fixing handling of invalid paths.

Reviewed-by: rfield
2017-12-13 11:27:28 +01:00
Kumar Srinivasan
05d1149d5e 8192850: method summary tables of inherited methods improperly list static interface methods
Reviewed-by: jjg
2017-12-12 20:18:14 -08:00
Kumar Srinivasan
ddb9702c14 8193107: javadoc complains about empty module
Reviewed-by: jjg
2017-12-12 14:16:24 -08:00
Mandy Chung
0b0340fe0f 8193192: jdeps --generate-module-info does not look at module path
Reviewed-by: dfuchs
2017-12-12 11:31:38 -08:00
Srikanth Adayapalam
ac4e5933a6 8193142: Regression: ClassCastException: Type$ErrorType cannot be cast to Type$ArrayType
Reviewed-by: mcimadamore
2017-12-12 18:40:31 +05:30
Robert Field
5252da0f37 8192979: jshell tool: Online help text for commands is confusing
Reviewed-by: jlahoda
2017-12-05 11:04:42 -08:00
Robert Field
3d3780d2e8 8191455: jdk/jshell/StartOptionTest.java and jdk/jshell/ToolProviderTest.java failed after changeset e0f08a
8191456: jdk/jshell/ExternalEditorTest.java testStatementMush() failure

Reviewed-by: jlahoda
2017-12-04 17:15:38 -08:00
Maurizio Cimadamore
686d74f11e 8189749: Devise strategy for making source level checks more uniform
Create a 'feature' enum which is responsible for handling source version checks and related diagnostic generation

Reviewed-by: jjg, jlahoda
2017-12-04 17:54:49 +00:00
Jonathan Gibbons
da3e01d1ce 8034252: Fix non ASCII text file T6302184.java
Reviewed-by: ksrini
2017-12-01 16:58:11 -08:00
Kumar Srinivasan
c30bc22a0e 8034254: Don't use binary testing files broken.jar
Reviewed-by: jjg
2017-12-07 21:07:12 -08:00
Kumar Srinivasan
7604d1d515 8149402: "-group" option issue for classes from default package
Reviewed-by: jjg
2017-12-07 14:21:25 -08:00
Kumar Srinivasan
900f2c016d 8191030: @value Tags are not resolved by javadoc 9
Reviewed-by: jjg
2017-12-07 14:15:14 -08:00
Joe Darcy
62d672208a 8193191: Update JavacTestingAbstractProcessor for JDK 10
Reviewed-by: jjg
2017-12-07 11:00:32 -08:00
Jan Lahoda
9f07305ab6 8189248: Jshell: error with mutually dependent snippets, when one must be replaced
Ensuring proper imports are generated for mutually dependent snippets if one of them is replaced.

Reviewed-by: rfield
2017-12-07 19:24:27 +01:00
Kumar Srinivasan
7892014147 8192933: Wrong generic type parameter in serialized form javadoc
Reviewed-by: jjg
2017-12-06 15:14:13 -08:00
Kumar Srinivasan
a53a1b7844 8191078: Wrong "Package not found" warning
Reviewed-by: jjg, jlahoda
2017-12-06 11:43:50 -08:00
Vicente Romero
8c50b3e660 8192885: Compiler in JDK 10-ea+33 misses to include entry in LineNumberTable for goto instruction of foreach loop
Reviewed-by: mcimadamore
2017-12-06 13:36:34 -05:00
Kumar Srinivasan
47d1a91754 8185985: Html files in doc-files directories should be wrapped with standard header and footer
Reviewed-by: jjg
2017-11-30 06:14:25 -08:00
Kumar Srinivasan
e3c574e026 8190552: Augment the Compiler API tree with APIs to represent HTML content
Reviewed-by: jjg, jlahoda
2017-11-30 04:43:09 -08:00
Kumar Srinivasan
581c28572a 8182108: javadoc makes up type variables for grandparent types
Reviewed-by: jjg
2017-11-29 15:27:47 -08:00
Phil Race
625c3fd013 Merge 2017-11-29 09:47:02 -08:00
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
Phil Race
586b13cdb6 Merge 2017-11-29 09:07:01 -08: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
Phil Race
dcaa7f90ba Merge 2017-11-27 10:35:05 -08: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