This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Java - allow compiling a compressed .jar/.zip archive


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]