Hi, The correct way to report a bug would be to send an e-mail to the James mailing list: server-dev@james.apache.org or, if you're confident that it is a bug, add it to JIRA directly: http://issues.apache.org/jira/browse/MIME4J
Anyhow, thanks for letting us know about this problem. It's been fixed in trunk. /Niklas Rickard Ekeroth wrote: > > Hello Niklas! > > I don't know if this is the correct way to report what I think is a > bug in Mime4J version 0.3... > > I think that the code in the static initializer of the class > 'TempStorage' is not correct when trying to find a custom class to load: > > static { > String clazz = > System.getProperty("org.apache.james.mime4j.tempStorage"); > try { > if (inst != null) { > inst = (TempStorage) Class.forName(clazz).newInstance(); > } > } catch (Throwable t) { > log.warn("Unable to create or instantiate TempStorage class > '" + clazz + "' using SimpleTempStorage instead", > t); > } > > if (inst == null) { > inst = new SimpleTempStorage(); } > } > > Surely the code should check for the 'clazz' to be not null and not > 'inst' to determine if it should try to load the custom temp storage > class. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]