[BZ 192575] java/junit: fix build of 4.11 with openjdk8