Commit Graph

3423 Commits

Author SHA1 Message Date
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
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
Robert Field
149821a78e 8153920: jshell tool: allow a parameter on the /vars /methods /classes commands
Reviewed-by: vromero
2016-05-16 21:46:32 -07:00
Robert Field
f53f69489a 8154812: jshell tool: value printing truncation
Reviewed-by: vromero
2016-05-16 21:25:44 -07:00
Maurizio Cimadamore
358e25664a 8154180: Regression: stuck expressions do not behave correctly
ArgumentAttr should not cache stuck trees

Reviewed-by: vromero
2016-05-16 14:51:17 +01:00
Jan Lahoda
41258c689d 8078559: Update error message to indicate illegal character when encoding set to ascii
When an input character cannot be decoded, include it in the produced error

Reviewed-by: jjg
2016-05-16 15:41:57 +02:00