harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (HARMONY-2301) [luni] flawed SecurityManager.checkPackageAccess() impl
Date Tue, 12 Dec 2006 11:36:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2301?page=all ]

Stepan Mishura reopened HARMONY-2301:
-------------------------------------

             
Alexey,

I've rolled back your commit. CC failed after it. Also classlib tests failed for me on IBM
VME and DRL VM.

Thanks,
Stepan

> [luni] flawed SecurityManager.checkPackageAccess() impl
> -------------------------------------------------------
>
>                 Key: HARMONY-2301
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2301
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Varlamov
>         Attachments: fix2301.diff, test2301.diff
>
>
> There are several problems in the current implementation of j.l.SecurityManager.checkPackageAccess()
method:
> 1) Dead-end caching of "package.access" property on the first use;
> 2) Thread-unsafe parsing to array of names: concurrent threads may fail with NPE accessing
partially-filled array.
> 3) Incomplete name matching procedure, only works for subpackges.

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