gcj:Internal compiler error: program jc1 got fatal signal 11

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
sjb933
New poster
Posts: 2
Joined: Wed Feb 07, 2007 6:11 am

gcj:Internal compiler error: program jc1 got fatal signal 11

Post by sjb933 »

I keep getting a compile error:

gcj: Internal compiler error: program jc1 got fatal signal 11

I don't think this is my fault... a little assistace please?

Thanks,
Shane
sjb933
New poster
Posts: 2
Joined: Wed Feb 07, 2007 6:11 am

Post by sjb933 »

Woo! After spending time commenting out vast portions of my code. I finally narrowed it down to what was causing the problem, and being that's relatively general code I figured I would share the problem with everyone here.

This code was breaking their compiler:

Code: Select all

while(!(line=reader.readLine()).equals("")){
     // doesn't matter
}
This code compiles on the servers just fine:
String line = reader.readLine();
while(!(line.equals(""))){
// doesn't matter
line = reader.readLine();
}
How frustrating!

Shane
Stefan_Bialucha
New poster
Posts: 5
Joined: Mon Mar 31, 2008 12:49 am

Re: gcj:Internal compiler error: program jc1 got fatal signal 11

Post by Stefan_Bialucha »

Hi Shane, thanks a lot for sharing!

After changing my code according to your finding it finally got rid of this misleading "Internal compiler error..." message and accepted.

Things like this can turn a usual citizen madman.

Cheers, Stefan.
Post Reply

Return to “Java”