Running test testReadOnlyFile Running javadoc... args: [-d, out2, C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java] javadoc OUT: Loading source file C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java... Constructing Javadoc information... Standard Doclet version 16-internal Building tree for all the packages and classes... C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java:39: warning: no comment public class TestIOException extends JavadocTester { ^ Generating out2\\TestIOException.html... C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java:41: warning: no comment public static void main(String... args) throws Exception { ^ C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java:47: warning: no comment public void testReadOnlyDirectory() { ^ C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java:71: warning: no comment public void testReadOnlyFile() throws Exception { ^ C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java:100: warning: no comment public void testReadOnlySubdirectory() throws Exception { ^ C:\\ade\\mesos\\work_dir\\jib-master\\install\\2020-06-13-0520173.jonathan.gibbons.jdk.8164597.windows.ioexception.problemlist\\src.full\\open\\test\\langtools\\jdk\\javadoc\\doclet\\testIOException\\TestIOException.java:138: warning: no comment public void testReadOnlyDocFilesDir() throws Exception { ^ Generating out2\\package-summary.html... Generating out2\\package-tree.html... Generating out2\\constant-values.html... Generating out2\\overview-tree.html... Generating out2\\deprecated-list.html... Building index for all the packages and classes... Generating out2\\index-all.html... Building index for all classes... Generating out2\\allclasses-index.html... Generating out2\\allpackages-index.html... Generating out2\\index.html... javadoc: error - Error writing file: out2\\index.html (java.nio.file.AccessDeniedException: T:\\testoutput\\test-support\\jtreg_open_test_langtools_jdk_javadoc_doclet\\scratch\\5\\out2\\index.html) 1 error 6 warnings Starting subtest 1.1: check exit code Passed: return code 1 Starting subtest 1.2: checkOutput Passed: OUT: following text found: Error writing file: out2\\index.html Running test testReadOnlyDocFilesDir ----------System.err:(21/1378)---------- java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at javadoc.tester.JavadocTester.runTests(JavadocTester.java:274) at javadoc.tester.JavadocTester.runTests(JavadocTester.java:258) at TestIOException.main(TestIOException.java:43) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298) at java.base/java.lang.Thread.run(Thread.java:832) Caused by: java.lang.Error: could not set directory read-only at TestIOException.testReadOnlyDocFilesDir(TestIOException.java:161) ... 13 more