OTDT 2.1 - New and Noteworthy

Content assist

Add signatures to method binding
since 2.1M2
355274

The existing quick assist "Add signatures to method binding" has been improved so that it can be used on a a signature-less method binding even if it fails to resolve its base method(s). In case the base class has more than one method of the name mentioned in the method binding, all matching base methods are collected, the best match is inserted into the editor and other matches are offered as alternatives in linked mode.

So, if before invoking the assist you have:

Ambiguous base method

you may invoke the assist as a quickfix (e.g., from the error hover), producing this change:

Add signatures quick assist

where you may select the suitable base method from a list.

Hint: If a method binding has an incorrect signature you may first remove signatures (using a quick assist) and then let this new assist insert correct signatures.

Language

Java 7 support
since 2.1M1
353894

Starting with 2.1 M1, OT/J has been integrated with Java 7, i.e., the OT/J compiler also supports all new features introduced in Java 7.

Compiler

Bug 314610 - Produce warning when two roles capture the same method at the same time

Object Teams Runtime Environment

TODO: [otre] avoid performance penalty due to eager creation of _OT$roleSet[otre] class RepositoryAccess is wasting memory