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/06/08 09:30:00 UTC

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

     [ https://issues.apache.org/jira/browse/NETBEANS-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Netbeans User 2019 updated NETBEANS-3965:
-----------------------------------------
    Affects Version/s: 12.0

> 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
>    Affects Versions: 12.0, 11.2, 11.3
>         Environment: Apache Netbeans 11.2 and even 11.3
> OpenJDK 11.0.2
>            Reporter: Netbeans User 2019
>            Assignee: Arunava Sinha
>            Priority: Minor
>              Labels: compile-error
>
> 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