Summary: | [null][compiler] False warning that "instanceof always yields false". | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brian Miller <Brian.Miller> |
Component: | Core | Assignee: | Stephan Herrmann <stephan.herrmann> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | amj87.iitr, jarthana, jonathan_amir, markus.kell.r, Olivier_Thomann, remy.suen, stephan.herrmann |
Version: | 3.4 | ||
Target Milestone: | 3.6 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Brian Miller
2008-07-25 18:39:16 EDT
I run into the same problem. Here's the code snippet: Object obj = null; if ((obj = "") instanceof String) { } *** This bug has been marked as a duplicate of bug 305590 *** Verified for 3.7M6 using build I20110301-1537 |