RFR 8061297 : sun/reflect/CallerSensitive/CallerSensitiveFinder.java should use the JRT FileSystem
Alan Bateman
Alan.Bateman at oracle.com
Wed Jan 14 14:29:03 UTC 2015
On 14/01/2015 13:55, Chris Hegarty wrote:
> This test currently completes successfully, but indicates that it has
> "Parsed 0 classfiles". It doesn't do anything useful.
>
> The modular image no longer contains jar files. The test should use
> the JRT FileSystem to iterate over the image classfiles.
>
> http://cr.openjdk.java.net/~chegar/8061297/webrev.00/webrev/
>
> -Chris.
This looks okay to me. One thing to simplify it a bit is to drop the
roots from JrtClasses as there is only a single root in the jrt file
system. The exists check can also be dropped at L199 as isDirectory can
only return true if the directory exists.
-Alan.
More information about the core-libs-dev
mailing list