Commit Graph

3929 Commits

Author SHA1 Message Date
Mandy Chung
440c2fb03c 8167630: jdeps --generate-module-info forgets to close the resource after checking any unnamed package
Reviewed-by: lancea, ksrini
2016-10-12 17:27:54 -07:00
Mandy Chung
b79835c56b 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, jjg
2016-10-12 15:37:27 -07:00
Bhavesh Patel
0ce6fba428 4649116: Add option to include full package description at top, before interface table
Reviewed-by: jjg
2016-10-10 15:17:02 -07:00
Kumar Srinivasan
f4df89b00c 8165991: Fix DocTreeFactory newDocCommentTree
8154349: New doclet incorrectly shows entire text body for JavaFX properties in summary section

Reviewed-by: jjg
2016-10-10 11:21:00 -07:00
Kumar Srinivasan
6f16c4713d 8151102: Cleanup javadoc exception handling
Reviewed-by: jjg
2016-10-10 06:47:47 -07:00
Shinya Yoshida
a53b8b8a5d 8167343: JShell: Completeness analysis infers an incomplete declaration as COMPLETE_WITH_SEMI, which is a first line of Allman style
Reviewed-by: rfield
2016-10-11 00:28:49 +09:00
Marcus Larsson
b093764418 8167354: Missing jtreg output when run using langtools makefiles
Reviewed-by: erikj, sla
2016-10-10 12:36:56 +02:00
Jan Lahoda
969c7a933a 8167442: Langtools ant build not working after addition of -Xlint:exports
Disabling the exports lint when compiling the langtools modules until the warnings are resolved.

Reviewed-by: mcimadamore, forax
2016-10-11 13:16:45 +02:00
Jan Lahoda
e6bf5b92f7 8166890: JShell: locks forever when input is piped
StopDetectingInputStream.setState must not override the state if the stream is closed.

Reviewed-by: rfield, shinyafox
2016-10-11 12:29:39 +02:00
Maurizio Cimadamore
f923578969 8167456: Tweak IntelliJ langtools project's jtreg settings
Adjust IntelliJ project template to reflect new serialized format of jtreg plugin settings

Reviewed-by: jlahoda
2016-10-11 10:56:09 +01:00
Jan Lahoda
5794656914 8167320: Trying to document only java.base causes a NPE in javac
Ensure ModuleSymbol.getDirectives completes the Symbol

Reviewed-by: ksrini, jjg
2016-10-11 10:31:10 +02:00
Magnus Ihse Bursie
24a4e49180 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:44 +02:00
Robert Field
8b2ace697c 8167128: JShell: /drop of statement gives confusing output
Reviewed-by: jlahoda
2016-10-10 18:41:12 -07:00
Tim Bell
ece1def9ae 8166648: jib make run-test for langtools results in intermittent failures on windows-x86
Reviewed-by: erikj, jjg
2016-10-07 20:48:39 -07:00
Jonathan Gibbons
6fef223c3f 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Jonathan Gibbons
4735558138 8072604: Improve handling of direct use of accept with TreePathScanner
Reviewed-by: ksrini
2016-10-07 16:31:21 -07:00
Iris Clark
76e33f6ba8 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:55 -07:00
Lana Steuck
3a194a9a8d Merge 2016-10-06 23:12:58 +00:00
Lana Steuck
1bef086a4b Added tag jdk-9+139 for changeset 72fcbd6294cb 2016-10-06 20:56:13 +00:00
Jan Lahoda
6a0ceb74e8 8153362: Add javac -Xlint warning to list exposed types which are not accessible
Adding implementation to -Xlint:exports, to warn about exposing inaccessible types in API

Reviewed-by: jjg
2016-10-06 14:03:58 +02:00
Mandy Chung
b507e409eb 8167014: jdeps: Missing message: warn.skipped.entry
Reviewed-by: alanb, lancea
2016-10-05 18:42:23 -07:00
Mandy Chung
2db14bace5 8166846: jdeps fails to generate module info if there is any class in unnamed package
Reviewed-by: lancea
2016-10-05 18:41:43 -07:00
Maurizio Cimadamore
1d29982cfc 8167070: Performance regression in compound scopes
Extra call to inner scope's hasNext() causes performance regression

Reviewed-by: jlahoda
2016-10-05 13:06:21 +01:00
Mandy Chung
a3f3f797b5 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:03 -07:00
Stuart Marks
512c42b9ac 8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
8165927: (jdeprscan) com.sun.tools.jdeprscan.Main.instance should be package protected

Reviewed-by: jjg
2016-10-04 18:43:36 -07:00
Jonathan Gibbons
5bce3820cc 8166472: javac/javadoc expands @files incorrectly
Reviewed-by: henryjen, ksrini
2016-10-04 16:47:09 -07:00
Jan Lahoda
279b6faa56 8073844: fatal annotation processing errors do not stop compilation
JavacProcessingEnvironment lets the should-stop policy decide when the compilation should stop.

Reviewed-by: jjg
2016-10-04 17:40:29 +02:00
Jan Lahoda
c58a8aae3e 8152911: javac assertion error when compiling overlay sources
Avoid creating ModuleSymbols with unspecified name, to avoid conflicts with predefined ModuleSymbol for the java.base module.

Reviewed-by: jjg
2016-10-04 16:25:19 +02:00
Erik Joelsson
16bf17a9a7 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +02:00
Jonathan Gibbons
799f344fcc 8166144: New javadoc options don't conform to JEP 293 (GNU style options)
Reviewed-by: ksrini, bpatel
2016-09-30 13:15:22 -07:00
Mandy Chung
33b751c3d4 8166238: Update jdeps for GNU-style long form options
Reviewed-by: alanb
2016-09-29 21:31:09 -07:00
Lana Steuck
f2eb960882 Merge 2016-09-29 17:24:10 +00:00
Lana Steuck
08c0fa1dbf Added tag jdk-9+138 for changeset 4b05dadfb69d 2016-09-29 16:45:12 +00:00
Shinya Yoshida
20a821ae7c 8166744: JShell: java.lang.IndexOutOfBoundsException for legal history access
Reviewed-by: rfield, jlahoda
2016-09-29 17:36:22 +09:00
Shinya Yoshida
b9ad123afa 8154714: jshell tool: add exports support
Reviewed-by: jlahoda, rfield
2016-09-28 16:36:10 +09:00
Srikanth Adayapalam
517cfed246 8166363: Method with reordered type parameter bounds compiles with @Override annotation but does not actually override superclass method
Reviewed-by: vromero
2016-09-28 09:05:20 +05:30
Srikanth Adayapalam
e179ac0384 8164519: Rendering of supertype_target for annotated extends clause
Eliminate inconsistencies in handling annotated super class.

Reviewed-by: jlahoda
2016-09-27 04:34:09 +05:30
Steve Drach
18b1c7cd8b 8153654: Update jdeps to be multi-release jar aware
Reviewed-by: mchung
2016-09-26 13:39:50 -07:00
Robert Field
87803ca0e8 8166655: JShell: Process running JShell should not be blocked from exit by non-daemon data-transfer threads
Reviewed-by: jlahoda
2016-09-26 13:18:11 -07:00
Robert Field
4ca1072d25 8166589: jshell tool: typo: remove out of place text in /help /set truncation
Reviewed-by: jlahoda
2016-09-23 14:37:03 -07:00
Andrey Nazarov
4c6cbab8ba 8166127: Develop new tests to cover javadoc module options which are passed to underlying javac
Reviewed-by: jjg, ksrini
2016-09-23 09:57:24 -07:00
Jan Lahoda
35439dec91 8047347: com.sun.source.util.Trees breaks the compiler
Clearing synthetic constructors and super constructor calls between annotation processing rounds.

Reviewed-by: jjg
2016-09-23 15:35:32 +02:00
Lana Steuck
2a0f1aed8f Merge 2016-09-22 18:31:35 +00:00
Lana Steuck
08cbec9e53 Added tag jdk-9+137 for changeset 49af2ecba616 2016-09-22 16:41:15 +00:00
Robert Field
1e18e0dc9f 8166400: JShell: friendlier representation of array values
Reviewed-by: sundar, jlahoda
2016-09-21 23:46:06 -07:00
Bhavesh Patel
ed209e2a48 8162363: Tables in javadoc documentation missing row headers
Reviewed-by: jjg
2016-09-21 18:18:50 -07:00
Srikanth Adayapalam
7ddb0f7c17 8163027: AssertionError while compiling a program that uses try with resources
Reviewed-by: vromero
2016-09-21 05:26:26 +05:30
Srikanth Adayapalam
ed537dc705 8156568: Update javac to support compiling against a modular JAR that is a multi-release JAR
Reviewed-by: jjg
2016-09-20 12:12:18 +05:30
Srikanth Adayapalam
4688e355c5 8166108: VerifyError passing anonymous inner class to supertype constructor
Anonymous classes instantitated in explicit constructor calls cannot have enclosing instance

Reviewed-by: vromero
2016-09-20 05:28:54 +05:30
Srikanth Adayapalam
ac462ed848 8164742: ServiceConfigurationError on invoke of getServiceLoader method of StandardJavaFileManager
Reviewed-by: jlahoda
2016-09-19 05:31:53 +05:30
Bhavesh Patel
f4abd474cc 8166176: module search generates URLs with extra '/'
Reviewed-by: jjg
2016-09-16 12:17:44 -07:00
Dan Smith
eb56700eba 8138822: Source version error missing version number
Reviewed-by: jjg
2016-09-16 11:58:23 -06:00
Lana Steuck
5961266aa9 Merge 2016-09-15 21:08:49 +00:00
Lana Steuck
db89d07f38 Added tag jdk-9+136 for changeset 1cba2e436777 2016-09-15 17:15:55 +00:00
Srikanth Adayapalam
83dbcb5c1b 8160699: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Ensure out of scope locals are not treated as being alive

Reviewed-by: mcimadamore
2016-09-14 20:00:20 +05:30
Srikanth Adayapalam
e4870c84e3 8138667: java.lang.IllegalAccessError: tried to access method (for a protected method)
Reviewed-by: mcimadamore
2016-09-13 19:32:03 +05:30
Lana Steuck
d70c8d3917 Merge 2016-09-08 22:13:38 +00:00
Lana Steuck
4f6a0382a6 Added tag jdk-9+135 for changeset 39dd3d3d369e 2016-09-08 21:11:55 +00:00
Jan Lahoda
835354dfa6 8131025: JShell: crash on tab-complete reference to bad class file
Catching CompletionFailure when iterating through Scope.

Reviewed-by: rfield
2016-09-08 15:48:28 +02:00
Robert Field
426f1d9d47 8080352: jshell tool: Error message for using "package" should be more descriptive than "Failed"
Reviewed-by: jlahoda
2016-09-07 12:15:22 -07:00
Vicente Romero
29aa24a3c1 8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
Reviewed-by: mcimadamore
2016-09-06 17:04:43 -07:00
Jan Lahoda
4814f397b2 8161376: Introduce -Xlint:exports
Adding -Xlint:exports, currently not doing anything. Functionality will be added separatelly under JDK-8153362.

Reviewed-by: jjg
2016-09-06 12:51:40 +02:00
Vicente Romero
7e27dd569e 8160454: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getDirectives() causes NPE on unnamed modules
Reviewed-by: jjg
2016-09-02 05:43:54 -07:00
Lana Steuck
0a327e7dac Merge 2016-09-02 02:42:03 +00:00
Srikanth Adayapalam
876bb73271 8164073: Javac should unconditionally warn if deprecated javadoc tag is used without @Deprecated annotation
Reviewed-by: mcimadamore
2016-09-02 07:49:15 +05:30
Lana Steuck
5823fdef29 Added tag jdk-9+134 for changeset eb2c81860c86 2016-09-01 23:20:13 +00:00
Robert Field
4017bf5f7a 8165211: JShell: Fix completion analysis problems
Reviewed-by: jlahoda
2016-09-01 13:21:52 -07:00
Jan Lahoda
8302f64ee6 8164952: JShell tests: jdk/jshell/CompletionSuggestionTest.testUncompletedDeclaration(): failure
Avoiding conflict between the CompletionSuggestionTest.testUncompletedDeclaration test and ClassPathTest

Reviewed-by: rfield
2016-09-01 21:25:33 +02:00
Robert Field
7a3d0498d3 8133507: JShell: StackTraceElement#getFileName of EvalException does not use custom id generator
Reviewed-by: jlahoda
2016-09-01 12:13:13 -07:00
Jan Lahoda
dc0db76409 8164836: TEST_BUG: adjust scope of the DefinedByAnalyzer in tools/all/RunCodingRules.java
Only enabling the DefinedByAnalyzer on java.compiler and jdk.compiler; removing the @DefinedBy annotations from other modules

Reviewed-by: jjg, ksrini
2016-08-29 20:55:24 +02:00
Kumar Srinivasan
2df08320de 8157349: Missing doc-files in javadoc documentation
Reviewed-by: jjg
2016-08-29 07:46:37 -07:00
Jan Lahoda
bbf85261aa 8164951: Build broken after JDK-8164745
Reverting the fix for JDK-8164745 to investigate a build failure.

Reviewed-by: jjg
2016-08-29 18:14:26 +02:00
Robert Field
fc65d375a3 8158507: JShell: new jdk.jshell.MemoryFileManager(StandardJavaFileManager, JShell) creates a jdk.jshell.MemoryFileManager$REPLClassLoader classloader, which should be performed within a doPrivileged block
Remove the ClassLoader and other unused code in support of in-process execution.  This is now supported through the SPI.

Reviewed-by: jlahoda
2016-08-29 08:17:14 -07:00
Jan Lahoda
161e3c650a 8165008: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules and the unnamed module when using -Xmodule

Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Jan Lahoda
74e01787b3 8131023: JShell: System.in does not work
Pass user input to snippets/remote agent

Reviewed-by: rfield
2016-09-01 10:30:50 +02:00
Amy Lu
9f1556675e 8165193: Workaround intermittent failures of JavacTreeScannerTest and SourceTreeScannerTest due to C2 memory usage
Reviewed-by: darcy
2016-09-01 13:18:42 +08:00
Shinya Yoshida
11de22e133 8164825: jshell tool: Completion for subcommand
Reviewed-by: jlahoda
2016-09-01 11:07:00 +09:00
Robert Field
7dceb3e785 8164518: JShell: Add failover case of explicitly listening to "localhost"
Reviewed-by: jlahoda
2016-08-31 10:35:51 -07:00
Mandy Chung
2a62da3a63 8165109: langtools/test switches to use new CLI options
Reviewed-by: jjg, amlu
2016-08-30 20:49:41 -07:00
Mandy Chung
8120ff3110 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:47:46 -07:00
Stuart Marks
6bcba7521c 8164837: fix jdeprscan TestLoad and TestScan failures on Windows
Reviewed-by: darcy
2016-08-29 13:44:43 -07:00
Jan Lahoda
4404741f80 8164745: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules the unnamed module when using -Xmodule

Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Nadeesh TV
7cafba7a11 8153897: jshell tool: "not active" must be pulled from resource file
Not active error msg pulled from resource file

Reviewed-by: rfield
2016-08-29 11:13:48 +00:00
Nadeesh TV
70b349f565 8156984: JShell tool: for (FormatCase e : EnumSet.allOf(FormatCase.class))
Replacde EnumSet.allOf(FormatCase.class) with FormatCase.all

Reviewed-by: rfield
2016-08-29 09:58:42 +00:00
Jonathan Gibbons
1386ffb4f2 8164887: update tests to remove use of old-style options
Reviewed-by: mchung
2016-08-26 15:54:36 -07:00
Robert Field
0b92f87233 8158738: jshell tool: Save does not affect jshell if started from another editor
Reviewed-by: jlahoda
2016-08-26 11:36:08 -07:00
Stuart Marks
61fab7c849 8164835: add a few tools tests to the problem list
Reviewed-by: darcy
2016-08-25 21:58:13 -07:00
Stuart Marks
1673e17518 8145464: implement deprecation static analysis tool
Reviewed-by: psandoz, darcy
2016-08-25 17:58:39 -07:00
Lana Steuck
e1d3c14945 Merge 2016-08-25 22:35:51 +00:00
Lana Steuck
233fae72ed Added tag jdk-9+133 for changeset 611ca58fca75 2016-08-25 21:18:47 +00:00
Maurizio Cimadamore
2c2d5c4917 8164399: inference of thrown variable does not work correctly
Logic for inferring thrown variables should exclude non proper bounds as per JLS 18.1

Reviewed-by: vromero, dlsmith
2016-08-25 11:51:19 +01:00
Vicente Romero
7328ed21cb 8161501: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getEnclosedElements() on unnamed module with unnamed package
Reviewed-by: jjg
2016-08-24 17:41:52 -07:00
Jonathan Gibbons
486c59283b 8164747: allclasses-frame broken after JDK-8162353
Reviewed-by: bpatel
2016-08-24 15:40:35 -07:00
Vicente Romero
ddbef393bc 8047338: javac is not correctly filtering non-members methods to obtain the function descriptor
Reviewed-by: mcimadamore
2016-08-24 12:23:10 -07:00
Sandeep Konchady
865b439a69 8163991: Fix license and copyright headers under test/jdk/javadoc/ and test/tools/javac/
Reviewed-by: anazarov, iris, jjg, shurailine
2016-08-23 10:19:49 +01:00
Joe Darcy
4f7021e5a3 8164598: Problem list TestIOException.java
Reviewed-by: jjg
2016-08-22 19:33:00 -07:00
Robert Field
f39e912857 8160089: jshell tool: use new double-dash long-form command-line options
Reviewed-by: jlahoda
2016-08-22 19:31:37 -07:00
Jonathan Gibbons
20e0d40bc1 8164130: Simplify doclet IOException handling
Reviewed-by: bpatel, ksrini
2016-08-22 16:32:40 -07:00
Jan Lahoda
1aab3cd562 8156911: JShell: file manager should be closed
Properly closing the file manager when it is being thrown away on error.

Reviewed-by: rfield
2016-08-22 18:19:31 +02:00
Robert Field
f03ea9c497 8154374: JShell: setContextClassLoader() for remote Snippet class loader
8080347: jshell tool: /vars when the status is other than Active

Reviewed-by: jlahoda
2016-08-22 09:12:11 -07:00
Robert Field
6a0075c86e 8164277: JShell API: Snippets are immutable and should be available for post-mortem analysis
Reviewed-by: jlahoda
2016-08-22 08:18:18 -07:00
Jan Lahoda
f65c3ae869 8164550: tools/javac/modules/InheritRuntimeEnvironmentTest.java fails on Windows after JDK-8153391
Empty classpath is not working on Windows; using a classpath consisting on a sole empty dir

Reviewed-by: mcimadamore
2016-08-22 15:16:30 +02:00
Jan Lahoda
53cd7b54fa 8153391: an image created for \"jdk.compiler\" fails to run javac
Improving errors produced by javac when the zipfs implementation is missing in the JDK image.

Reviewed-by: jjg
2016-08-22 09:59:43 +02:00
Robert Field
9f44318ef9 8158906: JShell: crashes with extremely long result value
Reviewed-by: jlahoda, shinyafox
2016-08-19 13:55:26 -07:00
Bhavesh Patel
efdde296cd 8155995: Update javadoc to include module search
Reviewed-by: jjg, ksrini
2016-08-19 12:54:02 -07:00
Maurizio Cimadamore
1c7781b760 8164481: Remove jtreg run configurations from langtools idea project
Update langtools intellij project and related ant build files.

Reviewed-by: jlahoda
2016-08-19 16:45:22 +01:00
Lana Steuck
d6f5c51ba4 Merge 2016-08-18 21:33:52 +00:00
Lana Steuck
ea92402e8a Added tag jdk-9+132 for changeset 3f7eb1205cee 2016-08-18 21:01:24 +00:00
Kumar Srinivasan
8e3f461678 8159305: Enhance the javadoc tool to support module related options
Reviewed-by: bpatel, jjg
2016-08-18 05:48:35 -07:00
Srikanth Adayapalam
6c2a33a67b 8162576: Missing doclint check missing for modules
Co-authored-by: Lance Andersen <lance.andersen@oracle.com>
Reviewed-by: jjg, ksrini
2016-08-17 10:34:48 +05:30
Jonathan Gibbons
f8ab3f84a4 8163800: The fix for JDK-8072052 shows up other minor incorrect use of styles
Reviewed-by: bpatel
2016-08-16 10:57:13 -07:00
Jonathan Gibbons
4c9b47f1fa 8098537: Incorrect fonts in Java 8 javadocs
8072052: <dd> part of <dl> list in javadoc should not be in monospace font

Reviewed-by: bpatel
2016-08-16 10:35:10 -07:00
Jan Lahoda
d103a19b3a 8078561: Error message should be generated once when -source 6 is specified
Code to avoid duplicated errors about features not supported in the current source level moved to Log

Reviewed-by: jjg
2016-08-16 16:43:00 +02:00
Bhavesh Patel
f6fc6ee2b8 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
Reviewed-by: jjg, ksrini
2016-08-15 22:14:25 -07:00
Srikanth Adayapalam
c7f35c53af 8157512: AssertionError in javac when module-info < v53.0
Reviewed-by: jjg
2016-08-16 09:45:19 +05:30
Srikanth Adayapalam
8513d8d26f 8157519: Error messages when compiling a malformed module-info.java confusing
Reviewed-by: jjg
2016-08-16 09:13:33 +05:30
Jonathan Gibbons
9208c82732 8162353: javadoc should provide a way to disable use of frames
Reviewed-by: bpatel, ksrini
2016-08-15 18:00:36 -07:00
Joe Darcy
66ff418a4b 8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage
Reviewed-by: jjg
2016-08-15 13:42:34 -07:00
Robert Field
67028ff853 8159027: JShell API: SourceCodeAnalysis.Suggestion has constructor, ..
Reviewed-by: jlahoda
2016-08-15 11:39:53 -07:00
Jan Lahoda
f0e1e069ff 8129421: JShell: unacceptable suggestions in 'extends', 'implements' in smart completion
8129422: JShell: methods and fields of uncompleted expressions should be suggested

Fixing several completion bugs

Reviewed-by: rfield
2016-08-15 08:28:26 +02:00
Vicente Romero
4509dabf7e 8067485: ct.properties has no copyright notice
Reviewed-by: jjg
2016-08-13 09:42:26 -07:00
Jonathan Gibbons
0ae5880c01 8052398: Uniqify test framework class names
Reviewed-by: darcy
2016-08-12 17:45:31 -07:00
Jonathan Gibbons
a39651d5ea 8160137: HTMLDoclet and AbstractDoclet should implement Doclet
Reviewed-by: ksrini
2016-08-12 16:03:36 -07:00
Jonathan Gibbons
7593e50c73 8163524: doclet resources doclet.usage.NAME.name are redundant
Reviewed-by: ksrini
2016-08-12 15:41:47 -07:00
Srikanth Adayapalam
37028f8abc 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
Reviewed-by: mcimadamore, ksrini
2016-08-12 11:49:18 +05:30
Lana Steuck
4eedc33696 Merge 2016-08-11 17:02:00 +00:00
Lana Steuck
b50532b85b Added tag jdk-9+131 for changeset 48d9e26a8fa4 2016-08-11 15:47:10 +00:00
Jan Lahoda
ec9ca2997f 8133884: javac moduleName/className and moduleName/packageName options
8162711: javax.lang.model.util.Elements.getModuleElement returns null during annotation processing on class files

Adding a test for annotation processing for <module-name>/<class-name>; ensuring the <module-name> module is in the module graph.

Reviewed-by: jjg
2016-08-11 17:26:12 +02:00
Kumar Srinivasan
b620ed93e6 8152054: fix @ignored langtools/test/jdk/javadoc/tool/ tests
Reviewed-by: jjg
2016-08-10 16:19:09 -07:00
Mandy Chung
8c9d7950f7 Merge 2016-08-10 15:54:25 -07:00
Robert Field
ea4535a524 8163817: JShell tests: disable minor failing editor tool cases: 8161276, 8163816, 8159229
Reviewed-by: jlahoda, psandoz, darcy
2016-08-10 15:52:26 -07:00
Jonathan Gibbons
978417c4c7 8136930: Simplify use of module-system options by custom launchers
8160489: Multiple -Xpatch lines ignored by javac
8156998: javac should support new option -XinheritRuntimeEnvironment

Reviewed-by: jlahoda, ksrini
2016-08-10 15:47:46 -07:00
Vicente Romero
3b80559162 8160156: javac is generating let expressions unnecessarily
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2016-08-10 13:52:02 -07:00
Robert Field
a2f7c1568c 8163500: JShell: ProblemList.txt update: 8139872 and 8080843 fixed
Reviewed-by: jlahoda
2016-08-10 10:47:43 -07:00
Robert Field
81c36d2f40 8143964: JShell API: convert query responses to Stream instead of List
Reviewed-by: psandoz, shinyafox
2016-08-09 23:00:49 -07:00
Jonathan Gibbons
719eeed2d2 8160697: HTMLWriter needs perf cleanup
Reviewed-by: ksrini, bpatel
2016-08-09 13:22:57 -07:00
Jan Lahoda
39de28475b 8143048: Re-examine dependency on property sun.boot.class.path
Removing obsolete references to sun.boot.class.path

Reviewed-by: jjg
2016-08-09 20:27:06 +02:00
Kumar Srinivasan
cd9b88b93d 8075529: Documentation in DocumentationTool.getTask(...) should mention about "null" parameter for doclet
Reviewed-by: jjg
2016-08-09 07:31:16 -07:00
Vicente Romero
9900b3bf7e 8162874: AST nodes representing operators should have a common superclass
Reviewed-by: mcimadamore
2016-08-08 11:48:02 -07:00
Jan Lahoda
d898c2f21c 8144733: Iterating over elements of a Scope can return spurious inner class elements
When a Symbol is removed from a Scope while iterating over it, update the iterator as well to reflect the change.

Reviewed-by: mcimadamore
2016-08-08 17:22:44 +02:00
Alejandro Murillo
335b44a953 Merge 2016-08-04 17:48:48 +00:00
Alejandro Murillo
4371dff8b4 Added tag jdk-9+130 for changeset 4923274643f2 2016-08-04 17:32:55 +00:00
Erik Joelsson
b485ceb1f8 8157100: missing dependency in build system
Reviewed-by: tbell
2016-08-04 10:07:48 +02:00
Jonathan Gibbons
b601617d9c 8162359: javac should use stdout for --help and --version
Reviewed-by: vromero
2016-08-03 16:01:09 -07:00
Joe Darcy
498a90cde6 8163113: langtools repeating annotations tests depend rely on annotations toString output
Reviewed-by: jlahoda, vromero
2016-08-03 11:30:27 -07:00
Joe Darcy
a5b296fde7 8163115: Temporarily problem list javac repeating annotations tests
Reviewed-by: jjg
2016-08-03 10:05:37 -07:00
Bhavesh Patel
fedc596776 8154817: Fix the click-through navigation for modules
Reviewed-by: jjg, ksrini
2016-08-02 13:14:12 -07:00
Vicente Romero
2bedc263dc 8161708: javac, consider a different way to handle access code for operators
Reviewed-by: mcimadamore
2016-08-01 08:36:02 -07:00
Steve Drach
e6f3a52942 8143366: Control characters in constant pool strings are not escaped properly
Reviewed-by: jjg
2016-07-29 12:27:08 -07:00
Li Jiang
e26e03868c 8161544: JDK9 message drop 20 resource updates - OpenJDK
JDK9 message drop 20 resource updates - openjdk

Reviewed-by: rfield, peytoia
2016-07-29 09:35:31 -07:00
Kumar Srinivasan
281438728d 8154705: invalid use of ALL-MODULE-PATH causes crash
Introducing Modules.initModules as a clear point where the module graphs is initialized in javac

Reviewed-by: jjg, ksrini
2016-07-20 12:49:32 -07:00
Alejandro Murillo
fca2c3ce3f Merge 2016-07-28 16:44:39 +00:00
Alejandro Murillo
e9213ab790 Added tag jdk-9+129 for changeset 6272642715a1 2016-07-28 16:08:17 +00:00
Srikanth Adayapalam
90a4b8ab1a 8158224: NullPointerException in com.sun.tools.javac.comp.Modules.checkCyclicDependencies when module missing
Reviewed-by: jlahoda
2016-07-28 10:13:34 +05:30
Vicente Romero
00275bd95e 8161277: javax.lang.model.util.Types.isSameType(...) returns true on wildcards
Reviewed-by: mcimadamore
2016-07-27 07:07:10 -07:00
Vicente Romero
8480651475 8161019: javac, fold formatter options
Reviewed-by: mcimadamore, jjg
2016-07-26 07:45:29 -07:00
Jan Lahoda
ecbab04648 8162255: 'Alt-Enter v'/'Alt-Enter i' not working on some terminals
Registering an additional code sequence for Alt-Enter

Reviewed-by: rfield
2016-07-26 15:52:51 +02:00
Maurizio Cimadamore
f89b798523 8161985: Spurious override of Object.getClass leads to NPE
Attr.adjustMethodReturnType() tweaks return types w/o checking what method is being patched

Reviewed-by: vromero
2016-07-22 12:38:06 +01:00
Iris Clark
fa9af401fe 8161236: Runtime.Version.{compareTo, equals}IgnoreOpt should be renamed
Reviewed-by: alanb, rfield, ksrini
2016-07-21 07:43:17 -07:00
Alejandro Murillo
99b03a1878 Merge 2016-07-21 17:14:23 +00:00
Alejandro Murillo
7befc4b2c5 Added tag jdk-9+128 for changeset 45b094192c2c 2016-07-21 16:43:00 +00:00
Robert Field
918c010822 8160127: JShell API: extract abstract JDI and abstract streaming implementations of ExecutionControl
8159935: JShell API: Reorganize execution support code into jdk.jshell.execution (previously sent for review, and combined here)
8160128: JShell API: extract abstract streaming remote agent
8159122: JShell API: Configurable invocation mechanism

ExecutionControl implementation support with simplified ExecutionControl interface

Reviewed-by: jlahoda
2016-07-20 23:19:09 -07:00
Vicente Romero
0bba28db43 8161383: javac is looking for operator symbols at the wrong place
Reviewed-by: mcimadamore
2016-07-19 11:27:56 -07:00
Bhavesh Patel
af3d6a8409 8151921: Improved page resolution
Reviewed-by: jjg, ksrini, ahgross
2016-07-14 13:35:35 -07:00
Jonathan Gibbons
517db2dadc 8071484: fix comment in DCReference
Reviewed-by: darcy
2016-07-14 13:30:56 -07:00
Andrey Nazarov
1a9a1d8961 8161132: JShell tests: jdk/jshell/KullaCompletenessStressTest.java should pass if jdk.shell sources are not provided
Reviewed-by: rfield
2016-07-14 11:14:22 -07:00
Dan Smith
a78d1e0b44 8161013: Never treat anonymous classes as 'final'
Reviewed-by: vromero
2016-07-14 11:57:15 -06:00
Alejandro Murillo
3cc8c36887 Merge 2016-07-14 16:21:39 +00:00
Alejandro Murillo
1aba64dc85 Added tag jdk-9+127 for changeset bf58ed488873 2016-07-14 15:47:47 +00:00
Joe Darcy
dfc1da33a2 8161336: Remove two javadoc tests from the problem list
Reviewed-by: jjg
2016-07-13 17:28:29 -07:00
Mandy Chung
de4f424b8c 8160398: (jdeps) Replace a list of JDK 8 internal API for detecting if it's removed in JDK 9 or later
Reviewed-by: dfuchs
2016-07-13 14:41:27 -07:00
Jonathan Gibbons
c2ee320e61 8138725: Add options for Javadoc generation
Reviewed-by: ksrini, bpatel, ahgross
2016-07-12 14:41:14 -07:00
Bhavesh Patel
e08b3b12fb 8154261: Module summary page should display directives for the module
Reviewed-by: jjg, ksrini
2016-07-12 12:55:18 -07:00
Vicente Romero
a7cc024b53 8161020: javac, fold stop compilation options
Reviewed-by: mcimadamore
2016-07-11 15:27:52 -07:00
Srikanth Adayapalam
0917774834 8160928: javac incorrectly copies over interior type annotations to bridge method
Reviewed-by: mcimadamore
2016-07-11 18:13:42 +05:30
Vicente Romero
bec16625dc 8153407: javac, fold debug options
Reviewed-by: mcimadamore, jjg
2016-07-08 16:47:13 -07:00
Phil Race
003244f622 Merge 2016-07-08 09:28:52 -07:00
Kumar Srinivasan
a89ed8318b 8160998: GPL header contains "(config)" in first line - not swapped in licensee bundles
Reviewed-by: vromero
2016-07-07 14:51:08 -07:00
Alejandro Murillo
c4d48f3ee3 Merge 2016-07-07 18:35:22 +00:00
Alejandro Murillo
3fff40c074 Added tag jdk-9+126 for changeset a42db8c180c3 2016-07-07 18:21:25 +00:00
Robert Field
7aca6deaf8 8160935: JShell: Without at least one source file 8160035 breaks build
Reviewed-by: jlahoda
2016-07-07 00:10:24 -07:00
Robert Field
e4f12b7b1e 8160035: JShell API: Add javadoc overview and package files
Reviewed-by: jlahoda
2016-07-06 20:53:55 -07:00
Vicente Romero
57474ae8fb 8048543: JLS8 18.5.3: inference variable seems to be instantiated unexpectedly
Reviewed-by: mcimadamore
2016-07-06 15:27:36 -07:00
Vicente Romero
249f04613a 8160915: javac, option forceSerializable should be restored
Reviewed-by: jjg
2016-07-06 12:46:37 -07:00
Vicente Romero
3360117337 8160891: javac, remove unused options, step 3
Reviewed-by: mcimadamore
2016-07-06 09:42:27 -07:00
Bhavesh Patel
def98f36d4 8157987: overview-summary.html generated by javadoc should include module information
Reviewed-by: jjg, ksrini
2016-07-05 13:30:40 -07:00
Srikanth Adayapalam
928c417cd8 8132446: AsssertionError in ClassSymbol.setAnnotationType
Reviewed-by: jlahoda, darcy
2016-07-04 14:57:33 +05:30
Jan Lahoda
d3eaa80bdd 8148131: compilation result depends on order of sources
Complete during imports phase should not trigger the hierarchy phase

Reviewed-by: mcimadamore
2016-07-04 08:52:45 +02:00
Robert Field
850b281ff0 8159111: JShell API: Add access to wrappers and dependencies
Reviewed-by: jlahoda
2016-07-01 14:41:07 -07:00
Robert Field
c8f9b12b5c 8159635: JShell API: Add compiler options
Reviewed-by: jlahoda
2016-07-01 14:16:28 -07:00
Phil Race
138ec7123c Merge 2016-07-01 13:01:04 -07:00
Alejandro Murillo
a7d45966a9 Merge 2016-06-30 22:39:09 +00:00
Alejandro Murillo
6108b37cb7 Added tag jdk-9+125 for changeset d4487b864f64 2016-06-30 22:10:11 +00:00
Joe Darcy
568bc5dbee 8160506: Use @implSpec tags in javax.lang.model.util
Reviewed-by: jjg
2016-06-29 19:24:40 -07:00
Jan Lahoda
0cc565280e 8155026: javac grants implied readability to explicit modules
Automatic modules should not 'requires public' ordinary named modules

Reviewed-by: jjg
2016-06-28 13:33:04 +02:00
Joe Darcy
d989ecb07a 8160504: Fix typo in JavacProcessingEnvironment.importStringToPattern
Reviewed-by: jjg
2016-06-28 17:39:44 -07:00
Kumar Srinivasan
b7e5b3ec1a 8160301: javadoc RootDoclmpl and DocEnv needs to be renamed
Reviewed-by: bpatel, jjg
2016-06-28 16:43:41 -07:00
Vicente Romero
0df5aa8678 8159970: javac, JLS8 18.2.4 is not completely implemented by the compiler
Reviewed-by: mcimadamore
2016-06-28 15:29:20 -07:00
Jan Lahoda
11272cf548 8132857: Historical name of default encoding shown on encoding mismatch
Using Charset.defaultCharset().name() to get the proper name of the default Charset.

Reviewed-by: jjg
2016-06-28 15:46:52 +02:00
Vicente Romero
b69fa0a44d 8159439: javac throws NPE with Module attribute and super_class != 0
Reviewed-by: jjg
2016-06-27 12:29:41 -07:00
Phil Race
bebab29638 Merge 2016-06-27 10:00:29 -07:00
Jan Lahoda
3d43452d94 8150860: Mach 5 tier1 test started failing - jdk/jshell/ComputeFQNsTest.java (after 8131027/8150814)
Correctly escaping '\' in paths; rethrowing exceptions from evaluation to improve debuggability of the test

Reviewed-by: jjg
2016-06-27 09:43:12 +02:00
Kumar Srinivasan
52dc860965 8160135: The Html doclet handles options incorrectly
Reviewed-by: jjg
2016-06-24 16:00:43 -07:00
Lana Steuck
98c2ed28f7 Merge 2016-06-23 21:13:09 +00:00
Lana Steuck
5f1652cd4d Added tag jdk-9+124 for changeset 956490b8da9c 2016-06-23 20:35:16 +00:00
Jonathan Gibbons
5791bf6bd6 8154399: Need replacement for jdk.javadoc/com.sun.tools.doclets.standard.Standard
8159096: Expose (new) Standard doclet class

Reviewed-by: alanb, erikj, ksrini
2016-06-22 17:20:53 -07:00
Jan Lahoda
6f94a3f4bf 8136453: Parameter name indices array size not updated correctly
Correctly resizing ClassReader.parameterNameIndices array.

Reviewed-by: mcimadamore
2016-06-21 21:06:54 +02:00
Maurizio Cimadamore
0d9142bf89 8159834: Add some support for jtreg test headers in IntelliJ langtools project
Add live templates to help creation of jtreg tests

Reviewed-by: jlahoda
2016-06-21 15:31:08 +01:00
Jonathan Gibbons
aba0a631d8 8159537: create build file to generate diags reports for all locales
Reviewed-by: mcimadamore
2016-06-20 13:21:09 -07:00
Kumar Srinivasan
2b450085d5 8159756: javadoc tests needs a tool invoker
Reviewed-by: jjg
2016-06-20 07:02:42 -07:00
Li Jiang
0aeecb0f7d 8159324: JDK9 message drop 10 resource updates
JDK9 message drop resource updates - openjdk

Reviewed-by: rfield, alanb, joehw
2016-06-20 06:13:34 -07:00
Jonathan Gibbons
6f7a85797e 8059631: Use of '#' to represent MethodHandle kind is confusing
Reviewed-by: jrose, mcimadamore
2016-06-17 17:53:00 -07:00
Jonathan Gibbons
6f1a819053 8159749: Update toolbox ModuleBuilder for doc comments
Reviewed-by: ksrini
2016-06-17 17:40:01 -07:00
Dan Smith
35ee3034b6 8158992: langtools/test/Makefile: improve support for control via variables
Reviewed-by: jjg
2016-06-17 17:09:21 -06:00
Mandy Chung
b41054bc29 8159524: jdeps -jdkinternals throws NPE when no replacement is known
Reviewed-by: dfuchs
2016-06-17 14:33:54 -07:00
Maurizio Cimadamore
62648293e7 8159680: Inference failure with unchecked subtyping and arrays
Discrepancy in handling of capture conversion between Types.isSubtype and Types.isSubtypeUnchecked

Reviewed-by: vromero
2016-06-17 18:17:16 +01:00
Lana Steuck
d83724bbfb Merge 2016-06-16 20:57:32 +00:00
Lana Steuck
5ba173dae1 Added tag jdk-9+123 for changeset 88f6e6f58798 2016-06-16 19:07:29 +00:00
David Dehaven
7100d4042c Merge 2016-06-15 12:47:50 -07:00
David Dehaven
4cc25cb407 Merge 2016-06-15 09:24:06 -07:00
Kumar Srinivasan
d3d0beed42 8158836: langtools build.xml needs some adjustments
Reviewed-by: jjg, jlahoda
2016-06-14 15:34:10 -07:00
Vicente Romero
3f3cc40ea1 8058244: missing error in qualified default super call
Reviewed-by: mcimadamore
2016-06-14 12:46:35 -07:00
Vicente Romero
d4a743435b 8068460: Pretty printing for loops
Reviewed-by: jjg
2016-06-14 11:13:14 -07:00
Kumar Srinivasan
4c8fc963f7 8159396: javadoc getSupportedVersion returns 8 instead of 9
Reviewed-by: jjg
2016-06-14 08:18:53 -07:00
Joe Darcy
0b4f69d015 8159378: Correct wording of RoundEnvironment.getElementsAnnotatedWithAny
Reviewed-by: jlahoda, jjg
2016-06-13 09:21:01 -07:00
Joe Darcy
c52bd6ba1d 8155880: Fix langtools usage of the deprecated Class.newInstance method
Reviewed-by: mcimadamore
2016-06-13 09:12:35 -07:00
Maurizio Cimadamore
2c8f465c47 8158630: Langtools Intellij project is missing some source roots
Add source roots for build tools to IntelliJ project

Reviewed-by: alundblad
2016-06-13 12:04:09 +01:00
Shinya Yoshida
e4edbb4617 8158123: NPE when the annotations is used in export-to of module-info
Reviewed-by: mcimadamore
2016-06-11 09:47:59 +09:00
Iris Clark
294b2a0ec9 8158458: Update references from "1.9" to "9"
Reviewed-by: jjg, ksrini
2016-06-10 13:52:03 -07:00
Dan Smith
448079796f 8037804: Implement specified test for related functional interface types
Reviewed-by: vromero
2016-06-10 16:43:38 -06:00
Dan Smith
5cffc0a3ab 8144767: Fix handling of capture variables in most-specific test
Reviewed-by: vromero
2016-06-10 15:08:00 -06:00
Nadeesh TV
b2d09f5c6c 8155581: jshell tool: replace use of Option.get()
Reviewed-by: rfield
2016-06-10 11:11:52 +00:00
Bhavesh Patel
b5cd26324b 8156077: Support javadoc tags in module documentation
Reviewed-by: jjg
2016-06-09 23:24:05 -07:00
Lana Steuck
94654e5108 Merge 2016-06-09 19:06:36 +00:00
Lana Steuck
319bc827fb Added tag jdk-9+122 for changeset 3d6ea76b35d6 2016-06-09 17:28:38 +00:00
Jan Lahoda
ec1f537d10 8158174: jshell tool: leaks threads waiting on StopDetectingInputStream
Shutdown StopDetectingInputStream when closing the ConsoleIOContext.

Reviewed-by: rfield
2016-06-09 14:20:11 +02:00
Robert Field
8696e295a8 8139829: JShell API: No use of fields to return information from public types
Reviewed-by: vromero
2016-06-08 00:32:31 -07:00
David Dehaven
bfd0a0ba42 Merge 2016-06-06 13:16:46 -07:00
Alexandre Iline
57b82df0b9 8157975: Remove duplicate files in sample API
Reviewed-by: jjg, ksrini
2016-06-02 17:31:38 -07:00
Lana Steuck
a06ab4d4e1 Merge 2016-06-02 21:14:40 +00:00
Robert Field
19c685726f 8131029: JShell: recover from VMConnection launch failure
Reviewed-by: vromero
2016-06-02 14:05:13 -07:00
Lana Steuck
8b8fa260dd Added tag jdk-9+121 for changeset c95c5bc94fad 2016-06-02 20:33:36 +00:00
Robert Field
9e48d360f5 8131024: JShell: multi-line comment not detected as incomplete
Reviewed-by: vromero
2016-06-02 12:52:00 -07:00
Vicente Romero
32e8e4695d 8037947: functional interface causes ClassCastException when extending raw superinterface
Reviewed-by: mcimadamore
2016-06-02 15:39:10 -04:00
Kumar Srinivasan
ca620f07d3 8158559: Fix for 8132216 breaks langtools build
Reviewed-by: mcimadamore
2016-06-02 11:06:20 -07:00
Maurizio Cimadamore
17c048ae32 8158355: Inference graph dot support broken
IllegalStateException when converting an inference graph to dot file

Reviewed-by: vromero
2016-06-02 16:08:24 +01:00
Srikanth Adayapalam
a739f3227d 8132216: [Findbugs] Annotation$Array_element_value may expose internal representation
Reviewed-by: mcimadamore
2016-06-02 15:25:20 +05:30
Srikanth Adayapalam
ab5510e51f 8146167: Anonymous type declarations drop supertype type parameter annotations
Reviewed-by: mcimadamore
2016-06-02 15:22:34 +05:30
David Dehaven
1b4250a9fd Merge 2016-06-01 15:27:52 -07:00
Maurizio Cimadamore
8fb837a1bf 8145489: NPE while compiling annotations with qualified names in package-info.java
Spurious method reference check in Attr.visitSelect is causing NPE

Reviewed-by: vromero
2016-06-01 12:39:24 +01:00
Robert Field
3bad85523c 8080843: JShell tool: invalid key error occurs when external editor is used
Reviewed-by: vromero
2016-05-31 14:02:52 -07:00
Vicente Romero
8d93dc2a15 8152062: obscure error message for bad 'provides'
Reviewed-by: jjg
2016-05-31 13:00:17 -04:00
Dalibor Topic
dee728f027 8154469: Update FSF address
Updated Free Software Foundation's mailing address in LICENSE

Reviewed-by: rriggs, shade
2016-05-30 16:36:41 +02:00
Shinya Yoshida
3ff9cf19e2 8141415: JShell: wrap erroneous with one-liner comment-outed imports
Reviewed-by: rfield
2016-05-29 23:46:49 +09:00
Vicente Romero
58de940c2f 8152785: Remove javac -XDnoModules
Reviewed-by: jjg
2016-05-27 19:45:57 -04:00
Robert Field
1da9340c23 8139872: JShell tests: EditorPadTest failing on headless
Reviewed-by: vromero
2016-05-27 14:45:20 -07:00
Jonathan Gibbons
cfc5ca5719 8157606: deprecate com.sun.javadoc API
Reviewed-by: ksrini
2016-05-27 13:06:58 -07:00
Jonathan Gibbons
ac7bd384c3 8049896: Clean up (Basic)JavacTask.getTypeMirror
Reviewed-by: vromero
2016-05-27 12:37:18 -07:00
Robert Field
c65d2e5dac 8157261: jshell tool: truncation for expressions is not consistent
Reviewed-by: vromero
2016-05-27 10:37:46 -07:00
Jonathan Gibbons
f6dd27010c 8157608: deprecate old entry points for javadoc tool
Reviewed-by: ksrini
2016-05-26 17:35:26 -07:00
Robert Field
8a3eaf7f44 8157953: JShell tests: reenable ToolBasicTest
8080883: JShell tool: tool does not report errors if -startup and -nostartup flags are specified

Reviewed-by: vromero
2016-05-26 12:38:21 -07:00
Jonathan Gibbons
a8abf4d482 Merge 2016-05-26 10:46:21 -07:00
Jonathan Gibbons
6cb53fe31c 8156962: javac should support options specified in _JAVAC_OPTIONS
Reviewed-by: vromero
2016-05-26 10:45:13 -07:00
Lana Steuck
fbad851fcc Merge 2016-05-26 17:18:12 +00:00
Maurizio Cimadamore
d9b332a2f5 8157895: langtools launcher.sh-template script is broken
Add logic to quote Xpatch paths

Reviewed-by: jjg
2016-05-26 18:09:42 +01:00
Lana Steuck
5384043b98 Added tag jdk-9+120 for changeset 44e95493fd13 2016-05-26 16:02:17 +00:00
Robert Field
1fb5067c57 8157917: JShell: shutdown could cause remote JDWP errors to be visible to users
8157918: JShell tests: StartOptionTest displays insufficient information to diagnose failures

Reviewed-by: vromero
2016-05-26 07:58:01 -07:00
Srikanth Adayapalam
f9526a87fe 8154052: Java compiler error displays line from the wrong file
Compiler should update the diagnostic source properly.

Reviewed-by: mcimadamore
2016-05-26 18:22:05 +05:30
Joe Darcy
fff165ddd1 8032230: Enhance javax.a.p.RoundEnvironment after repeating annotations
Reviewed-by: jjg
2016-05-25 22:32:16 -07:00
Vicente Romero
de6399c1a3 8152360: deprecate javah
Reviewed-by: jjg
2016-05-25 11:33:56 -04:00
Srikanth Adayapalam
93714ca994 8047024: 7 ANNOT tests in JCK9 test suite fail with an AssertionError for exception_index
Fix incorrect assertion about exception index already being set.

Reviewed-by: mcimadamore
2016-05-25 19:30:55 +05:30
Jan Lahoda
c4dedff7c1 8131017: jshell tool: pasting code with tabs invokes tab completion
Enabling copy-paste detection.

Reviewed-by: lagergren, rfield, sundar
2016-05-24 16:02:46 +02:00
Robert Field
7bcc48f00e 8157528: jdk/jshell/ExecutionControlTest.java failed intermittently with NPE
Reviewed-by: jlahoda
2016-05-23 13:05:04 -07:00
Robert Field
5d1f9c9918 8157517: jshell tool: allow undoing operations
8157395: jshell tool: allow the position of options on commands to be more flexible
8157393: jshell tool: change /set newmode ... to be consistent with /retain mode

Reviewed-by: jlahoda
2016-05-23 10:12:05 -07:00
Maurizio Cimadamore
414c739476 8157149: Inference: weird propagation of thrown inference variables
Overhaul of treatment of thrown inference variables

Reviewed-by: vromero
2016-05-23 15:07:10 +01:00
Paul Sandoz
5b6c0e5152 8149821: Add VarHandle signature-polymorphic invocation byte code tests
Reviewed-by: mcimadamore
2016-05-23 12:48:18 +02:00
Srikanth Adayapalam
4917261f1c 8154824: Compiler should handle java.nio.file.FileSystemNotFoundException gracefully and not abort
Reviewed-by: jjg
2016-05-23 10:08:48 +05:30
Robert Field
5361169fbd 8156101: JShell SPI: Provide a pluggable execution control SPI
Reviewed-by: jlahoda
2016-05-21 22:32:08 -07:00
Joe Darcy
8c88656e09 6415644: Make javax.lang.model.SourceVersion more informative
Reviewed-by: jjg
2016-05-20 17:00:03 -07:00
Jonathan Gibbons
e568099980 8157474: clean up/simplify/rename ModuleWrappers class
Reviewed-by: mchung
2016-05-20 16:44:35 -07:00
Mandy Chung
0bafc010b2 8153042: jdeps should continue to report JDK internal APIs that are removed/renamed in JDK
Reviewed-by: dfuchs
2016-05-20 12:24:02 -07:00
Robert Field
2a791e9edd 8157200: jshell tool: Add /retain command to persist settings
8156910: jshell tool: crash when code with syntax error contains format specifier

Reviewed-by: jlahoda
2016-05-20 11:55:46 -07:00
Mandy Chung
479ecdbdaf 8157391: jdeps left JarFile open
Reviewed-by: alanb
2016-05-20 09:47:00 -07:00
Li Jiang
72dfe407db 8157778: JDK9 preparation message drop resource updates
JDK9 preparation message drop resource updates - openjdk

Reviewed-by: rfield, alanb
2016-05-20 00:03:52 -07:00
Mandy Chung
6db305ee0d 8152502: tools/jdeps/modules/GenModuleInfo.java and TransitiveDeps fails on windows
Reviewed-by: jjg
2016-05-19 17:34:05 -07:00
Lana Steuck
b9c61ad8b3 Merge 2016-05-19 20:14:16 +00:00
Lana Steuck
aa53efc689 Merge 2016-05-19 19:47:04 +00:00
Iris Clark
45ede707d8 8144062: Move jdk.Version to java.lang.Runtime.Version
Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
2016-05-19 11:56:38 -07:00
Mandy Chung
cad01946df 8156575: Add jdeps -addmods, -system, -inverse options
Reviewed-by: dfuchs
2016-05-19 11:01:26 -07:00
Mandy Chung
bbc75367c7 8156680: jdeps implementation refresh
Reviewed-by: dfuchs
2016-05-19 10:55:33 -07:00
Mandy Chung
d027cbbffb 8153481: tools/jdeps/modules/GenModuleInfo.java and ModuleTest.java fails intermittently
Reviewed-by: dfuchs
2016-05-19 10:55:33 -07:00
Lana Steuck
2a762beae2 Added tag jdk-9+119 for changeset e420b9f05aaf 2016-05-19 17:48:04 +00:00
Maurizio Cimadamore
07b326bd10 8157326: Intellij langtools project should use shared run configurations
Turn langtools run configurations into shared configurations. Fix minor addExport issues.

Reviewed-by: jlahoda
2016-05-19 17:57:28 +01:00
Jan Lahoda
d75bcbe358 8133549: Generalize jshell's EditingHistory
EditingHistory moved to jdk.internal.le

Reviewed-by: rfield
2016-05-18 21:00:43 +02:00
Robert Field
3d6e1e8abc 8157185: jshell tool: ambiguous format -- distinguished arguments should be options
Reviewed-by: vromero
2016-05-18 11:35:10 -07:00
Srikanth Adayapalam
34b3d6385e 8154997: Add examples for jigsaw diagnostics
Reviewed-by: jjg, jlahoda
2016-05-18 11:38:20 +05:30
Jonathan Gibbons
6fa7a76e64 Merge 2016-05-17 10:13:55 -07:00
Jonathan Gibbons
6b7ce3811f 8149599: Update Minefield test
Reviewed-by: martin
2016-05-17 10:11:58 -07:00
Maurizio Cimadamore
cc3cb0640f 8156954: javac incorrectly complains of incompatible types
Add heuristics to pick best stuck constraint as per JLS 18.5.2

Reviewed-by: vromero
2016-05-17 17:53:18 +01:00
Claes Redestad
6cc9359822 8157102: Avoid exceptional control flow in Configuration.getText
Reviewed-by: jjg
2016-05-17 01:35:36 +02:00