This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IDE incorrectly reports "method does not override or implement a method from a supertype" | ||
---|---|---|---|
Product: | java | Reporter: | swpalmer <swpalmer> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | ayu |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
ca class is also created in cube but no overriding is there and super function is useless
no overriding shown |
Description
swpalmer
2009-12-22 10:31:49 UTC
Above example seems to work fine in the current dev build. Thanks, this is still happening in Netbeans 6.9 build 201003120200, so I'm reopening. I am participating in NetCat 6.9 so I will keep an eye on it. At first I was editing the file where this occurs and the error didn't come up.. I then I triggered an update from subversion on the file and the bogus errors appear during the subsequent rescan. Sorry, but I still cannot reproduce the issue. Could you please create a simple test project and describe exact steps to reproduce? Thanks. if you copy paste the code in new class, then @Override will give you the problem otherwise it will run well it is working fine, when I wrote the code from my self very strange behavior, IDE bug I had a similar issue. I was overwriting org.xml.sax.helpers.DefaultHandler with startelement endelement and characters and startelement wasn't recognized as an overwritten method. (and it didn't call the method) I'm on netbeans 6.1 java 6 it was a inner class so I tried with a new class on his own but nothing. But I figured out what was happening, I used fix import without checking as most of the time netbeans knows better than me what to import. This time netbeans choose "import java.util.jar.Attributes" instead of "import org.xml.sax.Attributes" as only start element has atribute it was the only one not recognized. It was an odd error to solve as I had in the same project another class doing the same overwrite work and it was working perfectly fine it's the first time I post here so sorry for any mistake Created attachment 164600 [details]
ca class is also created in cube but no overriding is there and super function is useless
Created attachment 164601 [details]
no overriding shown
|