Modify

Opened 15 years ago

Last modified 15 years ago

#233 new defect

Add a "-local" mode to jpc where it does not depend on the availability of JP runtime classes

Reported by: hauma Owned by: hauma
Priority: normal Milestone: 2.0
Component: jpc Version: 1.09b
Severity: normal Keywords:
Cc:

Description

To be able to compile KaRMI with jpc (see ticket:232), the JavaParty compiler must work without the JP runtime being available (because this requires KaRMI to be built first). A new option should be added to the compiler, where it does "local" compilation with only generating marshaling methods, but without transforming remote classes.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by hauma

Normally, jpc makes all classes serializable and additionally adds an implementation for the Transportable interface. This behavior is reasonable when compiling for the distributed environment, since a class that is not serializable causes runtime errors, when passed to methods of remote objects.

In "local" mode, when jpc is used for automatic generation of marshaling routines, only such classes should be retrofitted for usage with uka.transport that are already declared serializable by the programmer.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
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'.
Author


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

 
Note: See TracTickets for help on using tickets.