| Summary: | Avoid unnecessary decapsulation accessors for callout to field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||||||
| Component: | OTJ | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | 2.0 | ||||||||||
| Target Milestone: | 2.0.1 | ||||||||||
| Hardware: | Other | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | Also released in 2.1 M1 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Stephan Herrmann
Created attachment 200226 [details]
partial implementation
This patch implements the requested optimization for "get" c-t-f.
The change spreads out because several locations assumed that a base method
always exists for all method bindings, which is no longer true.
One test case now reports a more precise error (check was buggy).
TODO: include "set" c-t-f in the optimization.
Created attachment 200230 [details]
additional fix
Fixing previous patch for static base fields (was: build failure).
Created attachment 200233 [details]
additional fix with test (3)
Fixing previous patch for invisible base class (was: build failure).
All tests pass with the three patches applied. Verified for 2.0.1 using build 201108160141. |