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

SendaoYan syan at openjdk.org
Fri Jul 26 06:56:38 UTC 2024


On Fri, 26 Jul 2024 06:14:05 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> @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.

@RealCLanger In the [PR](https://github.com/openjdk/jdk21u/pull/282) of backport [JDK-8316304](https://bugs.openjdk.org/browse/JDK-8316304) to jdk21u-dev, the description of PR says `since the JDK 22 uses JEP 454 features in the test. I've rewritten the test to use JNI instead so as to avoid using @enablePreview in the test.` So in the jdk mainline, this test do not use JNI.
Thus this is specific to jdk21u-dev and jdk17u-dev.

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

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


More information about the jdk-updates-dev mailing list