harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Harley (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-893) [classlib][nio] java.nio.channels.spi.SelectorProvider.provider() should not throw SecurityException from SelectorProvider.provider().
Date Tue, 18 Jul 2006 09:40:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-893?page=all ]

George Harley closed HARMONY-893.
---------------------------------


Verified by Andrew.

> [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
>         Assigned To: George Harley
>         Attachments: nio.diff
>
>
> 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