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

Bug 95719

Summary: [inline] warn when accessing field from outer non static classes
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Dirk Baeumer CLA 2005-05-18 05:31:18 EDT
 
Comment 1 Dirk Baeumer CLA 2005-05-18 05:32:17 EDT
Test case

class Short {
	class Inner {
		int foo() {
			return field.intValue();
		}
	}
	
	Integer field;
	
	void use() {
		new Inner().foo();
	}
}

inline foo in new Inner().foo();
Comment 2 Eclipse Genie CLA 2020-04-10 17:30:44 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.