You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/03/24 10:22:26 UTC

[jira] Commented: (HARMONY-220) javax.naming.NameClassPair lacks two Java 5.0 methods

    [ http://issues.apache.org/jira/browse/HARMONY-220?page=comments#action_12371690 ] 

Mark Hindess commented on HARMONY-220:
--------------------------------------

I notice this change has caused some test errors with these two tests:

  modules/jndi/src/test/java/tests/api/javax/naming/TestBinding.java
  modules/jndi/src/test/java/tests/api/javax/naming/TestNameClassPair.java

It would be good to fix these before closing this JIRA.  Vasily, any chance you could submit a patch for the tests too?




> javax.naming.NameClassPair lacks two Java 5.0 methods
> -----------------------------------------------------
>
>          Key: HARMONY-220
>          URL: http://issues.apache.org/jira/browse/HARMONY-220
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Vasily Zakharov
>     Assignee: Tim Ellison
>  Attachments: NameClassPair.patch
>
> javax.naming.NameClassPair lacks implementation for two Java 5.0 methods:
> String getNameInNamespace()
> void setNameInNamespace(String)
> Also specification for both constructors and the setName(String) method states that name parameter must be non-null. The current implementation lacks checking of this fact.
> The attached simple patch provides fixes for both issues.

-- 
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