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

duke duke at openjdk.org
Mon Apr 21 18:30:47 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

@midver 
Your change (at version 1c146a424de1c406401f43fda2526d0b65ba24ca) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3516#issuecomment-2819208344


More information about the jdk-updates-dev mailing list