You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Emilian Bold (JIRA)" <ji...@apache.org> on 2018/05/14 20:04:00 UTC
[jira] [Comment Edited] (NETBEANS-781) java.lang.ClassFormatError:
Invalid Constant Pool entry Type 19 in build-impl.xml
[ https://issues.apache.org/jira/browse/NETBEANS-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474737#comment-16474737 ]
Emilian Bold edited comment on NETBEANS-781 at 5/14/18 8:03 PM:
----------------------------------------------------------------
OK, the bug reproduces and has been fixed upstream in Apache Ant.
From what I see we would need to update o.apache.tools.ant.module/external to use 1.10.4 once that becomes official.
As far as I can tell the current ant-libs-1.10.1.zip is just a zip of the JARs under lib/ from the binaries at [https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/distribution/binaries/]
I've noticed that these Ant libs are also being published over to Maven Central, eg. [https://mvnrepository.com/artifact/org.apache.ant/ant/1.10.3] so we should be able to start using the official Maven coordinated for these dependencies.
was (Author: emi):
OK, the bug reproduces and has been fixed upstream in Apache Ant.
From what I see we would need to update o.apache.tools.ant.module/external to use 1.10.4 once that becomes official.
As far as I can tell the current ant-libs-1.10.1.zip is just a zil of the JARs under lib/ from the binaries at [https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/distribution/binaries/]
I've noticed that these Ant libs are also being published over to Maven Central, eg. [https://mvnrepository.com/artifact/org.apache.ant/ant/1.10.3] so we should be able to start using the official Maven coordinated for these dependencies.
> 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
> Attachments: JavaApplication10.zip
>
>
> When i build a project (target jar) with do.depend=true (in project.properties or private.properties) 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists