As of now, this seems to be impossible, short of patching Java yourself. There is upstream bug report: https://bugs.openjdk.org/browse/JDK-8290140 and Fedora might patch it: https://bugzilla.redhat.com/show_bug.cgi?id=1154277