The following test failed in the JDK20 CI:
java/lang/Float/Binary16Conversion.java
Here's a snippet from the log file:
#section:main
----------messages:(7/234)----------
command: main Binary16Conversion
reason: User specified action: run main Binary16Conversion
started: Fri Oct 14 00:25:20 UTC 2022
Mode: agentvm
Agent id: 22
finished: Fri Oct 14 00:25:21 UTC 2022
elapsed time (seconds): 0.773
----------configuration:(14/1341)*----------
<snip>
----------System.out:(10/791)----------
Unexpected result of converting 0x1.1dff7ep30 to short. Expected 0x7bff got 0x7c00
Unexpected result of converting -0x1.1dff7ep30 to short. Expected 0xfbff got 0xfc00
Unexpected result of converting 0x1.1dff8p30 to short. Expected 0x7bff got 0x7c00
Unexpected result of converting -0x1.1dff8p30 to short. Expected 0xfbff got 0xfc00
Unexpected result of converting 0x1.1dff82p30 to short. Expected 0x7bff got 0x7c00
Unexpected result of converting -0x1.1dff82p30 to short. Expected 0xfbff got 0xfc00
Unexpected result of converting 0x1.1dff7ep30 to short. Expected 0x7bff got 0x7c00
Unexpected result of converting -0x1.1dff7ep30 to short. Expected 0xfbff got 0xfc00
Round-to-nearest violation on converting 0x1.0p0 to binary16 and back.
Different conversion of float value 0x1.0p1
----------System.err:(10/531)----------
java.lang.RuntimeException: 10 errors
at Binary16Conversion.main(Binary16Conversion.java:47)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1591)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 10 errors