Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 33893 invoked from network); 4 Mar 2008 17:16:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 17:16:54 -0000 Received: (qmail 76908 invoked by uid 500); 4 Mar 2008 17:16:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 76888 invoked by uid 500); 4 Mar 2008 17:16:50 -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 76879 invoked by uid 99); 4 Mar 2008 17:16:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 09:16:50 -0800 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; Tue, 04 Mar 2008 17:16:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23B9B234C089 for ; Tue, 4 Mar 2008 09:15:45 -0800 (PST) Message-ID: <1123354749.1204650945144.JavaMail.jira@brutus> Date: Tue, 4 Mar 2008 09:15:45 -0800 (PST) From: "Andrew Cornwall (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5570) [classlib][pack200] LineNumberTableAttribute being computed incorrectly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][pack200] LineNumberTableAttribute being computed incorrectly ----------------------------------------------------------------------- Key: HARMONY-5570 URL: https://issues.apache.org/jira/browse/HARMONY-5570 Project: Harmony Issue Type: Bug Components: Classlib Environment: Latest Pack200 Reporter: Andrew Cornwall In the latest Pack200 code, the LineNumberTable attribute is being calculated incorrectly. It appears to be right for a single class at a time, but when multiple classes are being unpacked the line_number values go strange. To reproduce, unpack the attached mypack.pack and look at the LineNumberTable attribute for CPString.. The LineNumberTable in the Harmony version is: attribute LineNumberTable { attribute_name_index = #88 // "LineNumberTable" attribute_length = 18 line_number_table_length = 4 line_number_table { // start_pc line_number 0 2323 7 2324 14 2325 35 2327 } } whereas the LineNumberTable should be: attribute LineNumberTable { attribute_name_index = #9 // "LineNumberTable" attribute_length = 18 line_number_table_length = 4 line_number_table { // start_pc line_number 0 27 7 28 14 29 35 31 } If I had to guess, I'd bet the initial value is computed incorrectly, and subsequent deltas inherit the error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.