Re: URLLoader / RemoteURLLoader

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

 



>>>>> "Martin" == Martin Schlienger <m.schlienger@xxxxxxxxx> writes:

Martin> Well I am actually patching URLClassLoader. RemoteURLLoader
Martin> seemed to provide some connection to http protocol. When is it
Martin> exactly used?

The various Loader classes are used to handle particular URL types.
RemoteURLLoader is used for things other than file: and jar:.

Martin> Caused by: java.lang.NoClassDefFoundError: gnu/java/net/protocol/http/Headers

That class is part of Classpath.  Did you remove it as part of your
size reduction?  All the files in that package are needed for http: to
work.

Martin> Is this sci-fi to work inside URLClasseLoader to load classes
Martin> from http URL ?

Nope, it should be pretty easy.  Really you shouldn't have to modify
URLClassLoader at all.

Tom


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux