Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.00, 3.01
-
Fix Version/s: 3.07
-
Component/s: Referencing
-
Labels:
Description
javax.measure.unit.Unit is not serializable in JSR-275 beta 2 implementation. The encapsulation (Unit in CoordinateSystemAxis in CoordinateSystem in CoordinateReferenceSystem) cause failures in attempt to serialize AbstractCRS.
There is a 1.0 version of JSR-275 available, which need to be tested. If the serialization issue still present, we should propose a patch to the JSR-275 expert group.
Issue Links
- depends upon
-
GEOTK-73
Upgrate the JSR-275 dependencies to 0.9.3
-
Tried an upgrade to version 0.9.1 (the 1.0.0 version is actually a deployment mistake). A change in Unit.getConverterTo(Unit<?>) method signature seems to block the usage of JSR-275 API with unit that are unknown at compile-time. Furthermore the 0.9.1 doesn't seem to fix the serialization issue. Sent an email to Jean-Marie and waiting for reply.