GeodeticCalculator.getGeodeticCurve returns a Shape. A List of Point2Ds would be much more convenient and also give double, rather than float, precision.
The attached patch deprecates getGeodeticCurve and adds a new method:
List<Point2D> getPath(int numPoints)
The patch also adds a private helper method computePoint to avoid the confusing dual use of computeDestinationPoint in the original code.
Unit tests are included but they could be better.