Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326052 - [compiler] problems with team ctors with declared lifting in specific inheritance situations
Summary: [compiler] problems with team ctors with declared lifting in specific inherit...
Status: NEW
Alias: None
Product: Objectteams
Classification: Tools
Component: OTJ (show other bugs)
Version: 0.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 09:16 EDT by Stephan Herrmann CLA
Modified: 2010-09-23 09:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.