8233644: [TESTBUG] JInternalFrame test bug8020708.java is failing on macos Reviewed-by: serb, pbansal, jdv