As per this thread the bug is "resolved" and the fix is available here but I have no idea as to how to use it. I've tried copying over all .java files to my local project but I get errors related to missing Classes. There's also a C++ source file involved which I don't know what to do with.
The Bug is fixed in the OpenJDK itself. So you need to update the OpenJDK on the machine which is running your app and that's it. Be sure to install a version that includes the fix.