1 Jan 2006 18:09
Major bug in JARClassCloader with fix
Bertalan Fodor <fodber <at> freemail.hu>
2006-01-01 17:09:13 GMT
2006-01-01 17:09:13 GMT
Hello, I desperately need this fix in JARClassLoader. The problem is that jEdit doesn't store package information in loaded classes, so getPackage() returns null in classes loaded from JARs. That makes impossible to include certain libraries. Please include the attached patch (or something similar) in the next release. Thank you, Bert
--- JARClassLoader.old 2006-01-01 18:05:46.109375000 +0100 +++ JARClassLoader.new 2006-01-01 18:05:33.765625000 +0100 <at> <at> -31,13 +31,19 <at> <at> import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import org.gjt.sp.util.Log; + +import java.util.jar.Manifest; +import java.util.jar.JarFile; +import java.net.MalformedURLException; +import java.util.jar.Attributes; +import java.util.jar.Attributes.Name; //}}}(Continue reading)
RSS Feed