GCJ verification error
Andrew Haley
aph@redhat.com
Mon Apr 2 11:00:00 GMT 2007
Johann Schuster writes:
> I want to compile a java program with gcj 4.1.2,
> that compiled fine under gcj 4.0.2, but with
> with 4.1.2 i get the error message:
>
> error: verification failed at PC=14: String, int, or
> float constant expected
>
> for the line:
> if (Thread.interrupted())
>
> If i comment out the line mentioned above, i get the
> same error at:
>
> synchronized (Prism.class)
>
> Does anyone know a simple solution for that? Will an
> update to a newer gcj/gcc version will be the cure?
Give us a test case. We can't do anything without one.
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903
More information about the Java
mailing list