RFR (XXS): 8035186: j2se_jdk/jdk/test/java/lang/invoke/lambda/LogGeneratedClassesTest.java - assertion error
vladimir.x.ivanov at oracle.com
Tue May 27 13:53:05 UTC 2014
What you suggest is much cleaner. Thanks!
On 5/27/14 5:35 PM, Paul Sandoz wrote:
> 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