RFR (S): 8211065: Private method check in linkResolver is incorrect
david.holmes at oracle.com
Mon Oct 8 03:10:47 UTC 2018
I had added a check, as part of the nestmates works, to ensure that the
selected and resolved methods, in the case of private methods, were the
same. That check was both in the wrong place and ill-formed.
The check has now been deleted.
A nestmate test that incorrectly expected NoSuchMethodError when a
private method in a subclass was deleted (but still called) has been
updated to expect the superclass method to be invoked.
A new test was added that previously highlighted an incorrect assertion
within the check. Now it serves as a non-nestmate case of deleting a
This will be backported to 11 as well.
More information about the hotspot-runtime-dev