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

Bug 318573

Summary: Error on source code file
Product: [Eclipse Project] JDT Reporter: Mauricio <matafe>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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