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] Assigned: (HARMONY-5968) [pack200][classlib] NumberFormatException in NewAttributeBands.readNumber()
Date Thu, 04 Sep 2008 12:51:44 GMT

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

Sian January reassigned HARMONY-5968:
-------------------------------------

    Assignee: Sian January

> [pack200][classlib] NumberFormatException in NewAttributeBands.readNumber()
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5968
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5968
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M7
>         Environment: All Pack200 HEAD
>            Reporter: Andrew Cornwall
>            Assignee: Sian January
>
> I have a test case which causes a NumberFormatException when doing NewAttributeBands.readNumber().
It appears that digits is "" (an empty String) so the return line:
> return Integer.parseInt((negative ? "-" : "") + new String(digits))
> is doing Integer.parseInt(""), which causes the exception.
> Unfortunately, the test case is proprietary code, so I've sent it to Sian via email.

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