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

Bug 352956

Summary: Misleading error message
Product: [Eclipse Project] JDT Reporter: Jonathan Camilleri <camilleri.jon>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
source code and screenshot none

Description Jonathan Camilleri CLA 2011-07-24 12:56:23 EDT
Build Identifier: M20110210-1200

Within the attached (SimpleLogonModule.java), a validation indicates that variable is never read locally (line 94; see scr.GIF).  However, this is read within the constructor (Line 22).



Reproducible: Sometimes
Comment 1 Jonathan Camilleri CLA 2011-07-24 12:58:38 EDT
Created attachment 200245 [details]
source code and screenshot
Comment 2 Dani Megert CLA 2011-07-25 03:04:55 EDT
The given source is empty. Note that we changed that wording in 3.7 and 4.1.
Comment 3 Jonathan Camilleri CLA 2011-07-25 04:00:22 EDT
It is not possible that you reproduced the issue within 30 seconds of receiving it.
Comment 4 Jonathan Camilleri CLA 2011-07-25 04:21:53 EDT
(In reply to comment #2)
> The given source is empty. Note that we changed that wording in 3.7 and 4.1.

Well, it's too late, sorry because I deleted the local copy of the source code (which is a RAR file that reads a size of 82.02Kb on this bug reporting forum).  Is it not accessible?

In any case I started over, and, simply added the following lines to my code, and, no warnings or errors were reported this time.  

This is thought to be an intermittent error that might have required an exact copy of my environment at the time to reproduce, however it is not practical for me to send my laptop by courier :)

/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

(lines 36 to 40)