commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claas Altschaffel (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SANDBOX-260) ASM bytecode transformation let verification from JVM fail for some method (-signatures)
Date Wed, 01 Oct 2008 07:47:44 GMT

     [ https://issues.apache.org/jira/browse/SANDBOX-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claas Altschaffel updated SANDBOX-260:
--------------------------------------

    Attachment: ASMRewriteBugsTestCase.patch

The provided patch adds three classes to the "test" tree of javaflow. 

A TestCase / AbstractTestcase combination and a class to rewrite which contains a method that
is not transformed correct by the asm transformer.

The method is copied from the "Jadex" agent project where we tried to use javaflow. There
are also some other mehtods that are not transformed correct. I will try to add these methods
to the TestCase later.


> ASM bytecode transformation let verification from JVM fail for some method (-signatures)
> ----------------------------------------------------------------------------------------
>
>                 Key: SANDBOX-260
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-260
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Javaflow
>         Environment: Sun JDK 1.5 / 1.6, 
> 64bit / 32bit emul.
> asm 2.2.3
>            Reporter: Claas Altschaffel
>         Attachments: ASMRewriteBugsTestCase.patch
>
>
> I think there is a bug in the asm bytecode transformer (considered as "experimental"?).
> The transformer transforms some methods into bytecode which seems to be not valid. The
ASM CheckClassAdapter and the JVM-Verifier fails to check the transformed class with a VerifyError.
> I will provide a TestCase to show this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message