harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4428) [buildtest][func] test func/api/javax/naming/provider/rmi/FederationSupportOFTest is incorrect
Date Thu, 12 Jul 2007 08:16:04 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512004
] 

Andrey Pavlenko commented on HARMONY-4428:
------------------------------------------

Vladimir, I think the Federation* tests for RMI provider should be excluded because, as mentioned
in the test, RMI provider does not support federation.

It's ok to pass String objects to the bind method because the first parameter is a composite
name that means that the object should be bound using object factories. This behavior is not
supported by RMI provider. 

> [buildtest][func] test func/api/javax/naming/provider/rmi/FederationSupportOFTest is
incorrect
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4428
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4428
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> The test functional/org/apache/harmony/test/func/api/javax/naming/provider/rmi/FederationSupportOFTest.xml
tries to use the 'String' object for bind method for RMI provider and test failed with message
like:
> java.lang.IllegalArgumentException: RegistryContext: object to bind must be Remote, Reference,
or Referenceable
> Seems, the something like 'new Reference("java.lang.Object")' instead of ' "Obj"' should
be used.
> Similar issue exists in func tests:
> functional/org/apache/harmony/test/func/api/javax/naming/provider/rmi/FederationSupportRefTest.xml
> functional/org/apache/harmony/test/func/api/javax/naming/provider/rmi/FederationSupportTest.xml

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


Mime
View raw message