Review request: JDK-8172870 test/tools/jmod/JmodTest.java fails on	windows with AccessDeniedException
    Mandy Chung 
    mandy.chung at oracle.com
       
    Tue Jan 17 21:23:43 UTC 2017
    
    
  
This test case attempts to verify that the temp file created by jmod is cleaned up and removed if jmod create command fails.  It first cleans up any temp files matching the prefix and suffix created for this test case.  The test fails because the fix for JDK-8160286 that creates the jmod temp file in the tmp directory and it was updated to use Files.walk that may fail to read the file attributes if the user doesn’t have access.
The patch fixes the test to call Files.list and find only the writeable files matching the prefix and suffix.
http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8172870/webrev.00/
Mandy
    
    
More information about the jigsaw-dev
mailing list