RFR: 8043306 - Provide a replacement for the API that allowed to listen for LogManager configuration changes

Stanimir Simeonoff stanimir at riflexo.com
Fri Sep 12 07:47:20 UTC 2014


Just a note, acc is going to leak the context class loader until the
listener is removed. That should be noted in the documentation.

Also if there is a runtime exception during run() of a listener it will
block any other listeners to be invoked and the exception is going to be
propagated past readConfiguration(). I suppose that's ok however the
listeners are to be invoked in a 'random' order depending on their
identityHashCode. So if there is an exception in the last registered there
is no guarantee to invoke even the 1st added listener. The entire process
is not deterministic which is not ok for listeners invocation.


More information about the core-libs-dev mailing list