Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326052

Summary: [compiler] problems with team ctors with declared lifting in specific inheritance situations
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTJAssignee: Project Inbox <objectteams.otj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Stephan Herrmann CLA 2010-09-23 09:16:49 EDT
The following tests (in LiftingAndLowering) demonstrate that copying of 
super-team ctors can not yet handle all situations:

  _test2228_declaredLiftingInConstructor6 - illegal byte code generated
  _test2228_declaredLiftingInConstructor7 - compiler throws AIOOBE

These test require special analysis of data flows in inherited ctors.
From what I recall the compiler can't grok those inherited
super calls "super(r.id());" and "super(1, r);"

Note, that in 1.4.0 the compiler would simply report:
  Compiler limitation: This constructor seems to request lifting of an argument.
  However, the self call in Team2228dlic7_2(R<@tthis[Team2228dlic7_2]>) of class 
  Team2228dlic7_2 passes its arguments in an unexpected way. Cannot perform 
  required transitive byte-code translation.