You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2006/07/16 00:47:14 UTC

[jira] Resolved: (HARMONY-401) RI's java.util.UnknownFormatConversionException has different behavior with Java spec

     [ 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