Commit Graph

4268 Commits

Author SHA1 Message Date
Stuart Marks
15098a44ad 8169203: (jdeprscan) eliminate duplicate "can't find class" errors
Reviewed-by: jjg
2017-04-26 15:49:33 -07:00
Bhavesh Patel
0a6bfe2343 8166306: Broken link for All Packages in java.jnlp module
Reviewed-by: jjg, ksrini
2017-04-26 08:15:40 -07:00
Jonathan Gibbons
5c0906b9eb 8179299: Fix HTML 5 errors in java.compiler module
8179300: Fix HTML 5 errors in jdk.compiler module
8179301: Fix HTML 5 errors in jdk.javadoc module
8179303: Fix HTML 5 errors in jdk.jshell module

Reviewed-by: darcy
2017-04-25 18:35:24 -07:00
Stuart Marks
d6bf03fe8e 8168444: (jdeprscan) improper handling of primitives and primitive array types
Reviewed-by: psandoz, jjg
2017-04-25 16:14:35 -07:00
Lana Steuck
9b6754868e Merge 2017-04-25 08:22:04 +00:00
Lana Steuck
af3ba5e1a3 Added tag jdk-10+1 for changeset add9e8c9b20b 2017-04-25 07:38:51 +00:00
Jonathan Gibbons
4a269851c9 8176327: javac produces wrong module-info
8178518: Add method JavaFileManager.contains

Reviewed-by: jlahoda
2017-04-24 14:59:43 -07:00
Jan Lahoda
b60b8e2c9b 8179002: jdk/jshell/MergedTabShiftTabExpressionTest.java fails intermittently
Handle incomming byte arrays in batches, to avoid unnecessary matching.

Reviewed-by: rfield
2017-04-24 18:58:50 +02:00
Lana Steuck
f08e4ba1b8 Merge 2017-04-22 00:21:51 +00:00
Jonathan Gibbons
27f5ce975c Merge 2017-04-21 13:58:57 -07:00
Robert Field
6c5591c8d2 8178992: jshell tool: missing references in /help /set mode
Reviewed-by: jlahoda
2017-04-21 12:27:02 -07:00
John Jiang
96e7b53d9a 8179066: Add jdk/jshell/MergedTabShiftTabExpressionTest.java to ProblemList due to JDK-8179002
Reviewed-by: rfield
2017-04-21 19:33:57 +02:00
Lana Steuck
8b25dc1c89 Merge 2017-04-21 03:34:47 +00:00
Jonathan Gibbons
bac720cfeb 8178017: JDK 9 change to symlink handling causes misleading class.public.should.be.in.file diagnostic
Reviewed-by: jlahoda, cushon
2017-04-20 16:13:40 -07:00
Kumar Srinivasan
c2950b9c7b 8178830: standard doclet: -javafx option should be unhidden
Reviewed-by: bpatel, jjg
2017-04-20 14:37:15 -07:00
Lana Steuck
9c69434cc0 Added tag jdk-9+166 for changeset 7f959abfee57 2017-04-20 18:14:07 +00:00
Jan Lahoda
26b474c933 8178481: jdk/jshell/CompletionSuggestionTest.java routinely fails
Depending on the test order, the completion after 'import c<tab>' may include additional entries besides 'com', only checking 'com' is present.

Reviewed-by: rfield
2017-04-20 13:43:03 +02:00
Bhavesh Patel
e1b0c0ab27 8176452: Javadoc UI style issue with index in description
Reviewed-by: jjg, ksrini
2017-04-19 10:26:48 -07:00
Jan Lahoda
f92855c682 8178012: Finish removal of -Xmodule:
Changing -Xmodule: option to -XD-Xmodule:, setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: jjg
2017-04-19 13:38:36 +02:00
Jan Lahoda
c71e9e0626 8178035: MergedTabShiftTabTest sometimes time outs
Splitting MergedTabShiftTabTest into two tests, increasing timeout.

Reviewed-by: rfield
2017-04-19 11:36:44 +02:00
Jonathan Gibbons
2114b9fa01 8157763: update links to technotes in javadoc API
Reviewed-by: ksrini
2017-04-18 15:03:57 -07:00
Joe Darcy
87fe8f2200 8178916: Update annotation processing API for terminology changes in modules
Reviewed-by: jjg
2017-04-18 13:43:34 -07:00
Kumar Srinivasan
95a54a6519 8178904: javadoc jdk/javadoc/doclet/testModules/TestIndirectExportsOpens.java fails
Reviewed-by: jjg
2017-04-18 13:39:04 -07:00
Kumar Srinivasan
6ca7f21e55 8178339: javadoc includes qualified opens in "Additional Opened Packages" section
Reviewed-by: jjg
2017-04-18 06:29:53 -07:00
Jonathan Gibbons
b8c3c011ae 8162917: langtools/test/tools/javadoc/CompletionError.java is not runnable
Reviewed-by: ksrini
2017-04-17 17:03:19 -07:00
Jonathan Gibbons
0cd70bbdc1 8161295: javac, cleanup use of ModuleTestBase
Reviewed-by: ksrini
2017-04-17 15:28:37 -07:00
Jonathan Gibbons
1396390608 8176801: tools/javac/platform/PlatformProviderTest.java sensitive to warnings sent to stderr
Reviewed-by: ksrini
2017-04-17 15:08:45 -07:00
Jonathan Gibbons
4b7795c6d5 8178509: MODULE_SOURCE_PATH: Implement missing methods
8178493: StandardJavaFileManager: Clarify/document the use of IllegalStateException

Reviewed-by: jlahoda
2017-04-17 14:16:07 -07:00
Bhavesh Patel
2eae0f6566 8175823: doclet crashes when documenting a single class in a module
Reviewed-by: jjg, ksrini
2017-04-14 17:23:55 -07:00
Jonathan Gibbons
20a33eb5a5 8178426: Extra } is coming in the javadoc of Taglet.toString() API
Reviewed-by: ksrini, bpatel
2017-04-14 15:54:01 -07:00
Robert Field
2d34a0490a 8178520: jshell tool: /help /save -- incorrect description of /save -start
Reviewed-by: jlahoda
2017-04-13 14:11:33 -07:00
Lana Steuck
65b5fb374e Merge 2017-04-13 20:35:35 +00:00
Lana Steuck
101400a2f7 Merge 2017-04-13 16:26:29 +00:00
Lana Steuck
b0a3ecb73a Added tag jdk-9+165 for changeset 9e18c9ce29e7 2017-04-13 16:01:14 +00:00
Kumar Srinivasan
1cfeb71da7 8178686: Fix incorrect bug id in test
Reviewed-by: darcy
2017-04-12 13:48:18 -07:00
Kumar Srinivasan
bd727dd23f 8178067: support for @uses/@provides tags is broken
Reviewed-by: jjg
2017-04-12 11:42:50 -07:00
Robert Field
849cae8710 8178023: jshell tool: crash with ugly message on attempt to add non-existant module path
Reviewed-by: jlahoda
2017-04-11 17:26:52 -07:00
Maurizio Cimadamore
e3c1a934e6 8178414: T8177933.java fails even after fix for JDK-8178283
Add T8177933.java to problem list

Reviewed-by: jlahoda
2017-04-11 14:03:16 +01:00
Jan Lahoda
d38fa28ac9 8178011: Automatic module warnings
Adding lints for automatic modules in requires and requires transitive directives.

Reviewed-by: jjg
2017-04-10 11:08:59 +02:00
Lana Steuck
1096d6bae0 Merge 2017-04-08 03:25:14 +00:00
Maurizio Cimadamore
d950713f32 8178283: tools/javac/lambda/speculative/T8177933.java fails with assertion error
Disable test on solaris

Reviewed-by: darcy
2017-04-07 15:46:31 +01:00
Alan Bateman
7641a14458 Merge 2017-04-07 10:58:38 +01:00
Alan Bateman
481f056ca9 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2017-04-07 08:08:26 +00:00
Lana Steuck
7ab17924f5 Merge 2017-04-06 18:00:34 +00:00
Lana Steuck
f6ed80af92 Added tag jdk-9+164 for changeset 8e5061e5b34b 2017-04-06 17:01:05 +00:00
Maurizio Cimadamore
999a830a40 8177933: Stackoverflow during compilation, starting jdk-9+163
Avoid extra method call in Attr.attribTree

Reviewed-by: vromero
2017-04-06 17:27:52 +01:00
Jan Lahoda
9bb53e4193 8178077: jshell tool: crash on ctrl-up or ctrl-down
Adding a test for EditingHistory.

Reviewed-by: rfield
2017-04-06 16:19:33 +02:00
Jan Lahoda
64d37b0a69 8178013: Finetuning of merged tab and shift tab completion
Fixing mistakes in localization bundle, fixing completion after /help set.

Reviewed-by: rfield
2017-04-06 11:55:58 +02:00
Lana Steuck
515b7056fe Merge 2017-04-06 04:50:32 +00:00
Srikanth Adayapalam
06143df6a2 8176572: Javac does not enforce module name restrictions
Reviewed-by: jlahoda
2017-04-05 14:34:15 +05:30
Bhavesh Patel
25dbddc731 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation
8178078: jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java failed due to some subtests failed
8178079: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed

Reviewed-by: jjg, ksrini
2017-04-04 23:04:39 -07:00
Vicente Romero
97a88e5a27 8177332: The presence of a file with a Japanese ShiftJIS name can cause javac to fail
Reviewed-by: jjg, jlahoda
2017-04-04 15:15:59 -07:00
Bhavesh Patel
543364d22c 8177417: Constructor Summary readability problems in jdk9 javadoc
Reviewed-by: jjg, ksrini
2017-04-04 14:06:54 -07:00
Jonathan Gibbons
3fd763e24f 8177562: Small updates to module summary page
Reviewed-by: bpatel, ksrini
2017-04-04 14:02:03 -07:00
Kumar Srinivasan
3977b2c530 8176901: Internal error running javadoc over jdk internal classes
Reviewed-by: jjg
2017-04-04 11:27:06 -07:00
Maurizio Cimadamore
d226380878 8177667: Langtools ant build has issues with Windows file separators
Replace complex, non-portable regex logic for generating --patch-module option with a script mapper

Reviewed-by: jjg, ksrini
2017-04-03 12:40:41 +01:00
Kumar Srinivasan
ab97b96bee 8177567: cache VisibleMemberMap
Reviewed-by: jjg
2017-03-31 07:38:34 -07:00
Jan Lahoda
f447a87ed6 8177076: jshell tool: usability of completion
Merging completion and documentation completion, assigning Shift-tab shortcut to fix actions.

Reviewed-by: rfield
2017-03-31 10:46:37 +02:00
Claes Redestad
669ae762b7 8175116: jtreg agentvms uses more virtual address space in langtool/test :tier1 runs
Avoiding creation of an unnecessary read edge from jdk.compiler to a newly created unnamed module.

Reviewed-by: jlahoda
2017-03-31 08:59:35 +02:00
Jonathan Gibbons
a50968d79f 8177484: The old standard doclet should be deprecated for removal
Reviewed-by: ksrini
2017-03-30 16:36:48 -07:00
Robert Field
7b69bf343e 8177078: jshell tool: fix documentation of /help shortcuts
8177735: jshell tool: /help /help -- typo "comand"
8177308: jshell tool: documentation: multiple start-up files and predefines not documented

Reviewed-by: jlahoda
2017-03-30 13:55:01 -07:00
Lana Steuck
3735473f37 Merge 2017-03-30 17:24:01 +00:00
Lana Steuck
aea37631b2 Added tag jdk-9+163 for changeset ce94820fa9d1 2017-03-29 23:33:07 +00:00
Robert Field
67066fa639 8177079: jshell tool: usability of /help for commands and sub-commands
Reviewed-by: jlahoda
2017-03-29 16:07:30 -07:00
Lance Andersen
f3b5cdffe6 8175013: Add Generated annotation
Reviewed-by: darcy, alanb
2017-03-29 16:31:29 -04:00
Mandy Chung
38c354f351 8173303: Add module-subgraph images to main platform documentation
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:41:36 -07:00
Jan Lahoda
dc292b699a 8177311: Denied access when named module accesses unreferences package from the unnamed module
Ensure access to the unnamed module is allowed if the given module reads the unnamed module.

Reviewed-by: jjg
2017-03-29 10:27:23 +02:00
Kumar Srinivasan
96c6439d7c 8175277: javadoc AssertionError when specified with release 8
Reviewed-by: jjg, jlahoda
2017-03-27 17:53:00 -07:00
Lana Steuck
21c8db8fb7 Merge 2017-03-25 01:44:48 +00:00
Vicente Romero
1f20ed9eea 8176714: javac is wrongly assuming that field JCMemberReference.overloadKind has been assigned to
Reviewed-by: mcimadamore
2017-03-24 06:40:28 -07:00
Maurizio Cimadamore
23f72a9ccc 8177097: Generic method reference returning wildcard parameterized type does not compile
Captured cache should not be used during 'fake' attr checks

Reviewed-by: vromero, jjg
2017-03-24 13:04:32 +00:00
Maurizio Cimadamore
e1b0359c80 8177392: Fix default verbosity for IntelliJ Ant logger wrapper
Adjust langtools ant build logger to be compatible with IJ 2017

Reviewed-by: jlahoda
2017-03-24 12:33:29 +00:00
Lana Steuck
1b5422093b Merge 2017-03-23 22:57:03 +00:00
Lana Steuck
dab8381c39 Added tag jdk-9+162 for changeset 2f97c71f06f4 2017-03-23 22:31:14 +00:00
Kumar Srinivasan
fe3730f2e5 8176481: javadoc does not consider mandated modules
Reviewed-by: jjg
2017-03-23 14:18:25 -07:00
Jonathan Gibbons
d93ec7345b 8176836: Provide Taglet with context
Reviewed-by: ksrini
2017-03-23 10:58:16 -07:00
Alan Bateman
e5f4a73f0c Merge 2017-03-22 18:41:28 +00:00
Alan Bateman
cc9ed3a3dd 8174823: Module system implementation refresh (3/2017)
Reviewed-by: jjg, mchung
2017-03-22 16:27:39 +00:00
Jonathan Gibbons
07e7ae5ceb 8176231: javadoc -javafx creates bad link when Property is an array of objects
Reviewed-by: ksrini
2017-03-20 15:32:39 -07:00
Kumar Srinivasan
7feb5d6fb7 8175346: javadoc does not handle Locations correctly with --patch-module
Reviewed-by: jjg
2017-03-16 18:50:50 -07:00
Jonathan Gibbons
833ecc754c 8177014: tools/javac/tree/TreePosTest.java test fails with IllegalArgumentException
Reviewed-by: redestad
2017-03-16 17:13:10 -07:00
Jonathan Gibbons
80330fc21e 8176900: TreePosTest should disable annotation processing
Reviewed-by: vromero
2017-03-16 14:40:39 -07:00
Lana Steuck
565e136bef Merge 2017-03-16 20:46:52 +00:00
Lana Steuck
9430f861d4 Merge 2017-03-16 17:56:00 +00:00
Lana Steuck
857b5db1de Added tag jdk-9+161 for changeset 380e1f22e460 2017-03-16 16:34:37 +00:00
Bhavesh Patel
8509bf7e0d 8175200: Long method signatures disturb Method Summary table
Reviewed-by: jjg, ksrini
2017-03-15 16:12:20 -07:00
Bhavesh Patel
f556f9810b 8176794: javadoc search results sorted incorrectly on packages
Reviewed-by: jjg, ksrini
2017-03-15 14:18:28 -07:00
Stuart Marks
de47d21cb9 8171395: (jdeprscan) add comments to L10N message file
Reviewed-by: ljiang, darcy
2017-03-15 13:02:54 -07:00
Jan Lahoda
1eaf7f1243 8176743: tools/javac/modules/MOptionTest.java test fails on Mac
Correctly preferring classfiles over source files when timestamps match.

Reviewed-by: jjg
2017-03-15 15:46:43 +01:00
Kumar Srinivasan
61b8ab43b2 8176778: javadoc does not produce summary pages for aggregated modules
Reviewed-by: bpatel, jjg
2017-03-15 06:30:33 -07:00
Maurizio Cimadamore
5770a10028 8176534: Missing check against target-type during applicability inference
PartiallyInferredMethodType should check against target if unchecked conversion occurred

Reviewed-by: vromero
2017-03-15 11:42:42 +00:00
Jan Lahoda
828abbabee 8175119: Need to specify module of types created by Filer.createSourceFile/Filer.createClassFile?
Clarifications and improvements to jx.a.processing.Filer for creating and reading files in and from modules.

Reviewed-by: darcy, jjg
2017-03-14 10:51:19 +01:00
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
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
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
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
Lana Steuck
6a7ffcd667 Added tag jdk-9+159 for changeset 3ea5514d9fbe 2017-03-02 21:16:18 +00: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
ebf2535a6a Merge 2017-02-23 17:30:09 +00:00
Lana Steuck
ba78c19fac Merge 2017-02-23 17:22:32 +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
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
Andrey Nazarov
ffe5040932 8170404: Improve negative testing for module-info
Reviewed-by: jjg
2017-02-14 16:18:38 +03:00
Srikanth Adayapalam
0854bc2a21 8170691: fill in @bug number for test
Reviewed-by: darcy
2017-02-14 14:24:23 +05:30
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
Robert Field
cd867f35bd 8174862: JShell tests: new JDK-8174797 testInvalidClassPath fails on Windows
Reviewed-by: jlahoda
2017-02-13 17:04:26 -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
Joe Darcy
52187f31d3 8174854: Fix two javax.annotation.processing javadoc link issues
Reviewed-by: mchung
2017-02-13 11:51:51 -08:00
Joe Darcy
205d485510 8173945: Add methods for Elements.getAll{Type, Package, Module}Elements
Reviewed-by: jlahoda, jjg
2017-02-13 10:29:04 -08:00
Robert Field
9691449f5f 8174797: jshell tool: invalid module path crashes tool
8174796: jshell tool: regression: user home (tilde) not translated

Reviewed-by: jlahoda
2017-02-13 08:50:26 -08:00
Jan Lahoda
4c9c591399 8174245: Javadoc is not working for some methods
Parsing source file as if they were part of their corresponding modules.

Reviewed-by: rfield
2017-02-13 11:57:56 +01:00
Jan Lahoda
261ce92be5 8173777: Merge javac -Xmodule into javac--patch-module
Merging -Xmodule: functionality into --patch-module.

Reviewed-by: jjg, mchung, rfield
2017-02-13 09:37:26 +01:00
Jonathan Gibbons
0fcd98980c 8174104: Compiler does not allow non-existent module path entry
Reviewed-by: jlahoda
2017-02-10 15:42:17 -08:00
Robert Field
6d8a15972e 8174762: JShell: @since tags missing
Reviewed-by: jjg
2017-02-10 13:49:42 -08:00
Vicente Romero
0a9f00958e 8174099: class ComboTask at the combo test library needs an execute() method
Reviewed-by: mcimadamore
2017-02-10 07:50:55 -08:00
Alan Bateman
3460214b07 Merge 2017-02-10 12:28:35 +00:00
Alan Bateman
d6fbe2b113 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore, mchung, alanb
2017-02-10 09:06:10 +00:00
Robert Field
6d73f9fae9 8174262: Error message misspelling: "instanciated"
Reviewed-by: jjg
2017-02-09 18:58:36 -08:00
Vicente Romero
9c79170aed 8169200: Gen has a reference to Flow that is not used, should be removed
Reviewed-by: jjg
2017-02-09 16:30:30 -08:00
Robert Field
ee816fd1c9 8174672: JShell tests: jdk/jshell/UserJdiUserRemoteTest.java problem listed with wrong bug number
Reviewed-by: jjg
2017-02-09 14:37:42 -08:00
Lana Steuck
0b5fdf1fc3 Merge 2017-02-09 18:17:42 +00:00
Lana Steuck
c0d5750145 Merge 2017-02-09 18:09:48 +00:00
Lana Steuck
6563321674 Added tag jdk-9+156 for changeset 62824732af55 2017-02-09 17:21:49 +00:00
Michel Trudeau
a55e3cd16b 8168965: search items are not listed in any sensible order
Reviewed-by: jjg, ksrini
2017-02-09 08:01:19 -08:00
Maurizio Cimadamore
e05d91747c 8174249: Regression in generic method unchecked calls
Erasure for unchecked call occurs too early after JDK-8078093

Reviewed-by: vromero
2017-02-09 15:19:05 +00:00
Vicente Romero
c3759775fb 8174073: NPE caused by @link reference to class
Reviewed-by: jjg, ksrini
2017-02-08 19:42:24 -08:00
Robert Field
52f0f390a8 8173916: jshell tool: /methods signature confusing/non-standard format
8174028: jshell tool: /method /type failed declaration listed (without indication)
8174041: jshell tool: --startup PRINTING references undeclared Locale class

Reviewed-by: jlahoda
2017-02-08 13:35:42 -08:00
Robert Field
4593304c07 8173845: JShell API: not patch compatible
Reviewed-by: jlahoda
2017-02-08 10:43:16 -08:00
Robert Field
ee13abe593 8173893: JShell: reduce memory leaks
Reviewed-by: jlahoda
2017-02-08 09:12:45 -08:00
Vicente Romero
25a8d5cb01 8174027: error message should adapt to the corresponding top level element
Reviewed-by: mcimadamore
2017-02-08 06:43:34 -08:00
Kumar Srinivasan
f24113bdb2 8173302: Move the Description up on module and package index page
Reviewed-by: bpatel, jjg
2017-02-07 13:45:29 -08:00
Jonathan Gibbons
f7fbfc06c6 8174140: Move test files into package hierarchy
Reviewed-by: darcy
2017-02-07 16:19:50 -08:00
Liam Miller-Cushon
9229886d99 6388543: improve accuracy of source positions for AnnotationValue param of Messager.printMessage
Reviewed-by: jjg
2017-02-06 17:19:06 -08:00
Jonathan Gibbons
23017d450e 8174051: fix terminology in javadoc comment
Reviewed-by: darcy
2017-02-06 17:51:54 -08:00
Joe Darcy
d84c982cbc 8173944: Reference Origin.MANDATED in getEnclosedElements specs
Reviewed-by: jlahoda
2017-02-06 16:32:37 -08:00
Jonathan Gibbons
f4c670d9b6 8172901: javac: 'opens' statement cannot specify non observable package
Reviewed-by: jlahoda
2017-02-06 12:35:13 -08:00
Robert Field
c42d389e2d 8173807: JShell: control characters should be escaped in String values
Reviewed-by: jlahoda
2017-02-06 09:25:31 -08:00
Robert Field
43593d5bf5 8173848: JShell: less-than causes: reached end of file while parsing
Reviewed-by: jlahoda
2017-02-06 09:00:02 -08:00
Jan Lahoda
eb5ba01b02 8173636: Results from Processor.getSupportedAnnotationTypes should be intepreted strictly
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2017-02-06 15:57:35 +01:00
Srikanth Adayapalam
d6090047be 8166420: Confusing error message when reading bad module declaration
Reviewed-by: jlahoda
2017-02-06 18:14:51 +05:30
Jan Lahoda
e7c5d26299 8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost
Disable Ctrl-C while running external editors.

Reviewed-by: rfield
2017-02-06 11:11:43 +01:00
Srikanth Adayapalam
1b5251ab0c 8173456: com.sun.tools.javac.util.Assert.error during code compilation
Reviewed-by: mcimadamore
2017-02-06 13:12:30 +05:30
Lance Andersen
1ded7c8c04 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
2017-02-04 14:05:08 -05:00
Joe Darcy
0a98c7b5b6 8173305: Trial reversion of langtools test changes for limited win32 address space
Reviewed-by: jjg, amlu
2017-02-03 22:09:30 -08:00
Joe Darcy
65ff124447 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-02-03 10:27:46 -08:00
Jan Lahoda
40c2afd1eb 8172240: javac should not need the transitive closure to compile a module
Reviewed-by: jjg
2017-02-03 08:16:24 -08:00
Bhavesh Patel
0c3069371e 8173707: Javadoc generated pages should default to no-frames view
Reviewed-by: jjg, ksrini
2017-02-02 14:55:23 -08:00