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.

Bug 232497 - Not displayed warning in case of wrong package declaration in class file
Summary: Not displayed warning in case of wrong package declaration in class file
Status: RESOLVED DUPLICATE of bug 127439
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
Depends on:
Reported: 2013-07-10 09:15 UTC by archenroot
Modified: 2013-07-10 11:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot with highlighted sections of bug. (370.41 KB, image/png)
2013-07-10 09:15 UTC, archenroot

Note You need to log in before you can comment on or make changes to this bug.
Description archenroot 2013-07-10 09:15:30 UTC
Created attachment 136928 [details]
Screenshot with highlighted sections of bug.

The package definition part in the class file is wrong, the project cannot be build, but in IDE in the tree view of class files the file is not marked as invalid.
Comment 1 archenroot 2013-07-10 09:15:51 UTC
I would like to state that this is maven based java project.
Comment 2 Jiri Prox 2013-07-10 10:34:31 UTC
The problem is that the wrong package is not en error, only hint announcing this fact is by default displayed as error annotation. 

All compilation errors are in file ParallerSpliter which is correctly marked.

The situation would be more clearer for the user, if the files, containing hints which are configured to be shown as errors, would have error badges as well
Comment 3 Jiri Prox 2013-07-10 11:22:36 UTC

*** This bug has been marked as a duplicate of bug 127439 ***