-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2fcs
-
sparc
-
solaris_2.5.1
-
Verified
Name: laC46010 Date: 08/04/98
The Class.getModifiers() returns wrong bits for nested classes.
The method does not return specified in the source code static
modifier.
-----------------output------------------
Test$Static
---------------Test.java-----------------
import java.lang.reflect.Modifier;
public class Test {
static class Static {
}
static public void main(String argv[]) {
Class c = Test.Static.class;
System.out.println(Modifier.toString(c.getModifiers()) + " " +
c.getName());
}
}
Justification:
The JCK SignatureTest can not create correct signature file.
-----------------------------------------
Hook 5(hook5):
======================================================================