Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
Moderate
Description
Here is the test that passes with SUN or BEA but fails with DRLVM
import java.lang.reflect.*;
public class Hello {
public static void main(String[] args) throws Exception
{ Class cls = A.class.getDeclaredClasses()[0]; Constructor con = cls.getDeclaredConstructors()[0]; Object[] params = new Object[0]; con.newInstance(params); }}
class A {
private static class B {
B()
}
}
This test prevents joda-time (see http://joda-time.sourceforge.net, JSR310) tests to be passed on DLRVM
Attachments
Issue Links
- relates to
-
HARMONY-1309 [luni][tests] incorrect test for reflection access control
- Closed