mapserver-bot · GitHub

Reporter: unicoletti
Date: 2004/12/05 - 19:50
Trac URL: http://trac.osgeo.org/mapserver/ticket/1106

When upgrading from Java mapscript 4.2.X to 4.4.0 my application failed to compile.
The problem lies in the new pointObj constructor that takes four arguments
(x,y,x,m) in place of the three (x,y,z) in previous versions.
Side note:
While this is a minor annoyance that is easy to fix, incompatibility between
different versions seems to be a pattern in java mapscript. In fact I had a
similar problem when upgrading from 4.0 to 4.2, and in that case I simply
changed my code (a very small code base) to be 4.2 compliant. Now that the
application is reaching maturity playing catch up with mapscript is becoming
more and more difficult, so I think we should work out a test suite for Java
mapscript that will make it easier to spot issues like this. Let me know what
your opinions are on this topic.

Read the original on github.com ↗