Kindly review the changes made.Before these changes tests fail on windows if we execute them from any Drive other than C.
grant codebase "file:/-" {} is granting permissions only to code present in C Drive on windows.
Hence changing 'grant codebase "file:/-" {} ' to grant {} will solve the issue by giving permissions to all drives.
https://bugs.openjdk.java.net/browse/JDK-8186224webrev: http://cr.openjdk.java.net/~uvangapally/webrev/2017/8186224/webrev.00/
Thanks, Ujwal.