mirror of https://github.com/apache/lucene.git
880d0ba1a8
* Rewrite Javascript expression compiler to use hidden classes and MethodHandles for functions * Use dynamic constants for MethodHandles * Remove invokestatic code and handle everything through dynamic constants * Rewrite code to patch stack trace (keep Expressions class unmodified) * Improve generating of constant names * Remove classloader test (no longer needed) * Add benchmark * use better exception in benchmark * Add documentation, migration guide and a utility method to convert legacy function maps * also ignore SecurityException here while checking compatibility (if it happens only an imprecise error message is thrown) * Use Map.copyOf to not clone the map each time we compile an expression * Add another test with same method multiple times * Update ASM to 9.6 and set classfile version to Java 17 * Cleanup classloader permissions, unfortunately "createClassLoader" is still needed for Jacoco for God knows what |
||
---|---|---|
.. | ||
policies |