Michal Vala
2018-02-21 12:23:55 UTC
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.
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
Michal Vala
OpenJDK QE
Red Hat Czech