Jan Lahoda
5d215e5425
8131019: jshell tool: access javadoc from tool
...
Adding internal support to resolve {@inheritDoc} and format javadoc to plain text for use by jdk.jshell and jdk.scripting.nashorn.shell, enhancing Shift-<tab> documentation in JShell with ability to show javadoc.
Reviewed-by: jjg, rfield
2016-11-02 07:38:37 +01:00
Robert Field
70d8f3c7b4
8167643: JShell: silently ignore access modifiers (as semantically irrelevant)
...
Reviewed-by: jlahoda
2016-10-27 17:11:16 -07:00
Robert Field
ac9d25d027
8166649: jshell tool: missing --add-modules and --module-path
...
8167462: jshell tool: /help /reload is wrong about re-executing commands
Reviewed-by: jlahoda
2016-10-24 19:59:35 -07:00
Robert Field
5be06e9de2
8167637: jshell tool: /edit should use EDITOR setting
...
8167640: jshell tool: external editor temp file should be *.java
Reviewed-by: jlahoda
2016-10-24 17:06:10 -07:00
Robert Field
f601bcb76e
8163840: jshell tool: provide way to display configuration settings
...
Reviewed-by: jlahoda
2016-10-20 12:53:11 -07:00
Jan Lahoda
89120bba75
8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
...
Reset the console when the process is suspended and resumed.
Reviewed-by: rfield
2016-10-19 12:42:37 +02:00
Jan Lahoda
7ac8bf6c75
8167461: jshell tool: Scanner#next() hangs tool
...
PipeInputStream.read(byte[]...) should only read available bytes; properly resending exceptions for snippet's System.in and properly closing it; more reliable way to cancel user input while waiting in System.in.
Reviewed-by: rfield
2016-10-18 16:00:32 +02:00
Shinya Yoshida
e3b0b0192b
8145263: JShell: Fix the format of SourceCodeAnalysis#documentation
...
Reviewed-by: rfield, jlahoda
2016-10-17 23:23:11 +09:00
Jan Lahoda
e6bf5b92f7
8166890: JShell: locks forever when input is piped
...
StopDetectingInputStream.setState must not override the state if the stream is closed.
Reviewed-by: rfield, shinyafox
2016-10-11 12:29:39 +02:00
Robert Field
8b2ace697c
8167128: JShell: /drop of statement gives confusing output
...
Reviewed-by: jlahoda
2016-10-10 18:41:12 -07:00
Shinya Yoshida
a53b8b8a5d
8167343: JShell: Completeness analysis infers an incomplete declaration as COMPLETE_WITH_SEMI, which is a first line of Allman style
...
Reviewed-by: rfield
2016-10-11 00:28:49 +09:00
Shinya Yoshida
b9ad123afa
8154714: jshell tool: add exports support
...
Reviewed-by: jlahoda, rfield
2016-09-28 16:36:10 +09:00
Robert Field
87803ca0e8
8166655: JShell: Process running JShell should not be blocked from exit by non-daemon data-transfer threads
...
Reviewed-by: jlahoda
2016-09-26 13:18:11 -07:00
Robert Field
4ca1072d25
8166589: jshell tool: typo: remove out of place text in /help /set truncation
...
Reviewed-by: jlahoda
2016-09-23 14:37:03 -07:00
Robert Field
1e18e0dc9f
8166400: JShell: friendlier representation of array values
...
Reviewed-by: sundar, jlahoda
2016-09-21 23:46:06 -07:00
Jan Lahoda
835354dfa6
8131025: JShell: crash on tab-complete reference to bad class file
...
Catching CompletionFailure when iterating through Scope.
Reviewed-by: rfield
2016-09-08 15:48:28 +02:00
Robert Field
426f1d9d47
8080352: jshell tool: Error message for using "package" should be more descriptive than "Failed"
...
Reviewed-by: jlahoda
2016-09-07 12:15:22 -07:00
Vicente Romero
29aa24a3c1
8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
...
Reviewed-by: mcimadamore
2016-09-06 17:04:43 -07:00
Robert Field
4017bf5f7a
8165211: JShell: Fix completion analysis problems
...
Reviewed-by: jlahoda
2016-09-01 13:21:52 -07: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
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
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
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
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
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
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
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
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
Robert Field
9f44318ef9
8158906: JShell: crashes with extremely long result value
...
Reviewed-by: jlahoda, shinyafox
2016-08-19 13:55:26 -07:00
Robert Field
67028ff853
8159027: JShell API: SourceCodeAnalysis.Suggestion has constructor, ..
...
Reviewed-by: jlahoda
2016-08-15 11:39:53 -07:00
Jan Lahoda
f0e1e069ff
8129421: JShell: unacceptable suggestions in 'extends', 'implements' in smart completion
...
8129422: JShell: methods and fields of uncompleted expressions should be suggested
Fixing several completion bugs
Reviewed-by: rfield
2016-08-15 08:28:26 +02:00
Robert Field
81c36d2f40
8143964: JShell API: convert query responses to Stream instead of List
...
Reviewed-by: psandoz, shinyafox
2016-08-09 23:00:49 -07:00
Jonathan Gibbons
b601617d9c
8162359: javac should use stdout for --help and --version
...
Reviewed-by: vromero
2016-08-03 16:01:09 -07:00
Li Jiang
e26e03868c
8161544: JDK9 message drop 20 resource updates - OpenJDK
...
JDK9 message drop 20 resource updates - openjdk
Reviewed-by: rfield, peytoia
2016-07-29 09:35:31 -07:00
Jan Lahoda
ecbab04648
8162255: 'Alt-Enter v'/'Alt-Enter i' not working on some terminals
...
Registering an additional code sequence for Alt-Enter
Reviewed-by: rfield
2016-07-26 15:52:51 +02:00
Iris Clark
fa9af401fe
8161236: Runtime.Version.{compareTo, equals}IgnoreOpt should be renamed
...
Reviewed-by: alanb, rfield, ksrini
2016-07-21 07:43:17 -07:00
Robert Field
918c010822
8160127: JShell API: extract abstract JDI and abstract streaming implementations of ExecutionControl
...
8159935: JShell API: Reorganize execution support code into jdk.jshell.execution (previously sent for review, and combined here)
8160128: JShell API: extract abstract streaming remote agent
8159122: JShell API: Configurable invocation mechanism
ExecutionControl implementation support with simplified ExecutionControl interface
Reviewed-by: jlahoda
2016-07-20 23:19:09 -07:00
Vicente Romero
a7cc024b53
8161020: javac, fold stop compilation options
...
Reviewed-by: mcimadamore
2016-07-11 15:27:52 -07:00
Phil Race
003244f622
Merge
2016-07-08 09:28:52 -07:00
Robert Field
7aca6deaf8
8160935: JShell: Without at least one source file 8160035 breaks build
...
Reviewed-by: jlahoda
2016-07-07 00:10:24 -07:00
Robert Field
e4f12b7b1e
8160035: JShell API: Add javadoc overview and package files
...
Reviewed-by: jlahoda
2016-07-06 20:53:55 -07:00
Vicente Romero
3360117337
8160891: javac, remove unused options, step 3
...
Reviewed-by: mcimadamore
2016-07-06 09:42:27 -07:00
Robert Field
850b281ff0
8159111: JShell API: Add access to wrappers and dependencies
...
Reviewed-by: jlahoda
2016-07-01 14:41:07 -07:00
Robert Field
c8f9b12b5c
8159635: JShell API: Add compiler options
...
Reviewed-by: jlahoda
2016-07-01 14:16:28 -07:00
Li Jiang
0aeecb0f7d
8159324: JDK9 message drop 10 resource updates
...
JDK9 message drop resource updates - openjdk
Reviewed-by: rfield, alanb, joehw
2016-06-20 06:13:34 -07:00
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