Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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

Activity

Hide
Martin Desruisseaux added a comment -

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.

Show
Martin Desruisseaux added a comment - 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.
Hide
Martin Desruisseaux added a comment -

The test suites for CRS serialization, which were disabled, have been re-enabled.

Show
Martin Desruisseaux added a comment - The test suites for CRS serialization, which were disabled, have been re-enabled.

People

  • Assignee:
    Martin Desruisseaux
    Reporter:
    Martin Desruisseaux
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1h
Original Estimate - 1 hour Original Estimate - 1 hour
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
2h
Time Spent - 2 hours