java workaround bit