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 151283 - B. CC -> B.B.NewClassBBB
Summary: B. CC -> B.B.NewClassBBB
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Jancura
URL: http://wiki.netbeans.org/TS_61_Projec...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-24 14:07 UTC by Lukas Hasik
Modified: 2009-11-02 10:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample stupid projects (19.51 KB, application/x-compressed)
2008-10-24 14:09 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-10-24 14:07:06 UTC
Product Version: NetBeans IDE 6.5 RC2 (Build 200810231029)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: F:\netbeans\userdir\nb65-rc2-1-cc

-have 2 projects - A, B
-A has dependency on B
-there is class NewClassBBB in b package in B project (attached)
public class NewClassBBB {
 public static String TEST = "bbbb";
}

-when I want to use code completion to use the TEST field in my code I receive wrong code
-I type "B.", then CC, choose NewClassBBB, and result is "B.B.NewClassBBB"
Comment 1 Lukas Hasik 2008-10-24 14:09:02 UTC
Created attachment 72601 [details]
sample stupid projects
Comment 2 Lukas Hasik 2008-10-24 14:12:21 UTC
why it offers cc for "B." ? I completely missed that my package is "b". Does it ignore case?
Comment 3 Dusan Balek 2008-10-27 18:16:33 UTC
Unfortunately, I cannot reproduce the issue. Could you please describe the exact steps to reproduce? Thanks.
Comment 4 Lukas Hasik 2008-10-27 18:47:02 UTC
Product Version: NetBeans IDE 6.5 RC2 (Build 200810270001)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

steps:
1, download the attached project, unzip the aaa directory somewhere on disc
2, open the A and B projects from the aaa dir
3, open a.Main class from A project in editor
4, in the main method type "B."
5, choose NewClassBBB from code completion
->6, text "B.B.NewClassBBB" appears in editor
Comment 5 Dusan Balek 2008-10-27 19:01:20 UTC
That is strange - code completion returns 'No suggestion' message after "B." for me.
Comment 6 Dusan Balek 2008-10-30 16:48:19 UTC
Caused by omitted normalization on case insensitive file systems. See issue #126392 for more information.
Comment 7 David Strupl 2009-03-31 15:57:18 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 8 Quality Engineering 2009-11-02 10:56:40 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX