[9] RFR 8072369: [TESTBUG] Remove potentially insecure class cast in some hotspot tests

Konstantin Shefov konstantin.shefov at oracle.com
Wed Sep 9 13:16:30 UTC 2015

Description of the fix.
Some tests in hotspot repo use class cast from Application class loader 
to URLClassLoader, but Application class loader is not guaranteed to be 
always an instance of a URLClassLoader.
The tests should be changed so that they do not cast appclassloader to 


On 09/08/2015 07:01 PM, Konstantin Shefov wrote:
> Hello
> Please review a test bug fix.
> JBS entry: https://bugs.openjdk.java.net/browse/JDK-8072369
> Webrev: http://cr.openjdk.java.net/~kshefov/8072369/webrev.00
> Thanks
> -Konstantin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150909/0e58b4e7/attachment.html>

More information about the hotspot-compiler-dev mailing list