[ https://issues.apache.org/jira/browse/SOLR-14610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17154257#comment-17154257 ]
Uwe Schindler commented on SOLR-14610: -------------------------------------- I am not sure if you need a VarHandle at all, because VarHandles are mostly created for the special access modes like volatile accesses! Maybe a simple MethodHandle would have been enough (and could be backported to 8.x, you can use Lookup.unreflectGetter and Lookup.unreflectSetter). > ReflectMapWriter to use VarHandle instead of old legacy reflection > ------------------------------------------------------------------ > > Key: SOLR-14610 > URL: https://issues.apache.org/jira/browse/SOLR-14610 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Noble Paul > Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > The same reason why we changed to MethodHandles in SOLR-14404 -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org