2439 Commits

Author SHA1 Message Date
Lana Steuck
565e136bef Merge 2017-03-16 20:46:52 +00:00
Lana Steuck
fd3dd40015 Merge 2017-03-13 19:58:38 +00: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
Jonathan Gibbons
1aa88debf6 8176331: Simplify new doclet packages
Reviewed-by: ksrini
2017-03-09 13:46:40 -08: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
826a40c57a 8175304: JShell tool: The /reset command hangs after setting a startup script
Reviewed-by: jlahoda
2017-03-06 08:57:41 -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
253fdcd0b2 8175191: dead code removal at package com.sun.tools.javac.comp
Reviewed-by: mcimadamore
2017-03-03 10:37:53 -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
Vicente Romero
402575576f 8167638: javac can improve the error message issued when IllegalAccessError is produced
Reviewed-by: jjg
2017-03-01 16:38:48 -08: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
ba78c19fac Merge 2017-02-23 17:22:32 +00: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
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
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
Kumar Srinivasan
bb1db91db4 8174839: javadoc crashes with a method which does not override a super
Reviewed-by: jjg
2017-02-15 14:25:50 -08:00
Jonathan Gibbons
6873ceb82c 8173596: JavaCompiler.CompilationTask should support addModules
Reviewed-by: ksrini, jlahoda
2017-02-15 14:12:29 -08:00
Bhavesh Patel
8dfb222edf 8151743: Header can still disappear behind the navbar
Reviewed-by: jjg, ksrini
2017-02-15 11:55:16 -08:00
Jan Lahoda
286a28f834 8175038: Wrong note about multiple type/package elements being found
Avoiding quoting by a single '.

Reviewed-by: jjg
2017-02-15 20:31:16 +01:00
Kumar Srinivasan
dfa7ec7ad8 8173804: javadoc throws UnsupportedOperationException: should not happen
Reviewed-by: jjg
2017-02-15 11:23:52 -08:00
Kumar Srinivasan
388550d1a4 8174715: Javadoc fails on JDK 7 and JDK 8 sources with StringIndexOutOfBoundsException
Reviewed-by: jjg
2017-02-15 09:50:26 -08:00
Jan Lahoda
8a2de9b69b 8175007: Incorrect error messages for inaccessible classes in visible packages
Recovery lookup may be triggered for inaccessible classes in visible packages - providing better errors.

Reviewed-by: mcimadamore
2017-02-15 11:27:03 +01:00
Vicente Romero
48b3288060 8174243: incorrect error message for nested service provider
Reviewed-by: jjg, jlahoda
2017-02-14 15:45:17 -08:00
Hamlin Li
ce8df4ca58 8174695: Fix @since in module-info.java in dev/langtools repo
Reviewed-by: mcimadamore
2017-02-13 18:19:36 -08:00
Joe Darcy
45f1992dba 8174860: Fix bad javadoc link in javax.tools.JavaFileManager
Reviewed-by: jjg
2017-02-13 12:59:11 -08:00
Robert Field
fb170dede9 8174857: jshell tool: /help /set truncation -- confusing indentation
Reviewed-by: jjg
2017-02-13 12:14:23 -08:00