<Beans Dev> [9] Review Request: 8159696 java.beans.MethodRef#get throws NullPointerException

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Wed Aug 10 15:25:56 UTC 2016


The fix looks good to me.

Thanks,
Alexandr.

On 8/9/2016 5:30 PM, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for jdk9.
>
> The NPE occurs in java.beans.MethodRef#get when we tries to check 
> package access using null method. This happens when the class which we 
> cached before was unloaded for some reason.
>
> After the fix the get() method returns null in such situations.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8159696
> Webrev can be found at: 
> http://cr.openjdk.java.net/~serb/8159696/webrev.00
>



More information about the beans-dev mailing list