43682 Commits

Author SHA1 Message Date
Jan Lahoda
308a2b9f90 8176045: No compile error when a package is not declared
Fixing handling of otherwise empty files with package clauses and empty files without package clauses.

Reviewed-by: jjg
2017-03-14 08:19:41 +01:00
Jan Lahoda
d60b98466f 8175057: module-info on patch path should not produce an error
Allowing module-infos on patch paths during compilation.

Reviewed-by: jjg, ksrini
2017-03-14 07:11:45 +01:00
Kumar Srinivasan
4d045d7e88 8176539: javadoc ignores module-info files on the command line
Reviewed-by: jjg
2017-03-13 17:02:18 -07:00
Kumar Srinivasan
184170ae2c 8175219: javadoc should exit when it encounters compilation errors
Reviewed-by: jjg, bpatel
2017-03-13 16:46:17 -07:00
Jonathan Gibbons
9e93e201f6 8176492: @since value errors in java.compiler module
Reviewed-by: darcy
2017-03-13 11:27:30 -07:00
Bhavesh Patel
fb7e444407 8174974: Annotation type pages generated by javadoc is missing module information
Reviewed-by: jjg, ksrini
2017-03-13 10:59:56 -07:00
Bhavesh Patel
7a72caecad 8175799: module summary page shows duplicated output
Reviewed-by: jjg, ksrini
2017-03-13 09:55:31 -07:00
Vicente Romero
50644d73dd 8175198: Javac incorrectly allows receiver parameters in annotation methods
Reviewed-by: mcimadamore
2017-03-10 09:52:49 -08:00
Joe Darcy
8588a8563d 8176482: Use of DirectiveVisitor needs @DefinedBy annotation for RunCodingRules.java
Reviewed-by: jlahoda
2017-03-09 23:42:32 -08:00
Jonathan Gibbons
c2409501ae 8176470: javac Pretty printer should include doc comment for modules
Reviewed-by: vromero
2017-03-09 18:53:23 -08:00
Joe Darcy
749914e687 8176477: Use DirectiveVisitor to print module information
Reviewed-by: jjg
2017-03-09 18:33:47 -08:00
Lana Steuck
e837893b3a Merge 2017-03-09 23:15:55 +00:00
Jonathan Gibbons
1aa88debf6 8176331: Simplify new doclet packages
Reviewed-by: ksrini
2017-03-09 13:46:40 -08:00
Lana Steuck
d3c6e4a94f Added tag jdk-9+160 for changeset 336ca6c49e10 2017-03-09 21:35:20 +00:00
Robert Field
a6a8595d7e 8176412: jshell tool: automatic imports are excluded on /reload causing it to fail
Reviewed-by: jlahoda
2017-03-09 08:45:21 -08:00
Vicente Romero
498dbceaf4 8175235: type inference regression after JDK-8046685
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2017-03-09 06:34:06 -08:00
Maurizio Cimadamore
90d03330a1 8176265: Method overload resolution on a covariant base type doesn't work in 9
Some type mappings should not be recursive

Reviewed-by: vromero, jlahoda
2017-03-09 12:08:02 +00:00
Jan Lahoda
3d264c5a76 8072114: javac performance should be improved
Avoiding unnecessary use of Stream.empty().

Reviewed-by: mcimadamore
2017-03-08 20:42:17 +01:00
Maurizio Cimadamore
5d4a22554a 8175317: javac does not issue unchecked warnings when checking method reference return types
Missing Warner object on method reference return type check

Reviewed-by: vromero
2017-03-08 14:21:13 +00:00
Srikanth Adayapalam
3998cf36b8 8175184: Annotation processor observes interface private methods as default methods
Reviewed-by: mcimadamore
2017-03-08 13:17:07 +05:30
Mandy Chung
b93beff9b7 8176333: jdeps error message should include a proper MR jar file name
Reviewed-by: lancea
2017-03-07 18:57:19 -08:00
Kumar Srinivasan
9617bfb0f6 8175860: javadoc crashes with incorrect module sourcepath
Reviewed-by: jjg
2017-03-07 18:37:17 -08:00
Jonathan Gibbons
558b587367 8176131: Simplify new Taglet API
Reviewed-by: ksrini
2017-03-07 15:20:43 -08:00
Joe Darcy
683950a9eb 8176266: Make visitUnknown specification more explicit
Reviewed-by: jlahoda
2017-03-07 08:43:29 -08:00
Robert Field
4eb4827f6a 8176241: JShell tests: on full builds CompletionSuggestionTest.testImportStart() fails
Reviewed-by: darcy
2017-03-06 15:44:37 -08:00
Robert Field
826a40c57a 8175304: JShell tool: The /reset command hangs after setting a startup script
Reviewed-by: jlahoda
2017-03-06 08:57:41 -08:00
Robert Field
a4cbfe0dac 8176184: JShell tests: jdk/jshell/CompletionSuggestionTest.testImportStart(): failure
Reviewed-by: jlahoda
2017-03-06 08:36:05 -08:00
Jan Lahoda
2d911bad19 8175560: Drop String pkgName from javax.tools.JavaFileManager.getLocationForModule(Location location, JavaFileObject fo, String pkgName)
Reviewed-by: jjg
2017-03-06 13:17:33 +01:00
Jonathan Gibbons
e1d9daf27f 8175118: Revisit modeling of module directives
Reviewed-by: darcy, jlahoda
2017-03-03 15:43:08 -08:00
Robert Field
54adf4b246 8175886: JShell: crash on tab-complete with NPE
Reviewed-by: jlahoda
2017-03-03 10:58:08 -08:00
Vicente Romero
e94e5d35bf 8175790: field JCVariableDecl.vartype can't be null after post attribution analysis
Reviewed-by: mcimadamore
2017-03-03 09:58:11 -08:00
Lana Steuck
6a7ffcd667 Added tag jdk-9+159 for changeset 3ea5514d9fbe 2017-03-02 21:16:18 +00:00
Kumar Srinivasan
3aa07bbfdf 8175990: Javac fails to find module-info.java if module source path contains symlinks
Reviewed-by: jjg
2017-02-28 13:57:39 -08:00
Kumar Srinivasan
b320d61bdb 8175055: Errors reported by Arguments.validate should (probably) be fatal
Reviewed-by: jjg
2017-02-25 18:02:06 -08:00
Jonathan Gibbons
8ef02f7acc 8173914: StandardJavaFileManager.setLocationForModule
Reviewed-by: jlahoda
2017-02-24 15:23:14 -08:00
Joe Darcy
f6a360f3d5 8175786: Fix small doc issues
Reviewed-by: jjg, jlahoda
2017-02-23 13:28:55 -08:00
Lana Steuck
ebf2535a6a Merge 2017-02-23 17:30:09 +00:00
Lana Steuck
20cc823ac0 Added tag jdk-9+158 for changeset a6dc784b18a8 2017-02-23 16:21:30 +00:00
Alexandre Iline
4e5c184c0e Merge 2017-02-23 05:40:53 -08:00
Joe Darcy
52c656a350 8175335: Improve handling of module types in javax.lang.model.util.Types
Reviewed-by: jjg, abuckley
2017-02-22 12:01:15 -08:00
Alexandre Iline
0defcd0141 8151220: Extend sample API to use modules
Reviewed-by: ksrini
2017-02-21 15:38:07 -08:00
Li Jiang
3bc6b3808b 8172956: JDK9 message drop 30 l10n resource file updates - open
Reviewed-by: joehw, mchung, smarks, sherman, henryjen
2017-02-21 06:02:37 -08:00
Vicente Romero
a82c165dd5 8174805: JavacTrees should use Types.skipTypeVars() to get the upper bound of type variables
Reviewed-by: jjg, ksrini
2017-02-16 14:47:39 -08:00
Jonathan Gibbons
ed6e5e0187 8175048: javadoc does not decode options containing '=' and ':' correctly
Reviewed-by: ksrini
2017-02-16 12:49:44 -08:00
Lana Steuck
e9fc6a8286 Merge 2017-02-16 18:29:03 +00:00
Lana Steuck
d9169e1248 Added tag jdk-9+157 for changeset 8d8593871575 2017-02-16 17:13:01 +00:00
Amy Lu
c1a7b8e306 8174059: langtools test failed again on win32 with the trial reversion changes for limited win32 address space
Reviewed-by: darcy
2017-02-16 13:38:09 +08:00
Jonathan Gibbons
103bce2074 8175047: javadoc should support --help-extra as a synonym for -X
Reviewed-by: ksrini
2017-02-15 18:30:31 -08:00
Kumar Srinivasan
c5656c1c76 8173308: JAVAC_OPTIONS should be updated to align with JAVA_OPTIONS
Reviewed-by: jjg
2017-02-15 18:07:28 -08:00
Mandy Chung
7a9ab1c3a3 8173374: Update GenGraphs tool to generate dot graph with requires transitive edges
Reviewed-by: dfuchs, redestad
2017-02-15 16:18:18 -08:00