[PATCH] Java - allow compiling a compressed .jar/.zip archive
Jeff Sturm
jeff.sturm@appnet.com
Mon Jan 22 07:21:00 GMT 2001
Per Bothner wrote:
> I checked in the following. It should allow compiling a compressed
> .jar or .zip archive.
This patch seemed to break my alpha-linux build:
[jsturm@jeff jsturm]$ gcj -C Hello.java
java/lang/String.java:0: Cannot find file for class java.lang.Object.
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
(I'm not postive, because it won't cleanly back out. Note that
JCF_SEEN_IN_ZIP spills into another patch:
http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01622.html )
Compiling with a directory instead of jarfile succeeds, e.g.:
[jsturm@jeff jsturm]$ unzip /opt/gcj/share/libgcj.jar
...
[jsturm@jeff jsturm]$ gcj -C --classpath=. Hello.java
The 20010121 compiler still works for me. Anybody having a problem on
x86? It could be a 64bit-ism... I won't have time to look again until
tomorrow.
Jeff
More information about the Java
mailing list