Hi Torben,
Thank you for testing Java 9.
We faced similar reprojection issues in JOSM unit tests two years ago.
You can find valuable information (why it happens and how we solved the
issues) in our bugtracker:
https://josm.openstreetmap.de/ticket/11889
https://josm.openstreetmap.de/ticket/13387
https://josm.openstreetmap.de/ticket/11924#comment:91

In short: Intel submitted a new native Math library in Java 9. It is faster
and more precise, but not backward compatible with numeric results produced
with Java 8 and older versions so you have to allow some difference. We
also backported Java 9 Math.toDegrees/toRadians implementations into our
code base to benefit from their accuracy and performance.

Cheers,
Vincent

2018-01-03 22:51 GMT+01:00 Torben Barsballe <tbarsba...@boundlessgeo.com>:

> I have set up a Java 9 build on build.geoserver.org: https://
> build.geoserver.org/view/geotools/job/geotools-java9
> (also set up builds for geowebcache and geoserver, but those aren't likely
> to be relevant until geotools builds on java 9)
>
> The build is set up on a shared workspace "/var/jenkins/workspace/java9",
> with an isolated local data dir (using -Dmaven.repo.local) so that the
> downstream builds can use upstream artifacts without contaminating other
> builds.
>
> So far, the build seems to be running as intended, but is currently
> failing tests on gt-epsg-wkt.
>
> Seems like envelopes are sufficiently different upon reprojection to show
> as unequal.
> A similar issue (also with Java 9) has already been reported here:
> https://osgeo-org.atlassian.net/browse/GEOT-5899
>
> Torben
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to