harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5645) [classlib][pack200] Pack200 - still some issues with maximal encoding (non -E1)
Date Mon, 24 Mar 2008 20:21:24 GMT
[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


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