Commit Graph

3614 Commits

Author SHA1 Message Date
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