Ticket #121 (closed defect: fixed)
revise visibility of role methods inherited from regular super class
| Reported by: | stephan | Owned by: | stephan |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.2.3 |
| Component: | language | Version: | 1.2.0pre |
| Keywords: | Cc: |
Description
When a role class inherits from a regular class, translation to legal Java byte code forces us to do some tricks behind the scenes. In certain situations these tricks may cause java.lang.IllegalAccessError to be thrown at runtime. Also, for the case of inheriting a protected final method the IBM JVM reports:
"JVMVRFY007 final method overridden .."
Thus we might be forced to treat non-public methods inherited from a regular super-class as private within the role. Should then revise OTJLD §1.3.2 accordingly.
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed