JDK Version: 1.2fcs-C
OS: Solaris 2.6
Locale: zh, C
Some class will call javap to generate Exception.
Please set jdk 1o 1.2fcs-C, use javap to attached class file:
javap MyClassLoader
An Exception will generate as follows:
Exception in thread "main" java.lang.NullPointerException
at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
at sun.tools.java.BinaryClass.loadNested(Compiled Code)
at sun.tools.javap.JavaPEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.Environment.getClassDefinition(Compiled Code)
at sun.tools.javap.JavaP.displayResults(Compiled Code)
at sun.tools.javap.JavaP.perform(Compiled Code)
at sun.tools.javap.JavaP.entry(Compiled Code)
at sun.tools.javap.JavaP.main(Compiled Code)
jim.hu@prc 1998-07-27
OS: Solaris 2.6
Locale: zh, C
Some class will call javap to generate Exception.
Please set jdk 1o 1.2fcs-C, use javap to attached class file:
javap MyClassLoader
An Exception will generate as follows:
Exception in thread "main" java.lang.NullPointerException
at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
at sun.tools.java.BinaryClass.loadNested(Compiled Code)
at sun.tools.javap.JavaPEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.Environment.getClassDefinition(Compiled Code)
at sun.tools.javap.JavaP.displayResults(Compiled Code)
at sun.tools.javap.JavaP.perform(Compiled Code)
at sun.tools.javap.JavaP.entry(Compiled Code)
at sun.tools.javap.JavaP.main(Compiled Code)
jim.hu@prc 1998-07-27
- relates to
-
JDK-4109638 Private nested types are not printed even with the "-p" option
-
- Closed
-