https://issues.apache.org/bugzilla/show_bug.cgi?id=46543

           Summary: java.lang.VerifyError: Cannot inherit from final class
           Product: Security
           Version: Java 1.4.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: ggreg...@seagullsw.com


Our product builds on 1.4.1 but on 1.4.2 Ant tells us:

BUILD FAILED
C:\cvs-store\transidiom\HEAD\Java\Build\build.xml:2196: The following error
occurred while executing this line:
C:\cvs-store\transidiom\HEAD\Java\Build\build.xml:2218: java.lang.VerifyError:
Cannot inherit from final class

The only thing that changes between the two Ant runs is which version of XMLSec
I point to.

This page:

http://www.cs.indiana.edu/dde/projects/mylead/mylead03alpha/guide/installation_guide.pdf

suggests:

"Note: if you are using the latest XML security jar file instead of the
xmlsec.jar provided
with the package, you may encounter an exception that looks like the following
• java.lang.VerifyError: Cannot inherit from final class
if that’s the case, please download the source code of the latest XML
Security library
from http://xml.apache.org/security/download.html, unzip the packages, and
remove the
keyword “final” from the line “public final class” in the following
java file:
src/org/apache/xml/security/signature/XMLSignature.java
After the modification, please recompile the package and place the modified xml
security
jar to the proper location [snip]"


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to