You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Harley (JIRA)" <ji...@apache.org> on 2006/07/17 16:02:15 UTC
[jira] Resolved: (HARMONY-893) [classlib][nio]
java.nio.channels.spi.SelectorProvider.provider() should not throw
SecurityException from SelectorProvider.provider().
[ http://issues.apache.org/jira/browse/HARMONY-893?page=all ]
George Harley resolved HARMONY-893.
-----------------------------------
Resolution: Fixed
Hi Andrew,
Patch committed in revision 422724. Please could you verify that everything has been applied as expected.
Best regards,
George
> [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