Ticket #251 (closed defect: fixed)

Opened 16 months ago

Last modified 15 months ago

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

Changed 15 months ago by stephan

  • milestone set to OTDT_1.3.0

Could reproduce, adopted test case as A.1.3-otjld-autoboxing-in-method-mapping-9

Changed 15 months ago by stephan

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from OTDT_1.3.0 to OTDT_1.3.0_M4

Fixed in r21631 including a similar issue witnessed by A.1.3-otjld-autoboxing-in-method-mapping-10.

Note: See TracTickets for help on using tickets.