<Beans Dev> [9] Review Request: 8159696 java.beans.MethodRef#get throws NullPointerException
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue Aug 9 14:30:26 UTC 2016
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
--
Best regards, Sergey.
More information about the beans-dev
mailing list