You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ARUNAVA SINHA (JIRA)" <ji...@apache.org> on 2018/08/07 10:52:00 UTC
[jira] [Assigned] (NETBEANS-1117)
java.lang.IllegalArgumentException when using var in the class level
[ https://issues.apache.org/jira/browse/NETBEANS-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ARUNAVA SINHA reassigned NETBEANS-1117:
---------------------------------------
Assignee: ARUNAVA SINHA
> java.lang.IllegalArgumentException when using var in the class level
> --------------------------------------------------------------------
>
> Key: NETBEANS-1117
> URL: https://issues.apache.org/jira/browse/NETBEANS-1117
> Project: NetBeans
> Issue Type: Bug
> Components: java - Editor
> Affects Versions: 9.0
> Environment: Windows 10 ver. 1803
> Reporter: Tevin Niang-Trost
> Assignee: ARUNAVA SINHA
> Priority: Critical
> Attachments: IDE log.txt, UI log.txt
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists