RFR: 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux [v5]

Severin Gehwolf sgehwolf at openjdk.org
Tue Oct 3 12:37:38 UTC 2023


On Tue, 3 Oct 2023 11:35:41 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java line 140:
>> 
>>> 138:             return (boolean)supportsBirthTime.invoke(null);
>>> 139:         } catch (Throwable e) {
>>> 140:             throw new RuntimeException("Illegal state!");
>> 
>> I agree with Brian, we need to find a better way to do this.
>
> Sure, happy to. Any suggestions?

I'm experimenting with a native function in a test helper. Hopefully that'll be more amenable.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15792#discussion_r1344027014


More information about the nio-dev mailing list