Bug 45365

Summary: Eclipse compiler rejects valid code
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Compile this source none

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 ***