harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-401) RI's java.util.UnknownFormatConversionException has different behavior with Java spec
Date Sat, 15 Jul 2006 22:47:14 GMT
     [ 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

        

Mime
View raw message