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 32298 - Type.toClass() uses strange ClassLoader
Summary: Type.toClass() uses strange ClassLoader
Status: VERIFIED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 14:34 UTC by pzajac
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 pzajac 2003-03-25 14:34:09 UTC
Javadoc of oerg.openide.src.Type.toClass() tells:

Attempt to get the real class corresponding to
this type.

I tried call Type.toClass() to class In
Repository. It thrown ClassNotFoundException. I
think that this method is usefull only for classes
in Repository. 
It thrown exception when I tried :
toClass(Lookup.look(ClassLoader.class))
Comment 1 Jan Becicka 2003-03-25 15:18:12 UTC
Java hierarchy API is designed to work with repository, isn't it? Not
sure if this is a bug...Svato?
Comment 2 pzajac 2003-04-22 17:00:32 UTC
If java hiarchy is not designed to work with repository why exists:-)
 org.openide.src.Type.toClass()

Comment 3 Jan Becicka 2003-04-22 17:58:01 UTC
I wrote Java hierarchy API "IS" designed to work with repository. I
meant: is designed to work with files mounted in repository. Not with
all classes loaded in JVM ;o)
Comment 4 Jan Becicka 2004-07-22 10:58:15 UTC
This issue is no more valid in new build system
Comment 5 pzajac 2004-08-09 15:18:55 UTC
v
Comment 6 Quality Engineering 2007-09-20 10:08:16 UTC
Reorganization of java component