dev@glassfish.java.net

Status of [Issue 4990] New - UnsupportedOperationException is logged in the verification results when using ASM for binary verification

From: Seema Richard <Seema.Richard_at_ust-global.com>
Date: Wed, 14 May 2008 21:54:52 +0530

Sahoo,

The below bug us still in unconfirmed status, so I'm not able to upload the patch for it. Could you please confirm?

Thanks,
Seema


Subject: [Issue 4990] New - UnsupportedOperationException is logged in the verification results when using ASM for binary verification
 
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4990
                 Issue #|4990
                 Summary|UnsupportedOperationException is logged in the verific
                        |ation results when using ASM for binary verification
               Component|glassfish
                 Version|9.1pe
                Platform|All
              OS/Version|All
                     URL|
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|verifier
             Assigned to|ss141213
             Reported by|seemarich






------- Additional comments from seemarich_at_dev.java.net Tue May 6 04:46:37 +0000 2008 -------
1. Enable ASM-based binary verification in the Glassfish Verifier by setting
the system property "apiscan.ClassFileLoader" to the
value "com.sun.enterprise.tools.verifier.apiscan.classfile.ASMClassFileLoader"

2. Verify a Java EE archive file using the verifier

It causes the following exception to be logged into the verification results.

   -----------------------------------------------------
          ERRORS THAT OCCURRED WHILE RUNNING STATIC VERIFICATION
          -----------------------------------------------------
        
        Error Name :
com.sun.enterprise.tools.verifier.tests.ClassContainsNativeMethod
        Error Description : java.lang.UnsupportedOperationException

        at
com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImplBase.getN
ativeMethods(ClosureCompilerImplBase.java:146)

        at
com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.getNativ
eMethods(ClosureCompilerImpl.java:206)

        at
com.sun.enterprise.tools.verifier.tests.ClassContainsNativeMethod.check
(ClassContainsNativeMethod.java:58)

        at com.sun.enterprise.tools.verifier.CheckMgr.check(CheckMgr.java:133)

        at com.sun.enterprise.tools.verifier.web.WebCheckMgrImpl.check
(WebCheckMgrImpl.java:118)

        at com.sun.enterprise.tools.verifier.BaseVerifier.verify
(BaseVerifier.java:146)

        at com.sun.enterprise.tools.verifier.web.WebVerifier.verify
(WebVerifier.java:92)

        at com.sun.enterprise.tools.verifier.VerificationHandler.runVerifier
(VerificationHandler.java:236)

        at com.sun.enterprise.tools.verifier.VerificationHandler.verifyArchive
(VerificationHandler.java:147)

        at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:144)

        at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:114)