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

Bug 260767

Summary: Better integration of AptSourceLocalVariableBinding
Product: [Eclipse Project] JDT Reporter: Walter Harley <eclipse>
Component: APTAssignee: Generic inbox for the JDT-APT component <jdt-apt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Walter Harley CLA 2009-01-12 14:31:20 EST
AptBinaryLocalVariableBinding and AptSourceLocalVariableBinding were added to org.eclipse.jdt.compiler.apt to resolve bug 258917.  They were added to APT, rather than to JDT core, in order to minimize impact.

However, adding AptSourceLocalVariableBinding this way means that JDT creates a LocalVariableBinding and then APT clones it, field by field; see the constructor for AptSourceLocalVariableBinding.  If a field is added to LocalVariableBinding in the future, this will break.

It would be preferable to have JDT core create the right kind of binding in the first place, so that this clone is not needed.
Comment 1 Eclipse Genie CLA 2019-06-08 14:38:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.