You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Netbeans User 2019 (Jira)" <ji...@apache.org> on 2020/03/06 11:04:00 UTC

[jira] [Created] (NETBEANS-3965) Source code "var" issue

Netbeans User 2019 created NETBEANS-3965:
--------------------------------------------

             Summary: Source code "var" issue
                 Key: NETBEANS-3965
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3965
             Project: NetBeans
          Issue Type: Bug
          Components: java - Compiler, java - Editor, platform - Action Items, projects - Gradle
         Environment: Apache Netbeans 11.2 and even 11.3
OpenJDK 11.0.2
            Reporter: Netbeans User 2019
            Assignee: Laszlo Kishalmi


var File[] = file.list();

on editor: do no show any issue

on action items: there is no issue visible about that

on gradle: fails in compile

on old-style project (Java with Ant > Java Application): run without issue, but if you explicitly try build you get "error: 'var' is not allowed as an element type of an array



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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