Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-781

java.lang.ClassFormatError: Invalid Constant Pool entry Type 19 in build-impl.xml

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.0
    • projects - Ant Project

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aekk1932 Aekkachai
            simijskes Simon IJskes
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5.05h
                5.05h

                Slack

                  Issue deployment