JDK-8198405 - JImageExtractTest.java & JImageListTest.java failed in Windows

Michal Vala mvala at redhat.com
Wed Feb 21 12:23:55 UTC 2018


Hi,

I'm trying to investigate failure of JImageExtractTest on Windows.
Failing method is testExtractToReadOnlyDir, issue is simple. It is trying to 
extract jimage to read-only directory and it must fail. AFAIK it is not possible 
to create read-only directory. I tried set rights programaticaly from java, 
manually from windows explorer and windows cmd. Without any success. It 
effectively just deny access from explorer and cmd.

Is there any Windows expert who can confirm this or suggest solution? Only 
solution I've found is to write something to some mounted ISO image, which is 
not an option here.

In case this will be confirmed I suggest to skip this single test on Windows.

-- 
Michal Vala
OpenJDK QE
Red Hat Czech


More information about the jigsaw-dev mailing list