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] Resolved: (HARMONY-2449) [classlib][beans] java.beans.DefaultPersistenceDelegate.mutatesTo() should throw NPE for null parameter.
Date Mon, 14 Jun 2010 16:41:14 GMT

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

Tim Ellison resolved HARMONY-2449.

    Fix Version/s: 5.0M15
       Resolution: Fixed

Thanks Kevin for your attention to detail!

Patch applied to BEANS module at repo revision r954547.

Please verify it was applied as you expected.

> [classlib][beans] java.beans.DefaultPersistenceDelegate.mutatesTo() should throw NPE
for null parameter.
> --------------------------------------------------------------------------------------------------------
>                 Key: HARMONY-2449
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2449
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>            Reporter: Nikolay Kuznetsov
>            Assignee: Tim Ellison
>            Priority: Minor
>             Fix For: 5.0M15
>         Attachments: HARMONY-2449.diff, test.java
> Specification for java.beans package says that:
> "Unless explicitly stated, null values or empty Strings are not valid parameters for
the methods in this package. You may expect to see exceptions if these parameters are used."

> However specification does not explicitly states that NPE should be thrown, RI throws
NPE if ava.beans.DefaultPersistenceDelegate.mutatesTo() called with null parameters.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message