harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1895) [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0
Date Tue, 17 Oct 2006 11:58:35 GMT
[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


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