Modify

Ticket #109 (new defect)

Opened 12 years ago

Last modified 8 years ago

Illegal transformation result with package protected local classes

Reported by: Bernhard Haumacher (haui at haumacher dot de) Owned by:
Priority: normal Milestone:
Component: karmic Version: 1.05b
Severity: major Keywords:
Cc:

Description

If a remote class uses a package protected local classes in its signature, it is not possible to extend it from a class in another package. The compiler crashes with an error message during skeleton generation:

<remote-class>_instance_intf.java:9: class <local-class> 
  is not public in package <package>; cannot be accessed from 
  outside package

Evaluation

For performance reasons, skeletons do not extend each other in KaRMI. The skeleton code from the extended super class is repeated in the extending classes skeleton instead. This repeated skeleton code seems to use the class name of the package protected local class during argument [un]marshaling.

See also

ticket:114

todo since 1.05b.

Attachments

Change History

comment:1 Changed 8 years ago by hauma

  • Severity changed from normal to major
  • Summary changed from package protected local classes to Illegal transformation result with package protected local classes
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from (none). Next status will be 'new'
The owner will be changed from (none) 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.