Modify ↓
Ticket #109 (new defect)
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
todo since 1.05b.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
