Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: 8.0-RC1
-
Fix Version/s: None
-
Component/s: render
-
Labels:None
-
Environment:Ubuntu 10, Java 1.6 latest update
Description
Downloaded geotools 8 rc1 from the source code tarball on the project site. Ran 'mvn package' to build all dependencies and run tests, and gt-render failed. I traced the failure to LabelObstacleTest#testExternalGraphicNoObstacle(), which asserts that the minimum difference between labeled and unlabeled images is 0. The actual value is 1.0, causing the test failure.
There is a comment there indicating the expected value should be 1.0. Changing the expected value to 1.0 does of course make the test pass, so the question is what am I doing wrong? Was this test silenced during release? Can you verify the problem? I used source code released at:
Are you sure you're using Oracle JDK and not OpenJDK?