[jdk21u-dev] RFR: 8337038: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java shoud set as /native

Christoph Langer clanger at openjdk.org
Fri Jul 26 06:17:32 UTC 2024


On Wed, 24 Jul 2024 09:34:23 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> Test `test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java` invoke `CreationTimeHelper` in [CreationTime.java](https://github.com/openjdk/jdk21u-dev/blob/master/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#L109), and `CreationTimeHelper` invoke native function. So test `test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java` should set as `/native`.
> Trivial fix, the change has been verified, no risk.

@sendaoYan I can not see why this is specific to jdk21 and would call for a deviation from head. So, if you think this change is necessary, please close this PR and open another one in [head](https://github.com/openjdk/jdk) to get it discussed and integrated. Should it be accepted you can try again with a backport.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/869#issuecomment-2252047446


More information about the jdk-updates-dev mailing list