bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/32952] getMethods on java.lang.Class throws NullPointerEx


From: kaz at maczuka dot gcd dot org
Subject: [Bug classpath/32952] getMethods on java.lang.Class throws NullPointerException
Date: 4 Aug 2007 03:53:02 -0000


------- Comment #1 from kaz at maczuka dot gcd dot org  2007-08-04 03:53 -------
I have found a testcase which describes the bug more clearly.

$ cat Test2.java
public class Test2 {
    public static void main(String[] args) throws Exception {
        Class cl = java.lang.reflect.Type.class;
        System.out.println(cl.getName());
        System.out.flush();
        System.out.println(cl.toString());
        System.out.flush();
    }
}
$ java Test2
java.lang.reflect.Type
java.lang.NullPointerException
   at Test2.main (Test2.java:6)
$


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32952





reply via email to

[Prev in Thread] Current Thread [Next in Thread]