RFR: 8067951: System.loadLibrary cannot find library when path contains quoted entry

Wang Weijun weijun.wang at oracle.com
Wed Dec 24 00:51:30 UTC 2014

> On Dec 23, 2014, at 21:31, Ivan Gerasimov <ivan.gerasimov at oracle.com> wrote:
> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8067951
> WEBREV: http://cr.openjdk.java.net/~igerasim/8067951/0/webrev/

I am not sure why you want to rewrite the loop entirely. Isn't it OK to just add that long if check before the old line 1770? I always find myself confusing when a for line contains "," inside. :-)

And how about a white box test with getDeclaredMethod("initializePath").setAccessible(true)? I think you can even add a few non-supported case (say, "A:B":C) and comment them out at the moment.


More information about the core-libs-dev mailing list