ADDITIONAL SYSTEM INFORMATION :
Windows 10 x64 with java version: 11.0.8+10-LTS (OpenJDK)
A DESCRIPTION OF THE PROBLEM :
The bug is described here and marked as solved with version 11.0.8 that was released some days ago:
https://bugs.openjdk.java.net/browse/JDK-8240146.
Unfortunately the bug is NOT fixed in version 11.08
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I tested with my own implementation AND with your test available with https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/d5006f145e81
---------- BEGIN SOURCE ----------
https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/d5006f145e81
---------- END SOURCE ----------
FREQUENCY : always