[JENKINS-22525] working around a bug in IBM J9 VM