sdedic opened a new pull request, #7741: URL: https://github.com/apache/netbeans/pull/7741
During bug hunting in NBLS, I run into a very funny situation where the logging of NBLS suddenly stopped. It eventually resumed after a looooong time, but only sometimes. I debugged into it and found out that some Google commons class was missing which was not used at runtime at all - except to print out JSON-RPC message from NBLS. If that happened, the message formatting failed with an `Error` (rather than `Exception` that is handled in `java.util.logging.Formatter.formatMessage. This led to death of the log publishing thread. The thread eventually resumed when the buffer was full - but dies again on another 'unformattable' message. This PR adds additional wrapper that catches everything except `ThreadDeath` and prevents the logging thread from dying. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
