RFR (XXS): 8035186: j2se_jdk/jdk/test/java/lang/invoke/lambda/LogGeneratedClassesTest.java - assertion error
paul.sandoz at oracle.com
Tue May 27 13:35:14 UTC 2014
I am wondering if it may be more reliable to attempt creation of a new file in the read only directory rather than checking for the "root" user name?
On May 27, 2014, at 3:19 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> LogGeneratedClassesTest.testDumpDirNotWritable is not applicable when it is run by super user on Linux/Solaris. The test checks that it's forbidden to create files in read-only directory, but super user is allowed to do so.
> The fix is to skip the test in such configuration.
> Testing: ran the test by super user on Solaris/Linux.
> Best regards,
> Vladimir Ivanov
More information about the core-libs-dev