David Dehaven
4cc25cb407
Merge
2016-06-15 09:24:06 -07:00
Nadeesh TV
b2d09f5c6c
8155581: jshell tool: replace use of Option.get()
...
Reviewed-by: rfield
2016-06-10 11:11:52 +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
Robert Field
19c685726f
8131029: JShell: recover from VMConnection launch failure
...
Reviewed-by: vromero
2016-06-02 14:05:13 -07:00
Robert Field
9e48d360f5
8131024: JShell: multi-line comment not detected as incomplete
...
Reviewed-by: vromero
2016-06-02 12:52:00 -07:00
David Dehaven
1b4250a9fd
Merge
2016-06-01 15:27:52 -07: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
Shinya Yoshida
3ff9cf19e2
8141415: JShell: wrap erroneous with one-liner comment-outed imports
...
Reviewed-by: rfield
2016-05-29 23:46:49 +09:00
Robert Field
c65d2e5dac
8157261: jshell tool: truncation for expressions is not consistent
...
Reviewed-by: vromero
2016-05-27 10:37:46 -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
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
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
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
Robert Field
5361169fbd
8156101: JShell SPI: Provide a pluggable execution control SPI
...
Reviewed-by: jlahoda
2016-05-21 22:32:08 -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
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
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
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
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
Jonathan Gibbons
b733375f7d
8149843: StandardJavaFileManager should provide a way to get paths from strings
...
8150111: Need to change signature of StandardJavaFileManager.setLocationFromPaths
Reviewed-by: vromero, jlahoda
2016-05-12 11:36:08 -07:00
Jan Lahoda
eb99e4ec1f
8153761: JShell: Completion -- Show parameter names if possible
...
Compiling code with -parameters; keeping parameter names when reading classfiles; searching JDK sources if parameter names are not available.
Reviewed-by: rfield
2016-05-05 12:55:21 +02:00
Alan Bateman
d2463eca44
Merge
2016-05-03 11:38:13 +01:00
Jonathan Gibbons
64261477b1
8154956: Module system implementation refresh (4/2016)
...
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg, mchung, alanb
2016-05-03 09:11:12 +01:00
Robert Field
c7ff526996
8139832: JShell API: Diag constructor should not be exposed and fix typo
...
Reviewed-by: jlahoda
2016-05-02 08:54:14 -07:00
Robert Field
2006da5930
8139837: JShell API: make a common JShellException
...
Reviewed-by: jlahoda
2016-04-29 19:53:19 -07:00
Robert Field
7e90d3bb14
8155580: jshell tool: push for -R missed added file MessageHandler.java
...
Reviewed-by: jlahoda
2016-04-27 19:56:44 -07:00
Robert Field
83f65483e4
8150382: JShell API: Allow setting remote JVM arguments
...
8151754: jshell tool: add command line options for setting feedback mode
Reviewed-by: jlahoda
2016-04-27 18:13:19 -07:00
Robert Field
f49817d6cd
8154485: JShell: infrastructure for multi-Snippet class wrappers
...
Reviewed-by: jlahoda
2016-04-25 08:50:16 -07:00
Robert Field
ecfc09db16
8153551: jshell tool: no longer a mechanism to see current feedback modes
...
Reviewed-by: jlahoda
2016-04-20 08:35:44 -07:00
Robert Field
6921adecb8
8154445: JShell: Drop residual use of addReads from jshell
...
Reviewed-by: alanb, ksrini
2016-04-20 08:30:30 -07:00
Robert Field
1889a6c4fa
8143955: JShell tool (UX): Output structure
...
8143956: JShell tool (UX): default prompts
Reviewed-by: jlahoda
2016-04-12 22:23:11 -07:00
Yuji Kubota
b987321be3
8153716: JShell tool: should warn when failed to launch editor
...
Catch launch exceptions. Split ToolBasicTest into two to provide place for regression test.
Reviewed-by: rfield
2016-04-09 11:03:48 -07:00
Robert Field
c1f45bd77e
8153896: JShell API: Snippet.id() doc -- breaks make doc
...
Reviewed-by: jlahoda
2016-04-08 13:26:38 -07:00
Robert Field
39df1f1336
8130450: JShell: events are not generated for repeated source
...
8139835: JShell API: Snippet.id() doc -- specify: no meaning, dynamic
Reviewed-by: jlahoda
2016-04-08 10:51:57 -07:00
Jan Lahoda
00bcf17e91
8153243: make docs should generate JShell API docs
...
Tweaking JShell javadoc so that it can be built without warnings/errors.
Reviewed-by: rfield, erikj
2016-04-08 11:52:46 +02:00
Robert Field
9351c0eddf
8153417: jshell tool: use test passed locale to retrieve ResourceBundle
...
Reviewed-by: jlahoda
2016-04-04 20:28:05 -07:00
Robert Field
a80f850898
8147515: JShell: Internationalize
...
Reviewed-by: jlahoda
2016-04-04 10:31:20 -07:00
Robert Field
3818cea28d
8152925: JShell: enable corralling of any type declaration, including enum
...
Reviewed-by: jlahoda
2016-04-01 09:20:33 -07:00
Robert Field
e16d374ab5
8151755: jshell tool: properly cover resolution issues in output configuration
...
8152246: jshell tool: history overflow
Reviewed-by: jlahoda
2016-03-25 18:36:19 -07:00
Jan Lahoda
a981a56c45
8152296: langtools/test/jdk/jshell/ToolReloadTest.java failing if there is not persisted history
...
Create a custom Terminal for use in tests; avoid use of global Preferences in tests.
Reviewed-by: rfield
2016-03-23 13:40:42 +01:00
Alan Bateman
001ebb3a72
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
Jan Lahoda
eee69db96d
8151570: jtreg tests leave tty in bad state
...
Use unsupported terminal when running tests, to avoid setting tty to a raw mode.
Reviewed-by: rfield
2016-03-11 13:00:33 +01:00
Robert Field
19e4c51157
8080069: JShell: Support for corralled classes
...
Reviewed-by: jlahoda
2016-03-10 14:47:14 -08:00
Volker Simonis
eb9a8ddcc4
8150632: jdk.jshell.TaskFactory should use jdk.Version to check for java.specification.version
...
Reviewed-by: rfield
2016-03-10 08:54:29 +01:00
Robert Field
51ea08084f
8148316: jshell tool: Configurable output format
...
8148317: jshell tool: unify commands into /set
8149524: JShell: CompletenessAnalysis fails on class Case<E1 extends Enum<E1>, E2 extends Enum<E2>, E3 extends Enum<E3>> {}
Reviewed-by: jlahoda
2016-03-08 11:53:35 -08:00
Jan Lahoda
c63980511c
8131027: JShell API/tool: suggest imports for a class
...
Adding two new actions to JShell: add imports and create variable.
Reviewed-by: rfield
2016-02-29 11:54:06 +01:00