<Beans Dev>  Review Request: 8136382 SimpleBeanInfo.loadImage succeeds when running with a security manager
Alan.Bateman at oracle.com
Tue Feb 9 20:40:29 UTC 2016
On 09/02/2016 16:45, Sergey Bylokhov wrote:
> Please review the fix for jdk9.
> This fix revert back the fix for JDK-8131926:
> In the fix of JDK-8131926 we replaced getResource to
> getResourceAsStream, because "resources are private to a named module
> and as things stand, there isn't a way to a URL to a resource in a
> named module." But in current implementation "Class::getResource" will
> returns a URL to a resource in a module, when invoked from code within
> that module (0fbe4c72638a). And it also apply security checks.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8136382
> Webrev can be found at:
Sergey - have you consider clarifying the javadoc as part of this change?
More information about the beans-dev