[
https://issues.apache.org/jira/browse/NETBEANS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated NETBEANS-449:
------------------------------------
Labels: pull-request-available (was: )
> Compilation error for build from source (Ubuntu 17.10, Java 8, Ant 10.2)
> ------------------------------------------------------------------------
>
> Key: NETBEANS-449
> URL: https://issues.apache.org/jira/browse/NETBEANS-449
> Project: NetBeans
> Issue Type: Bug
> Environment: Ubuntu 17.10, Java 8u151, Ant 1.10.2
> Reporter: Kevin
> Priority: Minor
> Labels: pull-request-available
> Attachments: installing-apache-netbeans.log
>
>
> I failed to build incubator Apache NetBeans from source. I cloned the master
> branch, ran ant v10.2 with Java 8u151 installed. It broke on a Java
> compilation error:
> {code:java}
> bootstrap:
> [echo] Bootstrapping NetBeans-specific Ant extensions...
> [javac] Compiling 53 source files to
> /media/kevvurs/ExtraDrive1/incubator-netbeans/nbbuild/build/antclasses
> [javac]
> /media/kevvurs/ExtraDrive1/incubator-netbeans/nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java:344:
> error: class ZipArray inherits unrelated defaults for stream() from types
> ResourceCollection and Collection
> [javac] private static final class ZipArray extends
> ArrayList<Resource>
> [javac] ^
> [javac] 1 error
> {code}
> ZipArray extended ArrayList and implemented ResourceCollection, so Java broke
> on the multiple stream() definitions. I am guessing Java 9 would get around
> this, but the documentation says it will work with Java 8.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists