This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [gcj trunk / gnu-classpath] String.format(...) undefined
Hanno Meyer-Thurow writes:
> On Sun, 18 Feb 2007 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.