Commit Graph

33 Commits

Author SHA1 Message Date
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
Vicente Romero
4b6ab35c85 8198479: JDK build is broken by 8194892
Reviewed-by: sundar
2018-02-21 00:29:04 -05: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
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
Jan Lahoda
e44c7feff9 8189595: jshell tool: line redrawn on each completion
Reviewed-by: rfield
2017-11-02 10:09:34 +01:00