<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi:<br> Looking at ContextBase.java in master branch, in line 65, executorService is instantiated by <br><pre><b>ThreadPoolExecutor</b>(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html" title="enum in java.util.concurrent">TimeUnit</a> unit,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/BlockingQueue.html" title="interface in java.util.concurrent">BlockingQueue</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html" title="interface in java.lang">Runnable</a>> workQueue)</pre>Would it be simple to replace this line 42 and line 45 with <br><font style="" color="#008A17">ExecutorService executorService = Executors.newSingleThreadExecutor();<br><br><font style="" color="#000000">I tested above codes successfully with scan_LOGBACK_474( ) in Reconfigure</font><font style="" color="#000000">OnChangeTest.java with Jdk 1.7_06 , </font><br></font><br> // CORE_POOL_SIZE must be 1 for JDK 1.5. For JD 1.6 or higher it's set to 0<br> // so that there are no idle threads<br> <font style="" color="#8C0095"> private static final int CORE_POOL_SIZE = EnvUtil.isJDK5() ? 1 : 0;</font><br><br>// 0 (JDK 1,6+) or 1 (JDK 1.5) idle threads, 2 maximum threads, no idle waiting<br> <font style="" color="#8C0095">ExecutorService executorService = new ThreadPoolExecutor(CORE_POOL_SIZE, 2,</font><font style="" color="#8C0095"><br></font><font style="" color="#8C0095"> 0L, TimeUnit.MILLISECONDS,</font><font style="" color="#8C0095"><br></font><font style="" color="#8C0095"> new LinkedBlockingQueue<Runnable>());</font><br><br><br><br><font style="color: rgb(153, 51, 0); font-weight: bold; font-size: 12pt;" size="3"><span style="font-family:Tahoma,Helvetica,Sans-Serif;"><font style="font-size:10pt;" size="2">Ming Qin<br><br>Cell Phone Number: <font style="font-size:10pt;" size="2">949-388-9898</font></font></span></font><font style="font-weight: bold; color: rgb(153, 51, 0); font-size: 12pt;" size="3"><span style="font-family:Tahoma,Helvetica,Sans-Serif;"><br></span></font><br> </div></body>
</html>