Summary: | [compiler] Method resolution doesn't follow the JLS | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Rémi Forax <forax> |
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | amj87.iitr, jarthana, Olivier_Thomann |
Version: | 3.7 | ||
Target Milestone: | 3.8 M4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Rémi Forax
2011-06-09 10:47:34 EDT
Reproduced using latest. Srikanth, please investigate. Tagging as 3.7.1. Will reassess based on the fix. Tagging as 1.7 since this is a change brought about by javac 7, and all javac 7 fixes have been fixed in BETA_JAVA7. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7042566 and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044388. Apparently, this fix is causing some non trivial amount of code to not compile anymore, since this seems to have bubbled up very quickly from more than one source. Targetting 3.8, since this is not a regression in 3.7, eclipse and javac behavior has always matched up until 7b143. The code in comment#0 compiles on 3.8 stream as of 21 Nov 2011. I'll check on the regressions referred to in comment#3 and close this defect as appropriate. The regressions mentioned in comment#3 are javac specific. Eclipse 3.8 stream top of branch behavior as of today matches JDK7b147. Closing as WORKSFORME. (This issue most likely got fixed along with either of bug 346038 or bug 346039). Verified for 3.8M4 with build I20111204-2000. |