harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4671) [text] DecimalFormat readObject contains dead code
Date Mon, 15 Oct 2007 12:13:51 GMT

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

Tim Ellison closed HARMONY-4671.
--------------------------------


No response, assuming it is ok.

> [text] DecimalFormat  readObject contains dead code
> ---------------------------------------------------
>
>                 Key: HARMONY-4671
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4671
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Imran Ghory
>            Assignee: Tim Ellison
>
> The following branch can never get executed as no integer can be greater than Integer.MAX_VALUE:
>         if (super.getMaximumIntegerDigits() > Integer.MAX_VALUE
>                 || super.getMinimumIntegerDigits() > Integer.MAX_VALUE
>                 || super.getMaximumFractionDigits() > Integer.MAX_VALUE
>                 || super.getMinimumIntegerDigits() > Integer.MAX_VALUE) {
>             // text.09=The deserialized date is invalid
>             throw new InvalidObjectException(Messages.getString("text.09")); //$NON-NLS-1$
>         }

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