Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Ubuntu 17.10, Java 8u151, Ant 1.10.2
Description
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:
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
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.
Attachments
Attachments
Issue Links
- links to