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.
Trying to reuse any <default-package> class from imported jar will cause to compilation error: "cannot find symbol". Steps to reproduce: 1) Create Java application project 2) Add jar to imported libraries, the jar should contain <default-package> classes 3) Declare a variable whose type is any of <default-package> classes 4) Try to build project "Cannot find symbol" error will occur.
Created attachment 40473 [details] Netbeans project which helps to reproduce the issue
According to the Java Language Specification (paragraph 7.4.2 and 7.5.*) you are not allowed to use types declared in the default (unnamed) package in named package.