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 115282 - parser case insensitive to package names
Summary: parser case insensitive to package names
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 18:50 UTC by ianschneider
Modified: 2009-11-02 10:55 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 ianschneider 2007-09-11 18:50:20 UTC
Parser incorrectly marks imports as invalid when two classes with same names live in packages with same, but mixed case
names.

Example:
Project A contains top-level class:
Foo.Bar.Baz.Baz

Project B contains top-level class:
foo.bar.Baz

Project C (depends on A and B):
import Foo.Bar.Baz.Baz

is marked as error:
cannot access Foo.Bar.Baz.Baz
bad class file: null
class file contains wrong class: foo.bar.Baz
... etc.
Comment 1 ianschneider 2007-09-11 18:55:56 UTC
This is on build 200709110000

Forgot to mention, not marked as error in 5.5, builds and runs fine
and the mixed caps packages are legacy ;)
Comment 2 Jiri Prox 2007-09-13 10:44:07 UTC
reproducible

Product Version: NetBeans IDE Dev (Build 070912) Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01 System:
Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Userdir: C:\Documents and Settings\jp159440\.netbeans\dev
Comment 3 Jan Lahoda 2007-10-30 11:35:42 UTC
We probably won't manage to do anything about this for NB6.0.
Comment 4 Jan Becicka 2008-11-13 12:50:40 UTC
Will resolve later
Comment 5 Quality Engineering 2009-11-02 10:55:58 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX