Bug 270194 - [1.5][compiler] Java error in 3.5M6 that was not present in 3.4
Summary: [1.5][compiler] Java error in 3.5M6 that was not present in 3.4
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 19:26 EDT by Greg Watson CLA
Modified: 2009-04-28 09:24 EDT (History)
3 users (show)

See Also:


Attachments
Test case (4.58 KB, application/zip)
2009-03-26 19:26 EDT, Greg Watson CLA
no flags Details
Proposed patch and testcase (2.41 KB, patch)
2009-03-27 14:27 EDT, Kent Johnson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2009-03-26 19:26:29 EDT
The attached test code results in the following error in 3.5M6:

The method method(class4<class6.enum1>) is ambiguous for the type test_bug	test_bug.java	test_bug/src/test	line 9	Java Problem

The same code does not generate an error in Eclipse 3.4.
Comment 1 Greg Watson CLA 2009-03-26 19:26:56 EDT
Created attachment 130029 [details]
Test case
Comment 2 Kent Johnson CLA 2009-03-27 14:27:54 EDT
Created attachment 130129 [details]
Proposed patch and testcase
Comment 3 Kent Johnson CLA 2009-03-27 15:33:42 EDT
Fix and test released for 3.5M7
Comment 4 Jay Arthanareeswaran CLA 2009-04-28 02:19:13 EDT
Verified for 3.5M7 using build I20090426-2000