mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 05:45:05 +00:00
8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
Reviewed-by: chegar
This commit is contained in:
parent
70e5173968
commit
ca8301dc7d
@ -167,8 +167,12 @@ public class LogGeneratedClassesTest extends LUtils {
|
||||
public void testDumpDirNotWritable() throws IOException {
|
||||
if (! Files.getFileStore(Paths.get("."))
|
||||
.supportsFileAttributeView(PosixFileAttributeView.class)) {
|
||||
// No easy way to setup readonly directory
|
||||
throw new SkipException("Posix not supported");
|
||||
// No easy way to setup readonly directory without POSIX
|
||||
// We would like to skip the test with a cause with
|
||||
// throw new SkipException("Posix not supported");
|
||||
// but jtreg will report failure so we just pass the test
|
||||
// which we can look at if jtreg changed its behavior
|
||||
return;
|
||||
}
|
||||
|
||||
Files.createDirectory(Paths.get("readOnly"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user