You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2006/11/01 18:52:17 UTC

[jira] Resolved: (GERONIMO-1840) NamingPropertiesTest is not compatible with non-Sun VMs.

     [ http://issues.apache.org/jira/browse/GERONIMO-1840?page=all ]

Rick McGuire resolved GERONIMO-1840.
------------------------------------

    Fix Version/s: 1.2
       Resolution: Fixed

Committed revision 470013.

A slightly different approach was used to fix this.  The sun class name is still used because the critical test here is the setting of the system properties.  The final new InitialContext() test is only run if it is possible to load the initial factory class (i.e,, it is present in the current JVM). 

> NamingPropertiesTest is not compatible with non-Sun VMs.
> --------------------------------------------------------
>
>                 Key: GERONIMO-1840
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1840
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: JVM-compatibility
>    Affects Versions: 1.0
>            Reporter: Andrey Pavlenko
>         Assigned To: Rick McGuire
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: NamingPropertiesTest.patch
>
>
> NamingPropertiesTest is not compatible with non-Sun VMs because of hardcoded name of JNDI service provider.
> The attached patch fixes the issue.

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