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 226736 - IDE shows error when importing public class from package
Summary: IDE shows error when importing public class from package
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 19:56 UTC by dwuytens
Modified: 2013-02-27 08:53 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 dwuytens 2013-02-26 19:56:33 UTC
Project P1
package x.y with public classes A, B, C, ...

Project P2
- add project P1 to libraries
- create new class, create new method, type x.y. followed be CRTL-space:       autocompletion sees all classes from package x.y except one class (e.g. B) which is no different than all the other classes in package x.y.
- write "import x.y.B;" -> red error symbol in editor "cannot find symbol: class B"
- in project tree view also error symbol: when hoovering says "error parsing file"
- Project P2 compiles without problems (BUILD SUCCESSFUL)

Everything was fine in NetBeans v7.2.1
Comment 1 Tomas Zezula 2013-02-27 08:53:31 UTC
Works fine for me.
Please attach the test projects P1, P2.
Thanks!