Bug 45365 - Eclipse compiler rejects valid code
Summary: Eclipse compiler rejects valid code
Status: RESOLVED DUPLICATE of bug 45357
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 08:39 EDT by Olivier Thomann CLA
Modified: 2003-10-22 08:59 EDT (History)
0 users

See Also:


Attachments
Compile this source (1.13 KB, text/plain)
2003-10-22 08:40 EDT, Olivier Thomann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2003-10-22 08:39:53 EDT
Using latest, the Eclipse compiler reports:

1. ERROR in D:\temp\CompileError.java (at line 34)
	return oResult;
	       ^^^^^^^
The local variable oResult may not have been initialized
----------
1 problem (1 error)

For the attached code. Jikes 1.18 or javac 1.4.2 compiles it correctly.
Comment 1 Olivier Thomann CLA 2003-10-22 08:40:29 EDT
Created attachment 6516 [details]
Compile this source
Comment 2 Philipe Mulet CLA 2003-10-22 08:59:14 EDT

*** This bug has been marked as a duplicate of 45357 ***