Bug 318573 - Error on source code file
Summary: Error on source code file
Status: CLOSED DUPLICATE of bug 305259
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 05:51 EDT by Mauricio CLA
Modified: 2010-07-01 09:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauricio CLA 2010-07-01 05:51:51 EDT
Build Identifier: 20100617-1415

I have 2 java project in eclipse helious, the first "A" it is configurate to compile with java 1.5 and the second "B" still on 1.4.
The project "B" depends on the project "A" (Java Build Path / Projects) 
On project "A", I have a class with a public static method return a generic type "T".
But on the project "B", when I use this method the Eclipse show me like a compile error "The method xpto(...) from the type MyUtilClass refers to the missing type T".
But everything compile ok, but the red error line is there.
It's strange because the methos Collections.min(...) of the JDK works normally! Maybe it's because it is a jar dependency.



Reproducible: Always
Comment 1 Olivier Thomann CLA 2010-07-01 09:28:13 EDT

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