You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/04/24 12:02:06 UTC
[jira] Created: (HARMONY-401) RI's
java.util.UnknownFormatConversionException has different behavior with Java
spec
RI's java.util.UnknownFormatConversionException has different behavior with Java spec
-------------------------------------------------------------------------------------
Key: HARMONY-401
URL: http://issues.apache.org/jira/browse/HARMONY-401
Project: Harmony
Type: Bug
Components: Non-bug differences from RI
Reporter: Paulex Yang
Priority: Trivial
Spec for UnknownFormatConversionException says:
"Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown."
But RI's implementation of UnknownFormatConversionException constructor accept null String silently.
Harmony's implementation comply with spec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-401) RI's
java.util.UnknownFormatConversionException has different behavior with Java
spec
Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-401?page=all ]
Nathan Beyer reassigned HARMONY-401:
------------------------------------
Assignee: Nathan Beyer
> RI's java.util.UnknownFormatConversionException has different behavior with Java spec
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-401
> URL: http://issues.apache.org/jira/browse/HARMONY-401
> Project: Harmony
> Issue Type: Bug
> Components: Non-bug differences from RI
> Reporter: Paulex Yang
> Assigned To: Nathan Beyer
> Priority: Trivial
> Attachments: patch.txt
>
>
> Spec for UnknownFormatConversionException says:
> "Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown."
> But RI's implementation of UnknownFormatConversionException constructor accept null String silently.
> Harmony's implementation comply with spec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-401) RI's
java.util.UnknownFormatConversionException has different behavior with Java
spec
Posted by "Anton Luht (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-401?page=all ]
Anton Luht updated HARMONY-401:
-------------------------------
Attachment: patch.txt
patch for unit test and classlib code in case community decides to mimic RI 5.0 buggy behaviour
> RI's java.util.UnknownFormatConversionException has different behavior with Java spec
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-401
> URL: http://issues.apache.org/jira/browse/HARMONY-401
> Project: Harmony
> Type: Bug
> Components: Non-bug differences from RI
> Reporter: Paulex Yang
> Priority: Trivial
> Attachments: patch.txt
>
> Spec for UnknownFormatConversionException says:
> "Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown."
> But RI's implementation of UnknownFormatConversionException constructor accept null String silently.
> Harmony's implementation comply with spec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-401) RI's
java.util.UnknownFormatConversionException has different behavior with Java
spec
Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-401?page=all ]
Nathan Beyer resolved HARMONY-401.
----------------------------------
Resolution: Fixed
Patch applied at r422312. This behavior is consistent with the RI (Sun and BEA) and is also more consistent with most other exception constructors.
Please verify the commit. Thanks.
> RI's java.util.UnknownFormatConversionException has different behavior with Java spec
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-401
> URL: http://issues.apache.org/jira/browse/HARMONY-401
> Project: Harmony
> Issue Type: Bug
> Components: Non-bug differences from RI
> Reporter: Paulex Yang
> Assigned To: Nathan Beyer
> Priority: Trivial
> Attachments: patch.txt
>
>
> Spec for UnknownFormatConversionException says:
> "Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown."
> But RI's implementation of UnknownFormatConversionException constructor accept null String silently.
> Harmony's implementation comply with spec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira