Workaround for segfault in 8u20 due to JDK-8059299