harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1895) [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0
Date Thu, 19 Oct 2006 03:32:36 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1895?page=all ]

Nathan Beyer resolved HARMONY-1895.
-----------------------------------

    Resolution: Fixed

Patch applied, please verify. Thanks.

> [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-1895
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1895
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Nathan Beyer
>         Attachments: H-1895.ClassTest.patch
>
>
> The test_getClasses_subtest0 in modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java
leads to endless recursion on DRLVM, because of the following:
> The test tries to detect presence of privileged frames on stack during various calls
to SecurityManager,  via calling AccessController.checkPermission(). If the latter happens
to invoke any code guarded by security checks in a privileged block, it will loop endlessly
(actually until stack space exhausted, but this may take very long).
> We have exactly this sutiation in DRLVM, due to lazy loading of security policy and AccessController
impl nuances.

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