Eclipse Object Teams 2.8.2

Release Date
Themes

Adjust to changes in JDT

The Object Teams fork of org.eclipse.jdt.core had to be updated (typically done once per JDT milestone). This time it included the architectural change of extracting the batch compiler into bundle org.eclipse.jdt.core.compiler.batch.

Improved stepping in the debugger

The OT/J compiler and runtime both create code that has no direct correspondence to source code. The debugger has always tried to hide any uninteresting details, while providing information about others. * With this release more infra structure code will be skipped during stepping. * Also representation of stackframes of generated code has been improved.
  • adjust debug representation for otdre [492938] (target milestone: 2.8.2)
  • improve stepping experience when debugging through OT.J dispatch code [566053] (target milestone: 2.8.2)

Highlighting for OT/J scoped keywords

Most keywords introduced for OT/J are active only in the scope of a team class. For that reason syntax highlighting cannot correctly handle those, as it would also highlight occurrences of that word that are not keywords. Based on recently added support for highlighting "restricted keywords" (a similar concept introduced in recent Java versions), OT/J scoped keywords can now by marked during semantic highlighting.
  • Leverage option of highlighting 'restricted identifiers' for OT.J scoped keywords [576045] (target milestone: 2.8.2)

Bug fixing

Fixing the odd bug
  • same named callins in different roles cause compile error in generated code [566465] (target milestone: 2.8.2)
  • static initializers in inner types have become legal in Java - adjust our codegen [576368] (target milestone: 2.8.2)
  • reconsider activation strategy for OutlineAdaptor [354687] (target milestone: 2.8.2)
  • Can't show sources from installed plug-ins for some teams.roles in o.e.objectteams.otdt.jdt.ui [401415] (target milestone: 2.8.2)
  • No access of inherited team field in guard predicate [413454] (target milestone: 2.8.2)
  • with apt in the loop, anchored type may leak an unwrapped LocalVariableBinding [435109] (target milestone: 2.8.2)
  • PDE validation triggers NPE in OT DOM [565545] (target milestone: 2.8.2)
  • Overeager cast causes CCE in org.eclipse.objectteams.otdt.internal.core.compiler.bytecode.AnchorListAttribute.getWrappedType(..) [565717] (target milestone: 2.8.2)
  • Exceptions at ZipFile initialization when launching OTSampleStopwatch in debug mode [565921] (target milestone: 2.8.2)
  • AIOOBE when compiling incomplete within statement [566098] (target milestone: 2.8.2)
  • Team.isExecutingCallin() may have threading issues [566226] (target milestone: 2.8.2)
  • React to JDT's move to BREE JavaSE-11 [566290] (target milestone: 2.8.2)
  • Refresh class RoleOverrideIndicatorManager [566295] (target milestone: 2.8.2)
  • LoaderAwareClassWriter.getCommonSuperClass() chokes on types from jdk.jdi [566448] (target milestone: 2.8.2)
  • Update samples to latest OTJLD . JRE [566463] (target milestone: 2.8.2)
  • Parser hangs during completion . reconcile ? [569502] (target milestone: 2.8.2)
  • adopt . adjust additions in JDT ast around JLS15 & previewEnabled [569568] (target milestone: 2.8.2)
  • Revisit field initialization in roles - discriminate final . non-final [569756] (target milestone: 2.8.2)
  • Direct return of result from tsuper gives VerifyError [570233] (target milestone: 2.8.2)
  • Weaving a class for WeavingReason.Aspect may create bogus . empty callAllBindings() [571542] (target milestone: 2.8.2)
  • using AccOverriding for classes conflicts with AccSealed [571750] (target milestone: 2.8.2)
  • CCE during compilation of org.eclipse.objectteams.jdt.ui [576166] (target milestone: 2.8.2)
  • IllegalAccessError caused by unnecessary cast to inaccessible type in callout-to-field [576367] (target milestone: 2.8.2)
  • superBase validation (OT.Equinox) fails for nested classes [576974] (target milestone: 2.8.2)
  • Disambiguation for '->' fails with latest changes from JDT [577270] (target milestone: 2.8.2)
  • NPE during hierarchy resolving on behalf of callin marker creator [577535] (target milestone: 2.8.2)
  • OTDT forces JobManager.VERBOSE=true [579632] (target milestone: 2.8.2)
  • bogus warning against callout to static [581263] (target milestone: 2.8.2)
  • OT-smart breaks MatchLocater in JavaSearchBugs16Tests.testAIOOBEForRecordClassGh790() [581774] (target milestone: 2.8.2)
  • Body of blockless within statement has invalid sourceStart [582198] (target milestone: 2.8.2)
  • Spurious validation error on aspectBinding for nested Team. [582219] (target milestone: 2.8.2)