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: | Incorrect error shown where none actually exists | ||
---|---|---|---|
Product: | java | Reporter: | Chiana |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Showing incorrect hint and source. |
Description
Chiana
2012-09-28 22:21:18 UTC
Created attachment 125083 [details]
Showing incorrect hint and source.
I think I can shed some extra light on this. The class WindowsRegistryError extends WindowsRegistryHandle, both are defined in an external project (WinReg) that is included in this project (Service). However WindowsRegistryHandle extends IntByReference a class that is defined in jna.jar that is included into the WinReg project. The Service project does not use JNA so it is not included into that. Just to check I added jna.jar into Service and the error marking dissapeared. So the error seems to be that if the class extends a class that is not include into the same project Netbeans thinks it is an error but according to the compiler itself it is not, or something similar... Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1. Also report was made 3 years ago... |