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/02/06 19:01:12 UTC
[jira] Created: (HARMONY-5470) [classlib][pack200] Error decoding
large class
[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
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.
[jira] Resolved: (HARMONY-5470) [classlib][pack200] Error decoding
large class
Posted by "Sian January (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sian January resolved HARMONY-5470.
-----------------------------------
Resolution: Fixed
Fixed in r631935. Andrew - please check that this fully resolves your issue.
> [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.
[jira] Updated: (HARMONY-5470) [classlib][pack200] Error decoding
large class
Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Cornwall updated HARMONY-5470:
-------------------------------------
Attachment: SimpleHelloWorld.java
SimpleHelloWorld.jar
JAR file which causes the exception, and .java file which shows what's going on inside.
> [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
> 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.
[jira] Closed: (HARMONY-5470) [classlib][pack200] Error decoding
large class
Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (HARMONY-5470) [classlib][pack200] Error decoding
large class
Posted by "Sian January (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sian January reassigned HARMONY-5470:
-------------------------------------
Assignee: Sian January
> [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.