This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ZipInputStream broken?
Adam Megacz wrote:
>Upon closer investigation, it turns out that some of my .java files
>declare native methods (CNI, not JNI), and I was compiling those .java
>files into .class files with javac instead of gcj (and then compiling
>.class -> .o with gcj). This was causing incredibly bizarre behavior.
>
>Perhaps there should be a note in the faq that .java files using CNI
>must be compiled with GCJ and not Javac? Kinda like the -fno-rtti
>advice.
>
Well, if it matters, that seems a bug. Perhaps not a very high-priority
bug, but a bug nonetheless.
--Per Bothner