Opened 15 years ago

Last modified 9 years ago

#228 new defect

Anonymous objects should replace value mode marshaling (non-recursive)

Reported by: hauma Owned by: hauma
Priority: normal Milestone: 2.0
Component: uka.transport Version: 1.08a
Severity: normal Keywords:


The uka.transport marshaling does support value mode marshaling. For objects marshaled in value mode, no cycle resolution is performed. This prevent such (temporary) objects from being inserted into the streams object spaces, which is especially important in the context of replicated objects to keep the set of objects watched for modifications small.

All objects marked with uka.lang.Immutable (and all objects transitively referenced from those objects) were transmitted in value mode. This is problematic, because there are classes that should be transmitted in value mode without extending the value mode to referenced objects.

A new marker uka.lang.Anonymous (see [2833], [2834]) was introduced that guarantees (non-recursively) equivalence of objects and copies. uka.transport should respect this annotation and transmit anonymous objects without inserting them into the stream's object spaces.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by hauma

  • Summary changed from Value mode marshaling is dangerous (should be non-recursive) to Anonymous objects should replace value mode marshaling (non-recursive)

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.