[GEOT-4731] Build failure in gt-render PartialsTest.testPartialLineLabelTrue with JDK6