Commit Graph

205 Commits

Author SHA1 Message Date
Jan Lahoda
698882e467 8185426: Jshell crashing on autocompletion
Properly canceling completion on <tab> if needed.

Reviewed-by: rfield
2017-08-25 13:48:49 +02:00
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
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
7872f39eb7 8186475: JShell API: remove trailing HTML paragraph tag
Reviewed-by: jlahoda
2017-08-21 08:29:42 -07: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
Jonathan Gibbons
e3fc153bc8 8185756: JShell has two broken links in its documentation
Reviewed-by: rfield
2017-08-04 15:42:58 -07:00
Jonathan Gibbons
cc10e3484e 8184225: Fix accessibility and tidy issues in jdk.jshell docs
Reviewed-by: jlahoda
2017-07-12 11:24:45 -07: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
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
Lana Steuck
3b6aac2ac0 Merge 2017-06-03 02:45:43 +00:00
Li Jiang
8c982f3544 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:26:21 -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
Jonathan Gibbons
5c0906b9eb 8179299: Fix HTML 5 errors in java.compiler module
8179300: Fix HTML 5 errors in jdk.compiler module
8179301: Fix HTML 5 errors in jdk.javadoc module
8179303: Fix HTML 5 errors in jdk.jshell module

Reviewed-by: darcy
2017-04-25 18:35:24 -07:00
Jonathan Gibbons
4a269851c9 8176327: javac produces wrong module-info
8178518: Add method JavaFileManager.contains

Reviewed-by: jlahoda
2017-04-24 14:59:43 -07:00
Robert Field
6c5591c8d2 8178992: jshell tool: missing references in /help /set mode
Reviewed-by: jlahoda
2017-04-21 12:27:02 -07:00
Robert Field
2d34a0490a 8178520: jshell tool: /help /save -- incorrect description of /save -start
Reviewed-by: jlahoda
2017-04-13 14:11:33 -07: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
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
7b69bf343e 8177078: jshell tool: fix documentation of /help shortcuts
8177735: jshell tool: /help /help -- typo "comand"
8177308: jshell tool: documentation: multiple start-up files and predefines not documented

Reviewed-by: jlahoda
2017-03-30 13:55:01 -07: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
a6a8595d7e 8176412: jshell tool: automatic imports are excluded on /reload causing it to fail
Reviewed-by: jlahoda
2017-03-09 08:45:21 -08:00
Maurizio Cimadamore
90d03330a1 8176265: Method overload resolution on a covariant base type doesn't work in 9
Some type mappings should not be recursive

Reviewed-by: vromero, jlahoda
2017-03-09 12:08:02 +00: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
Jan Lahoda
2d911bad19 8175560: Drop String pkgName from javax.tools.JavaFileManager.getLocationForModule(Location location, JavaFileObject fo, String pkgName)
Reviewed-by: jjg
2017-03-06 13:17:33 +01:00
Robert Field
54adf4b246 8175886: JShell: crash on tab-complete with NPE
Reviewed-by: jlahoda
2017-03-03 10:58:08 -08:00
Li Jiang
3bc6b3808b 8172956: JDK9 message drop 30 l10n resource file updates - open
Reviewed-by: joehw, mchung, smarks, sherman, henryjen
2017-02-21 06:02:37 -08:00
Robert Field
fb170dede9 8174857: jshell tool: /help /set truncation -- confusing indentation
Reviewed-by: jjg
2017-02-13 12:14:23 -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
Jan Lahoda
261ce92be5 8173777: Merge javac -Xmodule into javac--patch-module
Merging -Xmodule: functionality into --patch-module.

Reviewed-by: jjg, mchung, rfield
2017-02-13 09:37:26 +01:00
Robert Field
6d8a15972e 8174762: JShell: @since tags missing
Reviewed-by: jjg
2017-02-10 13:49:42 -08: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
ee13abe593 8173893: JShell: reduce memory leaks
Reviewed-by: jlahoda
2017-02-08 09:12:45 -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
Srikanth Adayapalam
d6090047be 8166420: Confusing error message when reading bad module declaration
Reviewed-by: jlahoda
2017-02-06 18:14:51 +05:30
Jan Lahoda
e7c5d26299 8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost
Disable Ctrl-C while running external editors.

Reviewed-by: rfield
2017-02-06 11:11:43 +01: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
48836cb851 8173652: jshell tool: store history on fatal exit
Reviewed-by: jlahoda
2017-01-31 17:01:55 -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
Jan Lahoda
8e3182c384 8153759: jshell tool: Smart completion detection is not reliable
Reverting back to smart completion if any action follows a completion action.

Reviewed-by: rfield
2017-01-24 13:29:58 +01: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