-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b151
-
generic
-
generic
-
Verified
Make print methods opt-in by using "PRINTING" resource.
So:
jshell
Includes standard imports but no print methods.
Where:
jshell --start PRINTING
Includes a complete set of print methods, but no imports.
And:
jshell --start DEFAULT --start PRINTING
Includes both.
Resources initially are: DEFAULT, PRINTING, and JAVASE; Where the later is all Java SE imports. Resources apply to "/set start", "/open", and load files.
So:
jshell
Includes standard imports but no print methods.
Where:
jshell --start PRINTING
Includes a complete set of print methods, but no imports.
And:
jshell --start DEFAULT --start PRINTING
Includes both.
Resources initially are: DEFAULT, PRINTING, and JAVASE; Where the later is all Java SE imports. Resources apply to "/set start", "/open", and load files.
- relates to
-
JDK-8172179 jshell tool: builtin startup settings should be by reference not content
-
- Closed
-
-
JDK-8172414 jshell not working in exploded JDK build
-
- Closed
-
-
JDK-8172154 jshell tool: make all IMPORTS.jsh generated at build time
-
- Resolved
-