This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When coding in normal Java, I am used to type a name of a class ByteArrayInputS| invoke code completion and select "ByteArrayInputStream" - the class is then autocompleted but also imported automatically. when working with JShell - the class is only autocompleted - and that is close to useless. Because such line cannot be executed. Either import the class or autocomplete it with FQN.
This problem is very annoying and renders the whole JShell support almost unusable.
Should be fixed in jet-mai#1cc62269bea6
I can confirm the import works. Thanks.
Moving to an appropriate component