Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 91159 invoked from network); 1 Oct 2008 07:48:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 07:48:36 -0000 Received: (qmail 88403 invoked by uid 500); 1 Oct 2008 07:48:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 88065 invoked by uid 500); 1 Oct 2008 07:48:33 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 88054 invoked by uid 99); 1 Oct 2008 07:48:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 00:48:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 07:47:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B4E1234C1F9 for ; Wed, 1 Oct 2008 00:47:44 -0700 (PDT) Message-ID: <435653531.1222847264307.JavaMail.jira@brutus> Date: Wed, 1 Oct 2008 00:47:44 -0700 (PDT) From: "Claas Altschaffel (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (SANDBOX-260) ASM bytecode transformation let verification from JVM fail for some method (-signatures) In-Reply-To: <1919184009.1222846666302.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.