Commit Graph

156 Commits

Author SHA1 Message Date
Robert Field
a908618445 8185108: JShell: NullPointerException when throwing exception with null message under local ExecutionControl
Reviewed-by: jlahoda
2017-08-23 14:06:50 -07:00
Robert Field
1a42e4f2ec 8186636: JShell tests: jtreg_4.2-b08 breaks ComputeFQNsTest.testAddImport()
Reviewed-by: jlahoda
2017-08-22 23:26:28 -07:00
Jan Lahoda
638006a097 8182297: jshell tool: pasting multiple lines of code truncated
Read input needs to be kept across ConsoleReader.readLine invocations unless consumed.

Reviewed-by: rfield, rfield
2017-08-22 13:10:46 +02:00
Robert Field
6573d94b58 8182270: JShell API: Tools need snippet information without evaluating snippet
8166334: jshell tool: shortcut: expression/statement to method

Reviewed-by: jlahoda
2017-08-16 18:42:11 -07:00
Amy Lu
135d500fc8 8184894: Mark ExternalEditorTest.java as intermittently failing, demote to tier 2
Reviewed-by: jlahoda
2017-07-28 19:54:26 +08:00
Jan Lahoda
6cc1fadb9a 8183021: JShell tests: Fix failing tests on Windows
Reviewed-by: jjg, rfield
2017-06-30 20:03:07 +02:00
Robert Field
feee226151 8177847: jshell tool: retain delete of non-retained mode does not locally delete
Reviewed-by: jlahoda
2017-06-26 18:43:00 -07:00
Robert Field
f2484da32c 8182268: JShell: CompletionInfo.source() for CONSIDERED_INCOMPLETE missing semicolon
Reviewed-by: jlahoda
2017-06-26 14:16:34 -07:00
Robert Field
d07b9fdfde 8176110: JShell: completions with package results should, in most cases, be dot terminated
Reviewed-by: jlahoda
2017-06-25 13:42:31 -07:00
Robert Field
2fb3b40b40 8182489: jshell tool: rerun multiline snippet from history corrupts history
Reviewed-by: jlahoda
2017-06-25 13:38:26 -07:00
Robert Field
08148506c2 8180510: jshell tool: crash on entering pseudo-commands: /<id> or /-<n>
Reviewed-by: jlahoda
2017-06-16 10:32:46 -07:00
Robert Field
efb4e963d6 8180306: jshell tool: /help -- confusing identifier in feedback mode examples
8179048: jshell tool: /help -- references to "/reset or /reload" should add /env
8179046: jshell tool: /help /edit is missing -all and -start
8181950: jshell tests: longer help documentation breaks tests because of paging

Reviewed-by: jlahoda
2017-06-13 12:31:28 -07:00
Robert Field
08a3a23043 8167554: jshell tool: re-execute a range and/or sequence of snippets
8180508: jshell tool: support id ranges in all commands with id arguments

Reviewed-by: jlahoda
2017-05-18 14:16:25 -07:00
Magnus Ihse Bursie
10678fd999 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:55:07 +02:00
Jan Lahoda
229653fcd0 8179531: JShell: fails to provide bytecode for dynamically created lambdas
Adding support for getResource(s) to the JShell's ClassLoader

Reviewed-by: psandoz, rfield
2017-05-09 12:22:15 +02:00
Jan Lahoda
b60b8e2c9b 8179002: jdk/jshell/MergedTabShiftTabExpressionTest.java fails intermittently
Handle incomming byte arrays in batches, to avoid unnecessary matching.

Reviewed-by: rfield
2017-04-24 18:58:50 +02:00
Jan Lahoda
26b474c933 8178481: jdk/jshell/CompletionSuggestionTest.java routinely fails
Depending on the test order, the completion after 'import c<tab>' may include additional entries besides 'com', only checking 'com' is present.

Reviewed-by: rfield
2017-04-20 13:43:03 +02:00
Jan Lahoda
c71e9e0626 8178035: MergedTabShiftTabTest sometimes time outs
Splitting MergedTabShiftTabTest into two tests, increasing timeout.

Reviewed-by: rfield
2017-04-19 11:36:44 +02:00
Robert Field
849cae8710 8178023: jshell tool: crash with ugly message on attempt to add non-existant module path
Reviewed-by: jlahoda
2017-04-11 17:26:52 -07:00
Alan Bateman
7641a14458 Merge 2017-04-07 10:58:38 +01:00
Alan Bateman
481f056ca9 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2017-04-07 08:08:26 +00:00
Jan Lahoda
9bb53e4193 8178077: jshell tool: crash on ctrl-up or ctrl-down
Adding a test for EditingHistory.

Reviewed-by: rfield
2017-04-06 16:19:33 +02:00
Jan Lahoda
64d37b0a69 8178013: Finetuning of merged tab and shift tab completion
Fixing mistakes in localization bundle, fixing completion after /help set.

Reviewed-by: rfield
2017-04-06 11:55:58 +02:00
Jan Lahoda
f447a87ed6 8177076: jshell tool: usability of completion
Merging completion and documentation completion, assigning Shift-tab shortcut to fix actions.

Reviewed-by: rfield
2017-03-31 10:46:37 +02:00
Robert Field
67066fa639 8177079: jshell tool: usability of /help for commands and sub-commands
Reviewed-by: jlahoda
2017-03-29 16:07:30 -07:00
Robert Field
4eb4827f6a 8176241: JShell tests: on full builds CompletionSuggestionTest.testImportStart() fails
Reviewed-by: darcy
2017-03-06 15:44:37 -08:00
Robert Field
826a40c57a 8175304: JShell tool: The /reset command hangs after setting a startup script
Reviewed-by: jlahoda
2017-03-06 08:57:41 -08:00
Robert Field
a4cbfe0dac 8176184: JShell tests: jdk/jshell/CompletionSuggestionTest.testImportStart(): failure
Reviewed-by: jlahoda
2017-03-06 08:36:05 -08:00
Robert Field
54adf4b246 8175886: JShell: crash on tab-complete with NPE
Reviewed-by: jlahoda
2017-03-03 10:58:08 -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
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
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
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
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
Robert Field
88d92662cd 8173577: JShell tests: Some testng tests check nothing
Reviewed-by: jlahoda
2017-02-01 09:10:07 -08: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
Robert Field
bba1175418 8173073: jshell tool: blank lines removed from multi-line snippets
Reviewed-by: jlahoda
2017-01-20 11:05:48 -08:00
Robert Field
362b794a82 8171130: jshell tool: /edit adds empty statement to brace terminated snippet
8173007: JShell Tests: ToolFormatTest takes too long

Reviewed-by: jlahoda
2017-01-19 11:17:11 -08:00
Robert Field
99e3bceb60 8172179: jshell tool: builtin startup settings should be by reference not content
Reviewed-by: jlahoda
2017-01-19 11:12:02 -08:00
Robert Field
cde454bda3 8172678: JShell Tests: Disable CompletionSuggestionTest.testBrokenClassFile2()
Reviewed-by: jlahoda
2017-01-13 18:29:21 -08:00
Jan Lahoda
fd12ea2d58 8171385: jshell tool: unresponsive to ctrl-C in input wait on Windows
Ensuring stop is sent using the proper channel depending on the current state of the StopDetectingInputStream.

Reviewed-by: rfield
2017-01-10 10:17:47 +01:00
Robert Field
cea33151ed 8171981: JShell: Fails compilation: new Object().getClass().getSuperclass()
Reviewed-by: mcimadamore
2017-01-09 18:04:16 -08:00
Robert Field
f9b57bfbed 8172255: JShell API: ExecutionControl/LoaderDelegate: Remove unused/unimplemented setClassPath
Reviewed-by: jlahoda
2017-01-09 13:50:45 -08:00
Robert Field
6f796f5684 8165405: jshell tool: /classpath is inconsistent
8172103: JShell: crash in TaskFactory$WrapSourceHandler.diag

Reviewed-by: jlahoda
2017-01-06 10:31:25 -08:00