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

Summary: "Duplicate class" isn't duplicate in maven project
Product: java Reporter: Peter Nabbefeld <epdv>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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).