RFR: 8338884: java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3 [v3]

SendaoYan syan at openjdk.org
Mon Aug 26 13:17:45 UTC 2024


On Mon, 26 Aug 2024 12:22:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   use stat -c linux command line to determise support create time or not
>
> test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java line 166:
> 
>> 164:             if (l != null && l.equals("-")) { return false; }
>> 165:         } catch(Exception e) {
>> 166:         }
> 
> This has several bugs, there is test is test infrastructure to do this correctly. My preference would be not include a launch of "stat" if possible.

The code of `launch of "stat"` has been reverted.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20687#discussion_r1731226813


More information about the nio-dev mailing list