This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: [PATCH] Java - allow compiling a compressed .jar/.zip archive
- To: Per Bothner <per at bothner dot com>
- Subject: Re: [PATCH] Java - allow compiling a compressed .jar/.zip archive
- From: Jeff Sturm <jeff dot sturm at appnet dot com>
- Date: Mon, 22 Jan 2001 10:16:03 -0500
- CC: java-discuss at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org
- References: <m2wvbo1sac.fsf@kelso.bothner.com>
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