[gcj trunk / gnu-classpath] String.format(...) undefined

Andrew Haley aph@redhat.com
Mon Feb 19 17:00:00 GMT 2007


Hanno Meyer-Thurow writes:
 > On 2007年2月18日 18:12:50 +0100
 > Mark Wielaard <mark@klomp.org> wrote:
 > 
 > > Thanks for trying out the patch. Sorry it wasn't obvious that the above
 > > to issues are one and the same. ...
 > 
 > Ok, now when I try to build Junit-4.2 it compiles but afais the tests fail:
 > 
 > [java] JUnit version 4.2
 > [java] Exception in thread "main" java.lang.NullPointerException
 > [java] at java.lang.Class.getDeclaredAnnotations(Class.java:1359)
 > [java] at java.lang.Class.getAnnotations(Class.java:1282)
 > [java] at java.lang.Class.getAnnotation(Class.java:1255)
 > [java] at org.junit.internal.requests.ClassRequest.getRunnerClass(ClassRequest.java:32)
 > [java] at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:20)
 > [java] at org.junit.internal.requests.ClassesRequest.getRunner(ClassesRequest.java:21)
 > [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
 > [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
 > [java] at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
 > [java] at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
That's a bug in annotation handling. There definitely was a bug in
this area before. Either Tom Tromey or myself really needc to see
this.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /