[9] RFR (XXS): 8035186: j2se_jdk/jdk/test/java/lang/invoke/lambda/LogGeneratedClassesTest.java - assertion error

Paul Sandoz 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:

> https://bugs.openjdk.java.net/browse/JDK-8035186
> http://cr.openjdk.java.net/~vlivanov/8035186/webrev.00/
> 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 mailing list