uschindler opened a new pull request, #14602:
URL: https://github.com/apache/lucene/pull/14602

   With more review of the code, I thought that it would be better to use one 
of the default Bootstrap methods available for ClassData. This allows to get 
rid of our custom BSM method and just use the same. By default it is possible 
to supply a `List` as ClassData and the bootstrap gets the MethodHandle by 
index. The code for that index was already there and is now reused. Like for 
the variables, the index is incremented on each new constant (like on each 
variable) and the index used for lookup.
   
   As this change is simple it can also be backported, in the backport I just 
need to adapt the ASM 'Handle` to point to the default ClassData bootstrap 
method.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to