-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 9
-
Component/s: tools
-
b161
-
Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8176959 | 10 | Robert Field | P2 | Resolved | Fixed | b03 |
For example ---
jshell> Level<alt-F1>i
0: Do nothing
1: import: java.lang.System.Logger.Level
2: import: java.util.logging.Level
Choice: 2
Imported: java.util.logging.Level
jshell> Level.ALL
$2 ==> ALL
jshell> /reload
| Restarting and restoring state.
-: Level.ALL
| Error:
| cannot find symbol
| symbol: variable Level
| Level.ALL
| ^---^
jshell>
jshell> Level<alt-F1>i
0: Do nothing
1: import: java.lang.System.Logger.Level
2: import: java.util.logging.Level
Choice: 2
Imported: java.util.logging.Level
jshell> Level.ALL
$2 ==> ALL
jshell> /reload
| Restarting and restoring state.
-: Level.ALL
| Error:
| cannot find symbol
| symbol: variable Level
| Level.ALL
| ^---^
jshell>
- backported by
-
JDK-8176959 jshell tool: automatic imports are excluded on /reload causing it to fail
-
- Resolved
-