Opened 15 years ago

Last modified 15 years ago

#236 new defect

Remove the interface uka.transport.Transportable

Reported by: hauma Owned by: hauma
Priority: normal Milestone: JPlater
Component: uka.transport Version: 1.09c
Severity: normal Keywords:


The property of being transportable is determined at runtime by checking the availability of a static field TRANSPORT_DESCRIPTOR in the class. This makes the interface Transportable superfluous.

Since, it is not safely possible to automatically promote each serializable class to transportable ones. If the class implements its own marshaling protocol using writeObject() methods, it may be difficult to convert those methods into marshaling methods valid for uka.transport. The property of being transportable is not in all cases inherited to subclasses. Since a subclass of a serializable class that was promoted to a transportable class could declare custom marshaling methods, the subclass can no longer be promoted to a transportable class.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by hauma

  • Milestone changed from 2.0 to JPlater

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain hauma.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hauma to the specified user. Next status will be 'new'.
The owner will be changed from hauma to anonymous. Next status will be 'assigned'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.