[ https://issues.apache.org/jira/browse/NETBEANS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi reassigned NETBEANS-449: ---------------------------------------- Assignee: Jan Lahoda > 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 > Assignee: Jan Lahoda > Priority: Minor > Labels: pull-request-available > Attachments: installing-apache-netbeans.log > > Time Spent: 20m > Remaining Estimate: 0h > > 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: 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