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.
Recreate: Create a "Java Application" project, add a folder containing a jar file to the "Libraries" node. If I add a jar file directly instead of a folder to the Libraries node, I can browse its contents every time. With the folder I can't always do this. It's very inconsistent. I thought that maybe with the folder that not having the option to browse files was standard behavior but I noticed that sometimes I can. Sometimes there will be a jar I can browse, and then I will paste a copy of that same jar file into that directory and I won't be able to browse that newly pasted one.
The folder containing jar files is not equivalent of list of jar files in the folder. In fact it's an invalid classpath root. For example: ClassPath: lib/a.jar:lib/b.jar is a valid classpath with roots: jar:file:/lib/a.jar!/ and jar:file:lib/b.jar!/. The ClasPath lib has only root file:/lib/ neither a.jar nor b.jar are on it.
Sorry, I've misunderstood the issues. The issues is not about the fact that the jars in lib/ folder are not on classpath but about the fact that you cannot see the jars content. This is a valid issue.
Fixed jet-main 8fed6ea78f29
Integrated into 'main-silver', will be available in build *201507140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8fed6ea78f29 User: Tomas Zezula <tzezula@netbeans.org> Log: #250681:Can't browse jar file(s) in a folder under the Libraries node