Robert Field
37ef084d73
8210808: jshell tool: only considers the first snippet of the external editor
...
Reviewed-by: jlahoda, sundar
2018-10-29 08:34:33 -07:00
Robert Field
0d815c2677
8211694: JShell: Redeclared variable should be reset
...
Reviewed-by: sundar
2018-10-24 21:17:30 -07:00
Robert Field
dafc483475
8210959: JShell fails and exits when statement throws an exception whose message contains a '%'
...
Reviewed-by: jlahoda
2018-10-22 09:26:50 -07:00
Robert Field
749916b897
8210923: JShell: support for switch expressions
...
Reviewed-by: jlahoda
2018-10-22 08:30:39 -07:00
Robert Field
f4e1502e03
8210596: jshell does not support raw string literals
...
Reviewed-by: jlahoda, jlaskey
2018-09-17 08:37:47 -07:00
Jan Lahoda
b3b644438e
8206986: Compiler support for Switch Expressions (Preview)
...
8207405: Compiler Tree API support for Switch Expressions (Preview)
Support for switch expression, switch with rules and multiple constants for cases.
Reviewed-by: jjg, mcimadamore, vromero
2018-08-29 09:36:17 +02:00
Leo Jiang
6c703b8589
8207948: JDK 11 L10n resource file update msg drop 10
...
Reviewed-by: naoto
2018-07-25 22:48:53 -07:00
Jan Lahoda
aabea5d599
8203827: Upgrade JLine to 2.14.6
...
Reviewed-by: alanb, hannesw, rfield
2018-06-01 13:04:30 +02:00
Chris Yin
7166041796
8202690: jdk/jshell/ToolBasicTest.java failed in testOpenFileOverHttp() and testOpenLocalFileUrl()
...
Reviewed-by: rfield, jlahoda
2018-05-08 09:51:42 +08:00
Michal Vala
1e0c45b250
8199912: jshell tool: /open from URI
...
Reviewed-by: rfield
2018-05-04 23:19:10 -07:00
Robert Field
ac44a19694
8199193: jshell tool: Add support for preview features
...
Reviewed-by: sundar
2018-04-23 09:01:03 -07:00
Vicente Romero
6a2e0a5a01
8198314: javac hidden options violate standard syntax for options
...
Reviewed-by: jjg
2018-04-03 23:58:52 -04:00
Robert Field
4ecc488704
8198801: JShell: user exception chained cause not retained
...
Reviewed-by: jlahoda
2018-04-03 13:27:58 -07:00
Shinya Yoshida
4b6cd06e3d
8199762: JShell API: Failed to detect override when snippet to be overridden has been changed before
...
Reviewed-by: rfield
2018-03-24 14:43:04 +09:00
Phil Race
d2e6289c0b
Merge
2018-02-26 10:36:34 -08:00
Phil Race
31dabd4d7f
Merge
2018-02-20 21:49:06 -08:00
Vicente Romero
4b6ab35c85
8198479: JDK build is broken by 8194892
...
Reviewed-by: sundar
2018-02-21 00:29:04 -05:00
Phil Race
89cb6a90d2
Merge
2018-02-20 13:30:49 -08:00
Vicente Romero
2591c21c01
8194892: add compiler support for local-variable syntax for lambda parameters
...
Reviewed-by: mcimadamore
2018-02-20 11:45:16 -05:00
Robert Field
4aa85f9489
8196133: JShell crashes when attempting to use bad source file in class path
...
Reviewed-by: jlahoda
2018-02-16 16:18:55 -08:00
Robert Field
b2ed2bda60
8198573: JShell: class replace loses instances
...
Reviewed-by: jlahoda
2018-02-23 10:49:56 -08:00
Robert Field
f23f23fc76
8166232: jshell tool: cannot access previous history
...
Reviewed-by: jlahoda
2018-02-23 10:25:22 -08:00
Lana Steuck
845f7823de
Merge
2018-02-09 02:23:34 +00:00
Yue Liu
751fa92e41
8196383: JDK 10 L10n resource file update - msgdrop 20
...
Reviewed-by: naoto
2018-02-06 22:26:13 -08:00
Vicente Romero
5f7d996632
8196403: remove the remaining use of string keys for errors and warnings in the compiler
...
Reviewed-by: mcimadamore, jlahoda
2018-02-02 07:43:54 -05:00
Jan Lahoda
e332323760
8191842: JShell: Inferred type information is lost when assigning types to a \"var\"
...
For vars, upgrading all anonymous classes to member classes; stripping intersection types from fields before writing.
Reviewed-by: rfield
2018-01-19 17:11:52 +01:00
Goetz Lindenmaier
22762d1cdc
8189102: All tools should support -?, -h and --help
...
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
2018-01-16 08:48:34 +01:00
Li Jiang
cc269bbcc4
8194717: JDK10 L10n resource file update - msgdrop 10
...
Reviewed-by: joehw
2018-01-14 22:25:53 -08:00
Robert Field
ec203d777d
8179858: jshell tool: sync nomenclature from reference to online /help
...
Reviewed-by: dlsmith, jjg
2018-01-04 12:24:56 -08:00
Alan Bateman
7b054f30b8
8193758: Update copyright headers of files in src tree that are missing Classpath exception
...
Reviewed-by: mchung, mr, jjg, iris, prr
2017-12-19 10:03:36 +00:00
Phil Race
4b727d4f18
Merge
2017-12-13 10:25:38 -08:00
Phil Race
ee9c644643
Merge
2017-12-11 10:08:51 -08:00
Robert Field
e08ffc05d9
8192863: jshell tool: /<id><tab> gives "No such command"
...
Reviewed-by: jlahoda
2017-12-07 13:23:18 -08:00
Jan Lahoda
17b766fb1d
8191636: [Windows] jshell tool: Wrong character in /env class-path command crashes jshell
...
Fixing handling of invalid paths.
Reviewed-by: rfield
2017-12-13 11:27:28 +01:00
Robert Field
5252da0f37
8192979: jshell tool: Online help text for commands is confusing
...
Reviewed-by: jlahoda
2017-12-05 11:04:42 -08:00
Maurizio Cimadamore
686d74f11e
8189749: Devise strategy for making source level checks more uniform
...
Create a 'feature' enum which is responsible for handling source version checks and related diagnostic generation
Reviewed-by: jjg, jlahoda
2017-12-04 17:54:49 +00:00
Jan Lahoda
9f07305ab6
8189248: Jshell: error with mutually dependent snippets, when one must be replaced
...
Ensuring proper imports are generated for mutually dependent snippets if one of them is replaced.
Reviewed-by: rfield
2017-12-07 19:24:27 +01:00
Phil Race
dcaa7f90ba
Merge
2017-11-27 10:35:05 -08:00
Robert Field
c942c5de6b
8190939: JShell: gives a compiler error evaluating an expression of inaccessible type
...
Reviewed-by: jlahoda
2017-11-24 16:55:18 -08:00
Jan Lahoda
fea6c39ce2
8178109: More useful documentation on /help
...
For /help <command/subject>, show the help for the command/subject directly.
Reviewed-by: rfield
2017-11-23 19:44:13 +01:00
Robert Field
c0689879a7
8177076: jshell tool: allow non-zero /exit
...
8190383: JShell API: no way for the jshell tool to report exit status to provider
Reviewed-by: jlahoda
2017-11-14 19:33:37 -08:00
Robert Field
846d6be95c
8172154: jshell tool: make all IMPORTS.jsh generated at build time
...
Reviewed-by: jlahoda
2017-11-14 10:45:22 -08:00
Phil Race
158e69f6ec
Merge
2017-11-03 09:56:02 -07:00
Robert Field
022c618af9
8188072: JShell: NPE in SourceCodeAnalysis.completionSuggestions()
...
Reviewed-by: jlahoda
2017-11-02 11:09:28 -07:00
Robert Field
7ce7347fd2
8179856: jshell tool: not suitable for pipeline use
...
8186708: jshell tool: bad load file garbles message and does not abort
Reviewed-by: jlahoda
2017-10-24 20:33:36 -07:00
Robert Field
19fbc4c08c
8187359: JShell: Give comprehensible error when user method name matches Object method
...
Reviewed-by: jlahoda
2017-10-20 19:08:25 -07:00
Jan Lahoda
f66b1c7a8b
8186694: JShell: speed-up compilation by reusing compiler instances
...
Generalizing ReusableContext and using it in JShell to speed up processing.
Reviewed-by: mcimadamore, rfield
2017-09-01 14:04:20 +02:00
Jan Lahoda
a36938e082
8188225: AST could be improved in presence of var types
...
Adding a better start pos for vars; always adding a synthetic type tree to vars.
Reviewed-by: mcimadamore
2017-10-06 17:18:03 +02:00
Maurizio Cimadamore
c825188cd8
8177466: Add compiler support for local variable type-inference
...
Add support for 'var' in implicitly typed local variable declarations
Reviewed-by: vromero, jlahoda
2017-09-26 12:52:53 +01:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00