-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
bugcategory: kernelIssues related to things that need to be fixed inside the kernel.Issues related to things that need to be fixed inside the kernel.
Description
I have been trying to create an object of type Integer
Integer io = new Integer(10);
System.out.println(io)
but seem to be running into issues
| Integer io = new Integer(10);
cannot find symbol
symbol: class
| Integer io = new Integer(10);
static import only from classes and interfaces
I can do it for the Long wrapper fine
Long lo = new Long(10);
I have tried this in a jshell and that works. I have verified that the jshell is using the jdk
java --list-modules | grep "jdk.jshell" [email protected]
Metadata
Metadata
Assignees
Labels
bugcategory: kernelIssues related to things that need to be fixed inside the kernel.Issues related to things that need to be fixed inside the kernel.