Is there a way to make an ExecutorService work recursively?
<p>I made the following mistake:</p>

<ol>
<li>Called <code>Executors.newFixedThreadThreadPool</code> to make a pool</li>
<li>Set up a list of <code>Callable</code> objects, such that the <code>call</code> method in turn tried to start a task on the <em>very same thread pool</em></li>
<li>dump them into the queue with <code>invokeAll</code></li>
</ol>

<p>The results were a deadlock on the queue of the executor service.</p>

<p>The Javadoc I've read doesn't appear to prohibit this set of activities. Did I miss something? Is there some way to customize the queue or the service so that this could work?</p>
