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 20753 - ClassElement.forName uses currentClassLoader
Summary: ClassElement.forName uses currentClassLoader
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 20053
  Show dependency tree
 
Reported: 2002-02-21 14:57 UTC by Petr Nejedly
Modified: 2007-09-26 09:14 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 Petr Nejedly 2002-02-21 14:57:01 UTC
We've agreed on not providing the IDE modules and classpath for IDE operations
on Java sources, but ClassElement.forName still uses currentClassLoader
for providing informations about otherwise unknown classes.

Stop using currentClassLoader for java hierarchy provided data.
Comment 1 Petr Nejedly 2002-02-21 15:35:16 UTC
It also slows down the lookup for unknown classes.
Comment 2 Svata Dedic 2002-03-25 14:59:53 UTC
Done in trunk,

/cvs/openide/src/org/openide/src/ClassElement.java,v  <-- 
 ClassElement.java
new revision: 1.68; previous revision: 1.67

Comment 3 Petr Nejedly 2002-03-26 07:55:56 UTC
verified
Comment 4 Damian Frach 2002-03-26 13:29:52 UTC
*** Issue 20053 has been marked as a duplicate of this issue. ***
Comment 5 Damian Frach 2002-03-26 13:30:52 UTC
the duplicated bug is P2
Comment 6 Quality Engineering 2003-07-01 16:30:21 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2007-09-20 11:58:53 UTC
Reorganization of java component