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 27683 - Do not use FileSystemCapability in NbClassLoader
Summary: Do not use FileSystemCapability in NbClassLoader
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 27651 28085
  Show dependency tree
 
Reported: 2002-09-30 13:14 UTC by Peter Zavadsky
Modified: 2008-12-22 21:54 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2002-09-30 13:14:47 UTC
It is used in default constructor.

Problem is whether just to remove the use of this
or any other measures are necessary.
Comment 1 Peter Zavadsky 2002-09-30 17:17:14 UTC
NbClassLoader in turn affects:
org/openide/execution/ExecutorClassLoader
                      ThreadExecutor
            loaders/InstanceSupport

org/netbeans/core/ClassLoaderSupport
Comment 2 Jesse Glick 2002-10-18 16:15:16 UTC
We could permit NbClassLoader to accept a FileObject[] roots
parameter, which a client could get from the Classpath API. Deprecated
all other constructors. If there are actual clients of this class in
openide, though, they will not be able to use the Classpath API, so
this is a dilemma.

We could just deprecate the whole class, provide a fixed replacement
in the Classpath API, and try not to use it from openide at all.
InstanceSupport should IMHO be gotten rid of anyway.
ClassLoaderSupport is gone. Not sure about ThreadExecutor - could
deprecate execute(ExecInfo) and createClassLoader() in favor of
execute(Class), maybe.
Comment 3 Marian Mirilovic 2003-03-13 13:42:18 UTC
Changed owner David S. -> David K.
Comment 4 Marian Mirilovic 2004-01-14 15:24:13 UTC
changing owner dkonecny -> pnejedly
Comment 5 Jesse Glick 2004-03-16 17:27:12 UTC
Fixed in trunk.
Comment 6 Marian Mirilovic 2005-12-20 15:47:14 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.