Review Request: JDK-8209005: Lookup.unreflectSpecial fails for default methods when Lookup.findSpecial works

Mandy Chung mandy.chung at
Thu Jul 25 20:12:49 UTC 2019

This patch fixes Lookup.unreflectSpecial to pass the declaring class of 
Method being unreflected (rather than null) so that it can accurately 
check if the special caller class is either the lookup class or a 
superinterface of the declaring class.


The test runs in both unnamed module and named module to cover 
JDK-8209078 which has been resolved by JDK-8173978.


More information about the core-libs-dev mailing list