Re: ClassLoader.getSystemResources returns empty enumeration (sablevm 1.1.6)
"Grzegorz B. Prokopski" <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | Debian GNU/Linux http://www.debian.org |
| Message-ID | <[email protected]> |
Hi Asutosh,
Sorry for lack of response, but apparently everybody's busy with the
beginning of the term.
W liĹcie z Ĺro, 25-08-2004, godz. 09:07, Asutosh Gopinath pisze:
> Hi,
> ClassLoader.getSystemResources("META-INF/services/" +
> "javax.sound.midi.spi.MidiDeviceProvider");
>
> Returns empty enum.
Yes, we've experienced it before. For example this bug prevents some
configurations of Jetty from working :-(
> Is there an alternative place to keep the jars or a workaround for
loading the
> services?
I am afraid not. The right "solution" is put a couple of print()s in
classloader-related methods and find out what's wrong with loading
resources.
Meanwhile, can you fill a bug report with a test case, at best?
(might be a small .jar with services part + class that attempts to
load it)
Cheers,
Grzegorz B. Prokopski
--
Grzegorz B. Prokopski <[email protected]>
Debian GNU/Linux http://www.debian.org
SableVM - LGPL'ed Java VM http://www.sablevm.org
Why SableVM ?!? http://devel.sablevm.org/wiki/Features