interesting bug https://bugs.openjdk.org/browse/JDK-8385926