This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
java.net.URL question
- From: Michael Koch <konqueror at gmx dot de>
- To: java at gcc dot gnu dot org
- Date: Sat, 27 Sep 2003 14:49:14 +0200
- Subject: java.net.URL question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello list,
I'm currently trying to merge java.net.URL with classpath.
Unfortunately both use little different strategies when caching
URLStreamHandlers. libgcj caches the handlers themself and directly
return them on request. Classpath stores Class objects of the
handlers into its cache and creates a new instance when a handler for
a cached protocol is requested.
What is the prefered way to handle this ? I search through SUNs
documention and other webpages but couldnt find anything.
Any comments ?
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/dYdKWSOgCCdjSDsRApcQAJ4uiHoB+5ImMq1RwOo7Ww7gQdNBRgCgl/WX
lEhLfNDm0KkseM36/IXewB0=
=VpEY
-----END PGP SIGNATURE-----