This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCJ verification error


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?

Thank you in advance

Johann Schuster


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]