This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ verification error
- From: Andrew Haley <aph at redhat dot com>
- To: Johann Schuster <johann dot schuster at unibw dot de>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 2 Apr 2007 12:00:21 +0100
- Subject: Re: GCJ verification error
- References: <loom.20070402T111855-449@post.gmane.org>
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