[ https://issues.apache.org/jira/browse/NETBEANS-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087631#comment-17087631 ]
Arunava Sinha commented on NETBEANS-3965: ----------------------------------------- fix had been made in nb-java-x repository and issue will get resolved once nb-javac for jdk-14 is available in NB > 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: 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists