Musings about Coding, Business and other Geek Stuff Live and Direct from somewhere on the planet
March 08, 2004
More Linux 2.6 trouble for IDEA

I have been using the Linux 2.6 kernel for quite some time now as well as IntelliJ IDEA. I had problems with this combo before which seemed to have been fixed. Now I think a variation of this has reared its ugly face again.

What happens is that when I add a jar file it imports it and reports that everything is fine. However none of the symbols are available and if you attempt to browse the libraries, the classes show up as empty class names.

I’ve reported the bug and I also am pretty certain that the following report 30327 is related.

The temporary fix to this for anyone who has this problem is to append the following to your idea.lax file?s lax.nl.java.option.additional property:

-Didea.jars.nocopy=true

This kind of fixed the old problems as well, but with this it makes it fully usable as far as I can see.

This would indicate to me, that IDEA somehow garbles the classes in the jar files when they are copied over to the system jar cache. The reason that I think that is that the class browser can see the directory structure within the jars, but not for some reason parse the class files for their symbols.

Posted by pelleb at March 08, 2004 12:01 PM
This entry was posted in the following Categories: Java
Comments

In fact it seems to be a bug in the JVM itself. Linus has changed the return type of a low-level function in kernel 2.6 and this breaks the NIO code of the JVM.

Posted by: woeye on March 8, 2004 04:30 PM

In fact it seems to be a bug in the JVM itself. Linus has changed the return type of a low-level function in kernel 2.6 and this breaks the NIO code of the JVM.

Posted by: woeye on March 8, 2004 04:32 PM

In fact it seems to be a bug in the JVM itself. Linus has changed the return type of a low-level function in kernel 2.6 and this breaks the NIO code of the JVM.

Posted by: woeye on March 8, 2004 04:34 PM

Curiously, the bug is "fixed" in build 2028, which is in the new Palladia builds. So, either they worked around the Java bug, or were using NIO incorrectly. :-).

Posted by: firepoet on July 1, 2004 05:07 PM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?