You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Cornwall (JIRA)" <ji...@apache.org> on 2008/03/03 19:28:50 UTC

[jira] Closed: (HARMONY-5470) [classlib][pack200] Error decoding large class

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

Andrew Cornwall closed HARMONY-5470.
------------------------------------


This fix resolves the issue. Thanks!

> [classlib][pack200] Error decoding large class
> ----------------------------------------------
>
>                 Key: HARMONY-5470
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5470
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>            Assignee: Sian January
>         Attachments: SimpleHelloWorld.jar, SimpleHelloWorld.java
>
>
> I have a JAR file that causes an EOFException to be thrown inside the BHSDCodec.decode(InputStream,long) method. It appears that something is going wrong with the decode during BcBands unpack.
> Thread [main] (Suspended (exception EOFException))	
> 	BHSDCodec.decode(InputStream, long) line: 155	
> 	BHSDCodec(Codec).decode(int, InputStream) line: 220	
> 	BcBands(BandSet).decodeBandLong(String, InputStream, BHSDCodec, int) line: 161	
> 	BcBands(BandSet).decodeBandInt(String, InputStream, BHSDCodec, int) line: 75	
> 	BcBands.unpack(InputStream) line: 314	
> 	Segment.parseSegment(InputStream) line: 336	
> 	Segment.parse(InputStream) line: 103	
> 	Unpack.main(String[]) line: 36	
> The class itself has a lot of local variables (511 in one method).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.