You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2006/10/17 14:05:40 UTC

[jira] Updated: (HARMONY-1895) [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0

     [ http://issues.apache.org/jira/browse/HARMONY-1895?page=all ]

Alexey Varlamov updated HARMONY-1895:
-------------------------------------

    Attachment: H-1895.ClassTest.patch

Fixed

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