I tested that, however the two implementations differ based on CW and CCW order. Changing to JTS.toPolygon resulted in test failures.