The bug occured on module-info.java. Compiling with jdk 10, source level jdk 10. So yes.

G. Simon

On 14-05-18 13:56, Emilian Bold wrote:
OK. I've started following the JIRA issue, let's see if I can help.

I'll try to duplicate it. So, any Java project that uses Java 10, correct?

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 14 May 2018 2:46 PM, Simon IJskes <[email protected]> wrote:

I'm sorry i have to give up here, i dont know how to create a pull

request for a download from hg.netbeans.org.

see:

[downloadbinaries] Creating

/home//tmp/incubator-netbeans/o.apache.tools.ant.module/external/ant-libs-1.10.1.zip[downloadbinaries]
 
Downloading:http://hg.netbeans.org/binaries/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip[downloadbinaries]
 
Creating/home/_/tmp/incubator-netbeans/o.apache.tools.ant.module/external/ant-misc-1.10.1.zip

[downloadbinaries] Downloading:

http://hg.netbeans.org/binaries/F6E0317E5F315E395DA47E5B008D01FAA48C91FB-ant-misc-1.10.1.zip

Groeten

Simon

On 12-05-18 23:08, Geertjan Wielenga wrote:

Can you provide a pull request? That would be the standard way of providing

fixes.

Gj

On Sat, May 12, 2018 at 5:02 PM, Simon IJskes [email protected] wrote:

Can i ask for inclusion of the fix in https://issues.apache.org/jira

/browse/NETBEANS-781 in the next release candidate?

Groeten Simon

On 10-05-18 12:04, Simon IJskes wrote:

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

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

--

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




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