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

Paul Hohensee phh at openjdk.org
Fri Apr 18 23:29:45 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

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3516#pullrequestreview-2779616777


More information about the jdk-updates-dev mailing list