#1674 lazyimporter depends on gnuregexp but not declared

open
nobody
None
5
2012-11-17
2012-11-17
WuJiayi
No

If gnuregexp disabled, actions in lazyimports will throw a classnotfound exception:

23:58:51 [Thread-36] [error] Thread-36: Exception in thread "Thread-36"
23:58:51 [Thread-36] [error] Thread-36: java.lang.NoClassDefFoundError: gnu/regexp/REException
23:58:51 [Thread-36] [error] Thread-36: at org.etheridge.lazyimporter.LazyImporterPlugin$2.doWork(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at org.etheridge.lazyimporter.gui.MonitoredTask$1.run(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at java.lang.Thread.run(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: Caused by: java.lang.ClassNotFoundException: gnu.regexp.REException
23:58:51 [Thread-36] [error] Thread-36: at java.net.URLClassLoader$1.run(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at java.security.AccessController.doPrivileged(Native Method)
23:58:51 [Thread-36] [error] Thread-36: at java.net.URLClassLoader.findClass(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at java.lang.ClassLoader.loadClass(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at java.lang.ClassLoader.loadClass(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: at org.gjt.sp.jedit.JARClassLoader.loadFromParent(JARClassLoader.java:522)
23:58:51 [Thread-36] [error] Thread-36: at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:87)
23:58:51 [Thread-36] [error] Thread-36: at java.lang.ClassLoader.loadClass(Unknown Source)
23:58:51 [Thread-36] [error] Thread-36: ... 3 more

It works just fine with gnuregexp enabled.

Discussion