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] Closed: (HARMONY-1895) [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0
Date Mon, 13 Nov 2006 10:01:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1895?page=all ]

Alexey Varlamov closed HARMONY-1895.


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


View raw message