Re: Multiple .so extension sharing classes

2020-11-27 Thread Andi Vajda
I now made it return an error when calling initVM() a second time and updating the VM's classpath failed because the system class loader is not an instance of java.net.URLClassLoader. Instead, call initVM() only once but with all the module.CLASSPATH strings set into its classpath keyword ar

Re: Multiple .so extension sharing classes

2020-11-27 Thread Andi Vajda
Hi, I found several bugs here: - JCC with python3 using --import is broken. The code handling it is using a python2 function, os.path.walk(), that doesn't exist in python3. I fixed this in JCC's trunk just now. - JCC is dynamically adding paths to the classpath by calling URLC

Re: Multiple .so extension sharing classes

2020-11-27 Thread Andi Vajda
Thank you for the detailed description and code to reproduce. You may have found a bug here, I need to investigate. To be continued... Andi.. On Thu, 26 Nov 2020, Erik Groeneveld - Seecr wrote: L.S., We use PyLucene and JCC from the beginning and are very satisfied with it but we do have a