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 257838 - "Duplicate class" isn't duplicate in maven project
Summary: "Duplicate class" isn't duplicate in maven project
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-04 05:16 UTC by Peter Nabbefeld
Modified: 2016-02-04 05:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2016-02-04 05:16:20 UTC
I've got a maven project, which is fine with NB 8.0.2, but shows "Duplicate class" for most Java sources in NB 8.1.

Some other maven project works with NB 8.1, so there must be sth. "special" ...

One difference: The "red" class uses enums, the "good" project doesn't. All classes marked duplicate either define or use those enums.

So, it seems, indexing of enums might be wrong.

For further investigation, those "duplicate" hints should show the file paths of the duplicates (or URIs, if they are e.g. from the internet).