Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
9.0
-
None
-
None
-
Windows 10 ver. 1803
Description
Occurs when one types var in the class level of any class (i.e. not in a static initializer block, instance initializer block, or method), including static nested classes, inner classes, local classes, and anonymous classes.
Examples below. Typing var in each situation brings up a dialog box which says java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE.
class Test {
var
}
class Test {
static class StaticNestedTest {
var
}
}
class Test {
class InnerTest {
var
}
}
class Test {
Runnable anonTest = new Runnable() {
var
}
}
class Test {
void x() {
class LocalTest {
var
}
}
}
UI and IDE logs attached as .txt files.
Attachments
Attachments
Issue Links
- relates to
-
NETBEANS-463 IllegalArgumentExcedption thrown if var type used for instance variables
- Closed