Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b153
-
Verified
Description
jshell> new Object().getClass().getSuperclass()
| Error:
| illegal start of type
| new Object().getClass().getSuperclass()
| ^
| Error:
| <identifier> expected
| new Object().getClass().getSuperclass()
| ^
| Error:
| wrong number of type arguments; required 1
| new Object().getClass().getSuperclass()
| ^
| Error:
| cannot find symbol
| symbol: class $1
| new Object().getClass().getSuperclass()
| ^
| Error:
| cannot find symbol
| symbol: variable $1
| new Object().getClass().getSuperclass()
| ^
—Dan
| Error:
| illegal start of type
| new Object().getClass().getSuperclass()
| ^
| Error:
| <identifier> expected
| new Object().getClass().getSuperclass()
| ^
| Error:
| wrong number of type arguments; required 1
| new Object().getClass().getSuperclass()
| ^
| Error:
| cannot find symbol
| symbol: class $1
| new Object().getClass().getSuperclass()
| ^
| Error:
| cannot find symbol
| symbol: variable $1
| new Object().getClass().getSuperclass()
| ^
—Dan
Attachments
Issue Links
- relates to
-
JDK-8172453 JShell: choose more useful scratch variable type when result is intersection type
- Open
-
JDK-8172530 JShell: TypeProjection .stream().map(...).collect(...) must be replaced with .map(...)
- Closed