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/08/30 14:05:27 UTC
[jira] Closed: (HARMONY-1255) [classlib][logging]compatibility:
java.util.logging.Handler.isLoggable(null) doesn't throw NPE while RI
throws.
[ http://issues.apache.org/jira/browse/HARMONY-1255?page=all ]
Paulex Yang closed HARMONY-1255.
--------------------------------
Verified by Andrew.
> [classlib][logging]compatibility: java.util.logging.Handler.isLoggable(null) doesn't throw NPE while RI throws.
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1255
> URL: http://issues.apache.org/jira/browse/HARMONY-1255
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Andrew Zhang
> Assigned To: Paulex Yang
> Attachments: Harmony-1255.diff
>
>
> java.util.logging.Handler.isLoggable(null) doesn't throw NPE while RI throws. Although spec says it should return false if the LogRecord is null, RI throws NPE.
> According to exception compatibility guideline, I think we'd better follow RI for this case. After all, RI's behaviour is very logical, except for breaking spec. :)
> Futhurmore, RI 6.0 still insists on throwing NPE.
> I'll upload a patch to fix this problem.
> Best regards,
> Andrew
--
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