Robert Field
ea579f7bec
8170162: jshell tool: no mechanism to programmatically launch
...
8170044: jshell tool: jshell missing from javax.tools.ToolProvider
Reviewed-by: jjg
2016-12-20 13:42:13 -08:00
David Dehaven
2bff185d11
Merge
2016-12-16 11:58:18 -08:00
Maurizio Cimadamore
ef78f339fd
8171371: Remove redundant type-arguments from generic method calls
...
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:47 +00:00
Maurizio Cimadamore
c4e8276376
8181370: Convert anonymous inner classes into lambdas/method references
...
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:34 +00:00
David Dehaven
44265a8aaa
Merge
2016-12-12 20:54:41 -08:00
Li Jiang
34c791a6a4
8169618: JDK9 message drop interim resource updates - OpenJDK
...
Reviewed-by: rfield, peytoia, joehw, weijun
2016-12-07 05:58:43 -08:00
Jan Lahoda
ae8ace7912
8165564: langtools\test\jdk\jshell\CommandCompletionTest.java fails on some windows
...
Ignoring non-existent default FileSystem roots.
Reviewed-by: rfield
2016-12-05 19:42:42 +01:00
David Dehaven
f4f6ea13ba
Merge
2016-12-05 08:36:16 -08:00
Robert Field
7b53262baf
8167185: JShell API: Exported elements referring to inaccessible types in jdk.jshell
...
Reviewed-by: jlahoda
2016-12-02 10:48:37 -08:00
Robert Field
411ce3da8c
8169828: jdk/jshell/ExternalEditorTest.java testStatementMush() fails frequently on all platform
...
8170015: jshell tool: /help output looks terrible on a 100 column wide terminal
8170368: jshell tool: post setting not properly applied, line-ends not prefixed correctly
Reviewed-by: jlahoda
2016-12-02 10:17:03 -08:00
Phil Race
83c9077f13
Merge
2016-12-01 10:34:29 -08:00
Alan Bateman
01a366e6dd
Merge
2016-12-01 11:16:45 +00:00
Alan Bateman
22e233b2e9
8169069: Module system implementation refresh (11/2016)
...
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: mcimadamore, jjg, mchung, anazarov
2016-12-01 09:02:42 +00:00
Mandy Chung
1a34c7a1ae
8170428: Move src.zip to JDK/lib/src.zip
...
Reviewed-by: jjg
2016-11-29 15:15:20 -08:00
Mandy Chung
d67262a13f
8170424: back out src.zip change from JDK-8170424
...
Reviewed-by: prr
2016-11-28 18:05:09 -08:00
Mandy Chung
9a86634434
8169816: Move src.zip and jrt-fs.jar under the lib directory
...
Reviewed-by: alanb, erikj, jjg
2016-11-28 11:36:43 -08:00
Robert Field
85eded3562
8169519: JShell: Handle start-up failures and hangs gracefully
...
8166581: JShell: locks forever if -R options is wrong
8169234: JShell: hangs on startup on some computers caused by hostname
Reviewed-by: jlahoda
2016-11-22 19:24:02 -08:00
Robert Field
dda0e054d5
8114842: JShell: SourceCodeAnalysis splits code with array initialiazer incorrectly
...
Reviewed-by: jlahoda
2016-11-21 12:28:56 -08:00
Robert Field
f9eb02a066
8153402: jshell tool: completion provider for /help
...
8169818: jshell tool: completion provider for /vars /methods /types gives -history
Reviewed-by: jlahoda
2016-11-18 09:41:51 -08:00
Jonathan Gibbons
c7374cd58f
8163190: Clarify JavaFileManager use of \"module location\"
...
Reviewed-by: jlahoda
2016-11-16 12:12:02 -08:00
Robert Field
f3e88eb313
8143006: jshell tool: /edit doesn't process each line as same as inputs for jshell
...
8163816: JShell tests: jdk/jshell/ExternalEditorTest.java -- unexpected results EditorTestBase.testEditClass1() and .testEditMethod1()
Reviewed-by: jlahoda
2016-11-16 10:45:23 -08:00
Jan Lahoda
da7b11ca15
8169561: jshell tool: double shift-tab on variable crashes tool
...
Avoid crashe for unknown HTML tags; avoid crash for non-existing documentation; fix signature for JShell variables
Reviewed-by: rfield
2016-11-16 17:48:43 +01:00
Robert Field
8899d19210
8166333: jshell tool: shortcut var does not import its type
...
Reviewed-by: jlahoda
2016-11-11 11:50:11 -08:00
Jan Lahoda
4ca0a287fe
8169599: Several JShell tests are failing on Solaris after JDK-8145838
...
Partially reverting e43f670394ca
Reviewed-by: rfield
2016-11-11 17:45:29 +01:00
Jan Lahoda
d969a1a3fa
8145838: JShell: restrict RemoteAgent connection socket to localhost
...
Also reviewed by Chris Ries
Reviewed-by: rfield
2016-11-11 12:54:47 +01:00
Robert Field
907f7c2d7e
8161983: JShell API: Clean-up following 8160127 et. al
...
Reviewed-by: jlahoda
2016-11-06 22:50:46 -08:00
Robert Field
d292468c51
8129559: JShell: compilation fails if class, method or field is annotated and has modifiers
...
8080354: JShell: Runtime visible annotations cannot be retrieved
Reviewed-by: jlahoda
2016-11-04 14:47:25 -07:00
Robert Field
836024d6f9
8161969: jshell tool: /var value is not truncated per feedback setting
...
8166637: jshell tool: confusing truncation of long result values
8154513: JShell tool: welcome message should match feedback mode
8167552: jshell tool: Typo in jshell command '/? /reload' description
Reviewed-by: jlahoda
2016-11-03 09:12:02 -07:00
Robert Field
02e5b77101
8167636: jshell tool: Edit Pad should be in its own module
...
Reviewed-by: jlahoda
2016-11-02 16:29:50 -07:00
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