Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
5.0M8
-
None
-
None
Description
test case:
X.java:
import java.lang.reflect.*;
import p.*;
public class X {
static public void main(String args[]) {
Y y = new Y();
try
catch (NoSuchMethodException e)
{ // ignore } catch (InvocationTargetException e) { // ignore }catch (IllegalAccessException e)
{ System.out.print("FAILURE: IllegalAccessException"); } }
}
Y.java
package p;
public class Y extends Z {
/* empty */
}
Z.java
package p;
class Z {
public void foo()
}
run class X, RI and classlib with IBM VME has the same output:
SUCCESS
FAILURE: IllegalAccessException
while drlvm output:
SUCCESS
SUCCESS
after debugging, I found foo is public void p.Z.foo()