Bug 64669 - "Never Read Locall" doesn't handle nested references
Summary: "Never Read Locall" doesn't handle nested references
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 09:51 EDT by David Corbin CLA
Modified: 2004-10-27 06:46 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 David Corbin CLA 2004-05-29 09:51:33 EDT
The following code snippet generates a warning/error incorrectly, if you have
the "Never read/used local field" option.

public class Foo() {
	private int x;
	public class Bar() {
		public bar() {
			x = 9;
		}
	}
}
Comment 1 Philipe Mulet CLA 2004-05-29 15:58:42 EDT
This isn't a read access, but a write access.