Summary: | [1.5][compiler] ecj compiles code rejected by javac for varargs parameters of inaccessible type | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> |
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | jarthana, Olivier_Thomann |
Version: | 3.7 | ||
Target Milestone: | 3.8 M4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Ayushman Jain
2011-05-17 03:44:07 EDT
I would target 3.7.1 to match the Java 7 behavior when the Java 7 support is released. Don't expect to get to this before 3.8. Retargetting. Released fix for 3.8 M4 via commit b8b8ddf64dedf8c9c31f5a6a372768428e737f63. We now issue a near identical message as javac. For the case in comment#0 we report "The method foo(A...) of type B is not applicable as the formal varargs element type A is not accessible here" Verified for 3.8M4 with build I20111204-2000. |