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 191131 - Netbinox does not load classes from external JARs
Summary: Netbinox does not load classes from external JARs
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 12:13 UTC by Tomas Pavek
Modified: 2010-10-21 09:00 UTC (History)
2 users (show)

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 Tomas Pavek 2010-10-19 12:13:47 UTC
If a bundle has its classes in a separate (external) JAR, they are not found when requested from another bundle depending on it. The packages from the external JAR are missing in the packages map of ProxyClassLoader which then refuses to find them (i.e. when using NB module classloader).
Comment 1 Jaroslav Tulach 2010-10-19 12:29:40 UTC
Fixed in #2a7256f25cb2
Merged to release692 branch as 4137bbfbca99
Tested in http://source.apidesign.org/hg/netbinox/rev/ca871fa883ce
Comment 2 Jesse Glick 2010-10-19 15:01:24 UTC
Backed out in core-main #fb5c6b600c9f since it causes test failures (both on deadlock and for me locally).
Comment 3 Marian Mirilovic 2010-10-20 08:56:16 UTC
(In reply to comment #1)
> Fixed in #2a7256f25cb2
> Merged to release692 branch as 4137bbfbca99
> Tested in http://source.apidesign.org/hg/netbinox/rev/ca871fa883ce

Jarda, who approved this commit ? We are after CF for release692 and we are supposed to have final build today.

BTW: even worse with failing tests and back-out in core-main ;(
Comment 4 Jaroslav Tulach 2010-10-20 10:50:19 UTC
(In reply to comment #3)
> Jarda, who approved this commit ? 

Formally? Very likely nobody. Informally? Petr Suchomel.

> We are after CF for release692 and we are
> supposed to have final build today.

This is not what I heard by Petr yesterday. According to that information I have time till Thursday to integrate my changes (and I am working on next one - bug 191170)
Comment 5 Jaroslav Tulach 2010-10-20 12:31:53 UTC
The test in release692 has been fixed as part of 071aeefc4126 merge.
Comment 6 Marian Mirilovic 2010-10-21 09:00:52 UTC
Jarda, 
could you please help us with verification of this issue in NB 6.9.1 + patch 2 ? Thanks in advance.