This is the mail archive of the java-discuss@sourceware.cygnus.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: NullPointer + Jars


"Gregory R. Warnes" wrote:

> Eurika!  I created an uncompressed jar ("jar -0 -cvf ...") from the raw
> files and now the resource data is correctly read.
>
> And yes, I just searched the archives and the problem with compressed jar
> files has come up a number of times, although usually in the context of
> compiling.  This is a real pain because the standard jar tools do compression
> by default so one is unlikeley to find a jar file that is not compressed.
>
> Until it compressed jar files work, this should go into the FAQ.

Compressed .jar files *should* work (for runtime loading), but I have to admit it
doesn't surprise me that they don't. I'll add it to my long list of things to try
and fix ;-)

>   JS>> > 2) Why does it run differently under gdb?

I'm seeing this too. This is very strange, and we really need to fix it before the
zip problem can be debugged.

regards

  [ bryce ]



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