[
https://issues.apache.org/jira/browse/NETBEANS-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474088#comment-16474088
]
Simon IJskes commented on NETBEANS-781:
---------------------------------------
As of yet there is no non-alpha of this fix. it was fixed 2 days ago by the ant
team. See:
[https://lists.apache.org/api/atom.lua?mid=b3b736cf5a49f194c10954baff07d47cf3997f4ade18bce8691cb4c6@%3Cdev.ant.apache.org%3E]
(i have no better link)
from the conversation:
> I went ahead and pushed a commit[1] to fix this. We have our nightly
> Jenkins job which generates a nightly build. So if you would like to
> test it, you can pick up a distribution which contains this commit,
> whenever the next job runs. The artifact should be available here[2].
>
> [1]
> https://github.com/apache/ant/commit/d0f9c2e121e2b3a18b679705c2f2164426e7e6fb
> [2]
> https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/distribution/
> java.lang.ClassFormatError: Invalid Constant Pool entry Type 19 in
> build-impl.xml
> ----------------------------------------------------------------------------------
>
> Key: NETBEANS-781
> URL: https://issues.apache.org/jira/browse/NETBEANS-781
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Ant Project
> Affects Versions: 9.0
> 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)
> Reporter: Simon IJskes
> Priority: Major
>
> 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>
>
> project properties:
> javac.source=10
> javac.target=10
> platform.active=JDK_10
> The exception is thrown direct after opening build/classes/module-info.class
--
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