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 239379 - Duplicate class warning after moving sources into correct package structure
Summary: Duplicate class warning after moving sources into correct package structure
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-11 15:35 UTC by Jesse Glick
Modified: 2016-07-07 07: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 Jesse Glick 2013-12-11 15:35:11 UTC
Product Version = NetBeans IDE Dev (Build 20131211-ca7d20f516e1)
Operating System = Linux version 3.8.0-34-generic running on i386
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) Client VM 24.45-b08

With a fresh userdir:

git clone -b upstart-slave-installer-1.1 git://github.com/jenkinsci/upstart-slave-installer-module.git
cd upstart-slave-installer-module
netbeans --open . src/main/java/org/jenkinsci/modules.upstart_slave_installer/UpstartSlaveInstaller.java &
# wait for parsing to complete, note correct error badges
git checkout master
netbeans --open src/main/java/org/jenkinsci/modules/upstart_slave_installer/UpstartSlaveInstaller.java &

https://github.com/jenkinsci/upstart-slave-installer-module/commit/5ceb49d980c8bbf2236051eb991738489ffc07c8 should have fixed everything, but we still have error badges, but now about “duplicate classes”. Log also has errors:

INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS
INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=org.jenkinsci.modules.upstart_slave_installer.UpstartSlaveInstaller ]
Comment 1 Martin Balin 2016-07-07 07:16:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss