commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9466] java.net.URL.getURLStreamHandler uses wrong classloader


From: David Holmes
Subject: [bugs #9466] java.net.URL.getURLStreamHandler uses wrong classloader
Date: Sat, 26 Jun 2004 14:53:39 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322)

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #9466] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9466>
Project: classpath
Submitted by: David Holmes
On: Sat 06/26/2004 at 18:51

Severity:  5 - Average
Resolution:  None
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  java.net.URL.getURLStreamHandler uses wrong classloader

Original Submission:  The java.net.URL.getURLStreamHandler method tries to loan 
a potentially application-defined class using Class.forName(clsName). This will 
fail unless the specified class can be loaded by the bootstrap loader.

The correct behaviour would be to use the context class loader to load the 
class. At a minimum the system/application class loader must be used.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9466>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]