Commit Graph

4029 Commits

Author SHA1 Message Date
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
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
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
Jonathan Gibbons
02431ac603 8172807: Javac doesn't report errors on duplicate provides with different service implementations
Reviewed-by: jlahoda
2017-02-02 14:34:21 -08:00
Lana Steuck
b03d5ca97d Merge 2017-02-02 21:55:45 +00:00
Lana Steuck
543c2ca48b Added tag jdk-9+155 for changeset 10a4ca148d89 2017-02-02 21:20:39 +00:00
Kumar Srinivasan
a7038c6099 8173667: Update command line help for -public -protected -package -private options
Reviewed-by: jjg
2017-02-02 10:50:14 -08:00
Jonathan Gibbons
04de18856a 8166675: Latent bug in jar file handling during module path processing
Reviewed-by: jlahoda
2017-02-02 11:40:01 -08:00
Jonathan Gibbons
d084a21c15 8172528: problem generating JavaFX docs
Reviewed-by: ksrini
2017-02-01 20:14:52 -08:00
Bernard Blaser
51e0b0ca26 8173798: Tests for printing modules
Reviewed-by: darcy
2017-02-01 19:48:36 -08:00
Joe Darcy
20529706dc 8173776: More javax.lang.model improvements to support modules
Reviewed-by: jjg, jlahoda
2017-02-01 17:04:24 -08:00
Bhavesh Patel
3a1a49f453 8169813: The index pages are sorted in a confusing manner
Reviewed-by: jjg, ksrini
2017-02-01 15:16:49 -08:00
Jonathan Gibbons
f93bda94f7 8173789: Fix broken test header
Reviewed-by: darcy
2017-02-01 14:38:45 -08:00
Henry Jen
0f10a939d7 8172309: classpath wildcards code does not support --class-path
Reviewed-by: jjg, ksrini
2017-01-31 13:55:03 -08:00
Jonathan Gibbons
ea2592fd1d 8172810: ModuleElement should declare and provide appropriate modifiers
Reviewed-by: darcy
2017-01-30 17:43:18 -08:00
Joe Darcy
28110a1e7e 8173609: Elements.printElements needs to support modules
Reviewed-by: forax, jjg
2017-01-30 15:08:38 -08:00
Denis Istomin
145e729236 8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method
Reviewed-by: jjg
2017-01-27 15:49:14 -08:00
Kumar Srinivasan
c39d6e6a04 8048628: javadoc strips HTML incorrectly; causes invalid generated HTML files
Reviewed-by: jjg
2017-01-27 10:08:36 -08:00
Joe Darcy
ae44237a42 8173676: Improvements to javax.annotation.processing and javax.lang.model doc
Reviewed-by: anazarov
2017-02-01 11:25:56 -08:00
Robert Field
88d92662cd 8173577: JShell tests: Some testng tests check nothing
Reviewed-by: jlahoda
2017-02-01 09:10:07 -08:00
Maurizio Cimadamore
922a7c6a3a 8171294: Slow compilation with long classpaths under JDK 9
Precompute packages contained in jars, to quickly determine at the lookup time whether a jar contains the given package

Reviewed-by: jjg
2017-02-01 15:03:06 +01:00
Robert Field
48836cb851 8173652: jshell tool: store history on fatal exit
Reviewed-by: jlahoda
2017-01-31 17:01:55 -08:00
Bhavesh Patel
737a10a2e7 8173419: Javadoc fix 8166175 results in test failures
Reviewed-by: jjg, ksrini
2017-01-26 16:53:56 -08:00
Jonathan Gibbons
872d18a9c3 8173312: Hide support for --inherit-runtime-environment
Reviewed-by: mchung
2017-01-26 14:35:04 -08:00
Lana Steuck
547938f444 Merge 2017-01-26 21:20:40 +00:00
Bhavesh Patel
30c9249c9d 8166175: javadoc search doesn't work on local doc bundles
Reviewed-by: jjg, ksrini
2017-01-26 13:01:12 -08:00
Lana Steuck
edb4b423d8 Added tag jdk-9+154 for changeset 692b0dfbb390 2017-01-26 19:22:40 +00:00
Jan Lahoda
210dd83834 8173068: ElementUtils getPackageElement does not allow for an unnamed package
Removing special handling of unnamed packages in Elements.getPackageElement.

Reviewed-by: darcy, jjg, ksrini
2017-01-26 14:14:01 +01:00
Jan Lahoda
a57e6e77d2 8067747: javac throws exception during compilation when annotation processing is enabled
Enforcing Filer rules regarding initial inputs, to avoid downstream problems.

Reviewed-by: darcy, jjg
2017-01-26 14:11:38 +01:00
Robert Field
01b7f9ed5e 8171343: jshell tool: missing options: --help-extra --show-version
Reviewed-by: jlahoda
2017-01-25 10:43:41 -08:00
Robert Field
8fd1027a6b 8173232: JShell tests: ReplaceTest takes too long
8173234: JShell tests: remove from ProblemList jdk/jshell/ToolFormatTest.java
8173204: JShell tests: ProblemList jdk/jshell/UserJdiUserRemoteTest.java

Reviewed-by: jlahoda
2017-01-25 10:22:06 -08:00
Denis Istomin
80280a2207 8041793: javap misses newline after printing AnnotationDefault
Reviewed-by: jjg
2017-01-24 17:36:41 -08:00
Denis Istomin
31b1a86ec6 8051768: Inconsistent output for Visible and InvisibleParameterAnnotations
Reviewed-by: jjg
2017-01-24 16:18:24 -08:00
Jan Lahoda
8e3182c384 8153759: jshell tool: Smart completion detection is not reliable
Reverting back to smart completion if any action follows a completion action.

Reviewed-by: rfield
2017-01-24 13:29:58 +01:00
Joe Darcy
7caafc69f1 8173164: Resolve remaining HTML5 issues in javax.lang.model.*
Reviewed-by: martin
2017-01-23 10:37:27 -08:00
Srikanth Adayapalam
4141792982 8171322: AssertionError in TypeSymbol.getAnnotationTypeMetadata
Reviewed-by: vromero
2017-01-23 10:28:52 +05:30
Jonathan Gibbons
ce3452952c Merge 2017-01-20 18:24:50 -08:00
Jonathan Gibbons
784f56bcc7 8173141: tools/javac/classreader/FileSystemClosedTest.java fails on Windows
Reviewed-by: ksrini
2017-01-20 18:23:34 -08:00
Lana Steuck
8e6ff6a336 Merge 2017-01-20 19:12:30 +00:00