Commit Graph

2473 Commits

Author SHA1 Message Date
Vicente Romero
bfe58ed881 8181464: Invalid lambda in annotation causes NPE in Lint.augment
Reviewed-by: mcimadamore
2017-06-13 11:21:09 -07:00
Vicente Romero
9c237e549c 8175794: Type inference regression after JDK-8078093
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2017-06-09 11:27:03 -07:00
Bhavesh Patel
5262fc6612 8181215: Links incorrectly appear bold in some javadoc generated tables
Reviewed-by: jjg, ksrini
2017-06-08 00:11:29 -07:00
Bhavesh Patel
13625f3e7d 8147881: Javadoc search box watermark text issue
Reviewed-by: jjg, ksrini
2017-06-07 22:58:37 -07:00
Kumar Srinivasan
afbde4b351 8177848: Rename Configuration(Impl) classes
Reviewed-by: jjg
2017-06-05 13:45:34 -07:00
Vicente Romero
b30409ae05 7170058: Confusing error message from javac when overriding a method from a raw supertype
Reviewed-by: mcimadamore
2017-06-01 12:51:26 -07:00
Jan Lahoda
98b63e6826 8172880: Incorrect line number for NPE generated by instance-bound method reference
Synthetic null checks should have a LineNumberTable entry.

Reviewed-by: mcimadamore
2017-05-31 14:51:02 +02:00
Vicente Romero
32e18391c5 8180660: missing LNT entry for finally block
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2017-05-22 12:49:05 -07:00
Lana Steuck
e7d1ee0e49 Merge 2017-05-19 04:59:51 +00:00
Robert Field
08a3a23043 8167554: jshell tool: re-execute a range and/or sequence of snippets
8180508: jshell tool: support id ranges in all commands with id arguments

Reviewed-by: jlahoda
2017-05-18 14:16:25 -07:00
Bhavesh Patel
d1a9610d05 8178043: Support grouping modules in unified javadoc
Reviewed-by: jjg, ksrini
2017-05-12 18:05:40 -07:00
Christian Tornqvist
e2420ab119 8180084: A few javac tests fail on Windows when the source and jtreg work dir are not on the same drive
Reviewed-by: jlahoda
2017-05-12 15:14:16 -07:00
Christian Tornqvist
ea16a476ae 8180304: Add tests to ProblemList that fails on Windows when running with subst or different drive than source code is on
Reviewed-by: ksrini, gtriantafill
2017-05-12 15:07:29 -07:00
Vicente Romero
5fddd8a1bb 8180141: Missing entry in LineNumberTable for break statement that jumps out of try-finally
Reviewed-by: mcimadamore
2017-05-12 08:11:50 -07:00
Jan Lahoda
f417779f87 8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
--release 9 should only allow documented modules; --add-exports/--add-reads/--patch-module should not be allowed on system modules when --release 9 is used.

Reviewed-by: jjg, erikj, ihse
2017-05-12 06:42:37 +02:00
Lana Steuck
9c1da041ce Merge 2017-05-11 20:24:00 +00:00
Magnus Ihse Bursie
10678fd999 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:55:07 +02:00
Jan Lahoda
229653fcd0 8179531: JShell: fails to provide bytecode for dynamically created lambdas
Adding support for getResource(s) to the JShell's ClassLoader

Reviewed-by: psandoz, rfield
2017-05-09 12:22:15 +02:00
Lana Steuck
20e2e38b96 Merge 2017-05-05 04:47:36 +00:00
Maurizio Cimadamore
6758f48244 8178437: remove tools/javac/lambda/speculative/T8177933.java
Remove test from test folder and from problem list

Reviewed-by: jlahoda
2017-04-28 11:06:51 +01:00
Amy Lu
9bbedc0169 8179000: Reversion of langtools test changes for limited win32 address space
Reviewed-by: darcy
2017-04-28 13:22:44 +08:00
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
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
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
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
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
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
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
Lana Steuck
65b5fb374e Merge 2017-04-13 20:35:35 +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
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
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
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
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
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
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
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
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
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
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
Jonathan Gibbons
c2409501ae 8176470: javac Pretty printer should include doc comment for modules
Reviewed-by: vromero
2017-03-09 18:53:23 -08:00
Jonathan Gibbons
1aa88debf6 8176331: Simplify new doclet packages
Reviewed-by: ksrini
2017-03-09 13:46:40 -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
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
Robert Field
4eb4827f6a 8176241: JShell tests: on full builds CompletionSuggestionTest.testImportStart() fails
Reviewed-by: darcy
2017-03-06 15:44:37 -08:00