I've looked around and cannot find the bug in jira, so i'm checking if it is already known.

When i build a project (target jar) with do.depend=true for a second time after clean, the following is thrown:

java.lang.ClassFormatError: Invalid Constant Pool entry Type 19
at org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.readEntry(ConstantPoolEntry.java:180)

This is in the depend macro:

<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
                    <classpath>
                        <path path="@{classpath}"/>
                    </classpath>
                </depend>


The project is:
javac.source=10
javac.target=10
platform.active=JDK_10

The exception is thrown direct after opening build/classes/module-info.class

environment:
Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-285-on-20180502)
Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
Runtime: Java(TM) SE Runtime Environment 10.0.1+10
System: Linux version 4.15.0-20-generic running on amd64; UTF-8; en_US (nb)


Groeten,
Simon





---------------------------------------------------------------------
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



Reply via email to