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 102365 - Problem with package with 'enum'
Summary: Problem with package with 'enum'
Status: RESOLVED DUPLICATE of bug 110462
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 16:32 UTC by psadowski
Modified: 2007-09-26 09:14 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 psadowski 2007-04-24 16:32:03 UTC
I have a package with 'enum' in it, like 'com.enum.something'. NetBeans does 
not see classes inside this package (Go To Class) unless I manually open that 
package in Projects view.
Project is a free-form project, with source level set to 1.4. In Java Platform 
Manager, I have multiple defined jdks from 1.4 to 1.6.
Comment 1 psadowski 2007-04-25 11:11:47 UTC
Find usages for such class is not working also (and becouse of that - 
refactoring is not working too). Example:

I have created 2 projects, TEST-ENUM i TEST-ENUM2. In TEST-ENUM I have created 
classes: 
 - pl.psadowski.enum.Color with field RED
 - pl.psadowski.Size with field BIG

In TEST-ENUM2 (it has TEST-ENUM as a library) I created main class which uses 
fields RED and BIG. Now when I use 'Find usages' on RED, I don't find 
anything, but I finds usages of BIG field in TEST-ENUM2 project. I can 
refactor BIG (it chachges ENUM-TEST2 correctly), but I cant refactor RED (it 
chagnes only Color class, and ENUM-TEST2 stops compiling).

BTW I cant create 'enum' package from within NetBeans, nor create classes in 
such package. If project is Java 1.4 project, I think I should be allowed to 
do that.
Comment 2 ehucka 2007-04-26 09:27:49 UTC
reassigned to java
Comment 3 Tomas Zezula 2007-08-02 13:54:40 UTC

*** This issue has been marked as a duplicate of 110462 ***