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

Summary: ClassElement.forName uses currentClassLoader
Product: java Reporter: Petr Nejedly <pnejedly>
Component: UnsupportedAssignee: Svata Dedic <sdedic>
Status: CLOSED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P2    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 20053    

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