Hi,

I was able to build PyLucene with Lucene 9.0 and have it pass all its tests.
Now, I moved to branch_9x (to get access to the new collectRuntimeJars Gradle task) and I'm hitting an issue that seems to be related to the new work around java modules:

  Exception in thread "main" java.lang.NoClassDefFoundError: module-info is
  not a class because access_flag ACC_MODULE is set

I now nothing about java modules so maybe this is trivial or non-sensical but all JCC is doing with the Lucene jars in order to build PyLucene is to load them, walk their class trees and, using reflection, generate wrappers for the publicly accessible methods and some extra ones as well, as listed in the JCC command line (at line 215 in PyLucene's Makefile here:
  https://svn.apache.org/repos/asf/lucene/pylucene/trunk/Makefile

Is there an easy way to disable the module feature ? (does this question even make sense ? is there a proper way to do what JCC is doing with modules enabled ?)

Thanks !

Andi..

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to