Ticket #251 (closed defect: fixed)
callin and autoboxing
| Reported by: | amertgen | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.3.0_M4 |
| Component: | runtime-environment | Version: | 1.2.8 |
| Keywords: | autoboxing | Cc: |
Description
Base class...
public class MyClass { public void foo(int i) { System.out.println("foo" + i); } }
...with Team...
public team class MyTeam { protected class MyRole playedBy MyClass { callin void logInteger(Integer arg) { System.out.println("-> log " + arg); base.logInteger(arg); } logInteger <- replace foo; } }
...causes:
OTRE internal error:No way to make types conform role type java.lang.Integer -> int
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed