harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sian January (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5645) [classlib][pack200] Pack200 - still some issues with maximal encoding (non -E1)
Date Thu, 27 Mar 2008 15:33:24 GMT

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

Sian January resolved HARMONY-5645.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M6

Checked in various fixes for these issue, the most recent at r641848.  Please confirm that
the issue is fully resolved.

> [classlib][pack200] Pack200 - still some issues with maximal encoding (non -E1)
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-5645
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5645
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All pack200
>            Reporter: Andrew Cornwall
>            Assignee: Sian January
>             Fix For: 5.0M6
>
>
> When running with maximal encoding (not -E1) on pack200.exe and then unpacking with the
Harmony unpack, I see a few errors still:
> From c:\tmp\st-plugins\com.ibm.icu_3.4.5.20061213.pack.gz to c:\tmp\st-plugins\com.ibm.icu_3.4.5.20061213.unpack.jar
> org.apache.harmony.pack200.Pack200Exception: Something has gone wrong during parsing
references, index = 5872, array size = 5863
> 	at org.apache.harmony.pack200.BandSet.parseReferences(BandSet.java:409)
> 	at org.apache.harmony.pack200.BandSet.parseReferences(BandSet.java:360)
> 	at org.apache.harmony.pack200.CpBands.parseCpString(CpBands.java:311)
> 	at org.apache.harmony.pack200.CpBands.unpack(CpBands.java:78)
> 	at org.apache.harmony.pack200.Segment.parseSegment(Segment.java:375)
> 	at org.apache.harmony.pack200.Segment.unpack(Segment.java:401)
> 	at org.apache.harmony.pack200.Archive.unpack(Archive.java:146)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackFromTo(TestMultiUnpack.java:66)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAllFilenames(TestMultiUnpack.java:57)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAll(TestMultiUnpack.java:49)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.main(TestMultiUnpack.java:28)
> From c:\tmp\st-plugins\com.ibm.micro_2.0.0.0-20061101.pack.gz to c:\tmp\st-plugins\com.ibm.micro_2.0.0.0-20061101.unpack.jar
> java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.harmony.pack200.ClassBands.parseCodeBands(ClassBands.java:747)
> 	at org.apache.harmony.pack200.ClassBands.unpack(ClassBands.java:139)
> 	at org.apache.harmony.pack200.Segment.parseSegment(Segment.java:381)
> 	at org.apache.harmony.pack200.Segment.unpack(Segment.java:401)
> 	at org.apache.harmony.pack200.Archive.unpack(Archive.java:146)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackFromTo(TestMultiUnpack.java:66)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAllFilenames(TestMultiUnpack.java:57)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAll(TestMultiUnpack.java:49)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.main(TestMultiUnpack.java:28)
> From c:\tmp\st-plugins\com.ibm.watson.rendezvous_7.5.1.200802191944.pack.gz to c:\tmp\st-plugins\com.ibm.watson.rendezvous_7.5.1.200802191944.unpack.jar
> java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.harmony.pack200.SegmentConstantPool.getConstantPoolEntry(SegmentConstantPool.java:269)
> 	at org.apache.harmony.pack200.bytecode.forms.ReferenceForm.setNestedEntries(ReferenceForm.java:43)
> 	at org.apache.harmony.pack200.bytecode.forms.ClassRefForm.setNestedEntries(ClassRefForm.java:47)
> 	at org.apache.harmony.pack200.bytecode.forms.NewClassRefForm.setByteCodeOperands(NewClassRefForm.java:63)
> 	at org.apache.harmony.pack200.bytecode.ByteCode.extractOperands(ByteCode.java:78)
> 	at org.apache.harmony.pack200.bytecode.CodeAttribute.<init>(CodeAttribute.java:53)
> 	at org.apache.harmony.pack200.BcBands.unpack(BcBands.java:402)
> 	at org.apache.harmony.pack200.Segment.parseSegment(Segment.java:383)
> 	at org.apache.harmony.pack200.Segment.unpack(Segment.java:401)
> 	at org.apache.harmony.pack200.Archive.unpack(Archive.java:146)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackFromTo(TestMultiUnpack.java:66)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAllFilenames(TestMultiUnpack.java:57)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAll(TestMultiUnpack.java:49)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.main(TestMultiUnpack.java:28)
> From c:\tmp\st-plugins\org.eclipse.core.resources_3.2.2.R32x_v20061218.pack.gz to c:\tmp\st-plugins\org.eclipse.core.resources_3.2.2.R32x_v20061218.unpack.jar
> org.apache.harmony.pack200.Pack200Exception: Something has gone wrong during parsing
references, index = 2775, array size = 1360
> 	at org.apache.harmony.pack200.BandSet.parseReferences(BandSet.java:409)
> 	at org.apache.harmony.pack200.ClassBands.parseCodeAttrBands(ClassBands.java:820)
> 	at org.apache.harmony.pack200.ClassBands.parseCodeBands(ClassBands.java:759)
> 	at org.apache.harmony.pack200.ClassBands.unpack(ClassBands.java:139)
> 	at org.apache.harmony.pack200.Segment.parseSegment(Segment.java:381)
> 	at org.apache.harmony.pack200.Segment.unpack(Segment.java:401)
> 	at org.apache.harmony.pack200.Archive.unpack(Archive.java:146)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackFromTo(TestMultiUnpack.java:66)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAllFilenames(TestMultiUnpack.java:57)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.unpackAll(TestMultiUnpack.java:49)
> 	at org.apache.harmony.pack200.tests.andrew.TestMultiUnpack.main(TestMultiUnpack.java:28)
> I sent an email to Sian with the (proprietary) test cases on Mar 19, but wanted to make
sure it gets tracked in JIRA as well.

-- 
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