harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-893) [classlib][nio] java.nio.channels.spi.SelectorProvider.provider() should not throw SecurityException from SelectorProvider.provider().
Date Mon, 17 Jul 2006 10:02:13 GMT
[classlib][nio] java.nio.channels.spi.SelectorProvider.provider() should not throw SecurityException
from SelectorProvider.provider(). 
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-893
                 URL: http://issues.apache.org/jira/browse/HARMONY-893
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Andrew Zhang


java.nio.channels.spi.SelectorProvider.provider() should not throw SecurityException from
SelectorProvider.provider().

Following test reproduces the bug. Please run it in seperated vm once, because provider()
return value is always cached, and may be affected by other tests if run in a test suite.


public void test_provider_security(){           
       SecurityManager securityManager = new SecurityManager();
       System.setSecurityManager(securityManager);
       SelectorProvider.provider();
}

The test passes against RI, while fails against Harmony. 


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

        

Mime
View raw message