[jdk17u-dev] Integrated: 8314120: Add tests for FileDescriptor.sync

Michael De Vera duke at openjdk.org
Mon Apr 21 19:05:51 UTC 2025


On Fri, 18 Apr 2025 23:07:45 GMT, Michael De Vera <duke at openjdk.org> wrote:

> Backport of JDK-8317788 to add sanity tests for FileDescriptor.Sync. Not clean, but trivial fix to remove case which tested using virtual threads. New tests passing on x64 linux.
> 
> % make test TEST="micro:java.io.FileDescriptorSync"
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR   
>    micro:java.io.FileDescriptorSync                      1     1     0     0   
> ==============================
> TEST SUCCESS
> 
> % make test TEST="java/io/FileDescriptor/Sync.java" 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR   
>    jtreg:test/jdk/java/io/FileDescriptor/Sync.java       1     1     0     0   
> ==============================
> TEST SUCCESS

This pull request has now been integrated.

Changeset: 6b4fe753
Author:    Michael De Vera <mldevera at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/6b4fe753e2ba03e93bd2dc7dbb04984f9c206179
Stats:     160 lines in 2 files changed: 160 ins; 0 del; 0 mod

8314120: Add tests for FileDescriptor.sync

Reviewed-by: phh
Backport-of: e22d333febe9edbb961fee9b51759d4cd28684fd

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3516


More information about the jdk-updates-dev mailing list