Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 93859 invoked from network); 16 Jan 2008 11:42:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2008 11:42:58 -0000 Received: (qmail 60062 invoked by uid 500); 16 Jan 2008 11:42:48 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 60036 invoked by uid 500); 16 Jan 2008 11:42:48 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 60027 invoked by uid 99); 16 Jan 2008 11:42:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 03:42:48 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 11:42:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EE5EA714256 for ; Wed, 16 Jan 2008 03:42:34 -0800 (PST) Message-ID: <120085.1200483754973.JavaMail.jira@brutus> Date: Wed, 16 Jan 2008 03:42:34 -0800 (PST) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-5388) [pack200][classlib] Label bytecode offsets can be incorrect In-Reply-To: <11359546.1200341794227.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/HARMONY-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-5388. -------------------------------- Verified by Andrew. (p.s. Andrew, feel free to close the issue as you verify it -- it'll save me a step , thanks) > [pack200][classlib] Label bytecode offsets can be incorrect > ----------------------------------------------------------- > > Key: HARMONY-5388 > URL: https://issues.apache.org/jira/browse/HARMONY-5388 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: All Pack200 > Reporter: Andrew Cornwall > Assignee: Tim Ellison > Attachments: main.patch, test.patch > > > Pack200 bytecode offsets are not being calculated correctly when multi-instruction bytecodes are present in the bytecode stream. This causes a problem for label bytecodes which follow multi-instruction bytecodes. > In short, if you have: > > aload0_* > > if*, goto*, or jsr* > then the label of the if*, goto* or jsr* instruction will be off by the number of multi-instruction bytecodes which come before it. This will usually result in an exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.