Hello,

I want to load class-files with the
ClassLoader.getResourceAsStream( String )-methode.

i.e. xxx.getResourceAsStream( "package/myClass.class" );

It's works fine on files without a ".class"-postfix.
But files with this prefix are not opened
(the methode reports null).
If i copy the same file to the same directory, but
without the postfix, the stream is returned as expected.

Any hints ?

Bernd Wengenroth


-- 
--------------------------------------------------------
 Bernd Wengenroth
 IoS Gesellschaft für innovative Softwareentwicklung mbH

 Donatusstraße 127-129     WWW: http://www.IoS-online.de
 50259 Pulheim             email: [EMAIL PROTECTED]
 Tel: 02234 / 986434       Fax: 02234 / 986433

Reply via email to