You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/08/01 00:32:33 UTC

DO NOT REPLY [Bug 45485] Agent.java is sole dependency on jmxtools.jar with Java 5+

https://issues.apache.org/bugzilla/show_bug.cgi?id=45485





--- Comment #3 from Paul Smith <ps...@apache.org>  2008-07-31 15:32:33 PST ---
While I like the idea of removing the compile time dependency to those evil Sun
jars, I'm not so sure swallowing an exception is such a good idea, from a
stylistic point I think wrapping that exception and throwing an
IllegalStateException would be better.

Lets face it, if the Exception does happen, the use probably wants to know
about it (yes there's logging, but is continuing in the face of error a good
idea here?)

Still, that removal of the Sun jar dependency is tempting! :)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org