[Bug java/33765] [4.3 regression] gcj internal compiler error when reading an empty file
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 31 23:42:00 GMT 2007
------- Comment #5 from jakub at gcc dot gnu dot org 2007-10-31 23:42 -------
Well, package-info.java files containing just package something; line
and comments are quite common, and for them ecj1 creates an empty jar file.
If the whole package is compiled at once, then there will be a bigger jar file
and so this ICE or error won't trigger, but just letting gcj compile each
*.java
file into *.o individually in a makefile (using ecj1 internally) wouldn't work
in such cases.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33765
More information about the Java-prs
mailing list