Summary: | Eclipse gives a false type safety warning. When I "fix" it , it then warns me that the "Suppress Warnings" isn't suppressing anything | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Greg Dougherty <dougherty.gregory> |
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | amj87.iitr, Olivier_Thomann |
Version: | 3.7 | ||
Target Milestone: | 3.7 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Greg Dougherty
2010-08-12 10:54:22 EDT
Sorry. Build Identifier is 20100617-1415 Srikanth, please follow up! Thanks! (In reply to comment #0) > Build Identifier: > > Building a GWT 2.0.4 project. I have the following declarations: Please attach a test case: I have tried the following and don't see any warnings: import java.util.List; class DataRetriver { public void getAvailableKeySpaces (String species, AsyncCallback<List<KeyspaceInfo>> callback) {} } interface AsyncCallback<T> {} class KeyspaceInfo {} class GetKeySpacesImpl implements AsyncCallback<List<KeyspaceInfo>> {} public class Bug { public static void main(String[] args) { new DataRetriver().getAvailableKeySpaces ("species", new GetKeySpacesImpl ()); } } We love a defect reporter who provides a test case that will fit in a single editor (where possible) and their defects get priority. :) You may also want to compile your program with javac and see if you get any warnings. Use -Xlint:unchecked option to javac. As things stand, no progress can be made. There are no known issues in this area. I plan to close this WORKSFORME. If you manage to dig up a case you can reopen it then. Please reopen if a test case becomes available. As it is no progress can be made. Verified for 3.7M2 using I20100914-0100 |