[ https://issues.apache.org/jira/browse/NETBEANS-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arunava Sinha resolved NETBEANS-3965. ------------------------------------- Resolution: Fixed Issue was fixed with merge of nb-javac for 14 PR link: [https://github.com/apache/netbeans/pull/2277] > 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 > OpenJDK 11.0.2 > Gradle 6.4.1 > 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