-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
8, 11, 12, 13
-
None
Under certain circumstances, publicLookup-provided Lookup objects fail to link a public static method in the same class where the Lookup was requested.
This was reported as a JRuby bug here: https://github.com/jruby/jruby/issues/7120
A fix was found by our users: switch to using the non-public lookup() to request the Lookup object.
The fix indicates to us that this is a bug in JDK, but at least two comments in the issue above indicate that it does not occur in Java 14 and higher. I could find no prior reports of this issue, so it may have been incidentally fixed by other changes. We would like to understand the nature of the fix and request the fix be backported, so we can tell users what causes it and how to work around it on older versions of JRuby.
This was reported as a JRuby bug here: https://github.com/jruby/jruby/issues/7120
A fix was found by our users: switch to using the non-public lookup() to request the Lookup object.
The fix indicates to us that this is a bug in JDK, but at least two comments in the issue above indicate that it does not occur in Java 14 and higher. I could find no prior reports of this issue, so it may have been incidentally fixed by other changes. We would like to understand the nature of the fix and request the fix be backported, so we can tell users what causes it and how to work around it on older versions of JRuby.