http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53982
--- Comment #3 from Daniel Schepler <dschepler at gmail dot com> 2012-07-16 16:04:47 UTC --- Update on comment #2: Running through the java files one at a time, I found that just gcj -C -Wall org/jpedal/jbig2/examples/viewer/NavigationToolbar.java fails by itself. The first time, it creates a bunch of dependent .class files and outputs warnings for the sources, but subsequent times, I get just ecj1: arena.c:661: heap_trim: Assertion `p->size == (0|0x1)' failed. gcj: internal compiler error: Aborted (program ecj1) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcj-4.7/README.Bugs> for instructions. But oddly, that's not 100% reproducible. When I just ran that command 10 times in a row, it failed 6 times out of the 10.