Summary: | Incorrect error detected: "The method put is defined in an inherited type and an enclosing scope." | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tupshin Harper <tupshin> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Tupshin Harper
2003-08-07 15:31:27 EDT
Which drop on you running? Can you please provide the source for the class JS.Obj (or at least the spec of any method named put, regardless of the number of parameters)? BTW: Why are both classes extending the same superclass? I can reproduce the error in Eclipse with the Compiler compliance level set to 1.3 when I define the method put in the superclass JS.Obj. I can also generate the same error using javac 1.3. When I try the case with javac 1.4.1 & Eclipse with the Compiler compliance level set to 1.4... both compile without any errors. I'm closing this PR, reopen it if you can provide a complete testcase that shows Eclipse fails against the matching version of javac (or any other compiler). |