Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
DRLVM
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
HARMONY-1956 [classlib][luni] org.apache.harmony.luni.tests.java.lang.ClassTest.test_getClasses_subtest0() has no complete solution in JRE - the testcase should be fixed
- Closed
- is part of
-
HARMONY-1688 [DRLVM] Jitrino.OPT crashes on ClassTest
- Closed