public void testTimedInvokeAny2() throws Throwable {
  ExecutorService e=new ForkJoinPool(1);
  PoolCleaner cleaner=null;
  try {
    cleaner=cleaner(e);
    try {
      e.invokeAny(new ArrayList<Callable<String>>(),MEDIUM_DELAY_MS,MILLISECONDS);
      shouldThrow();
    }
 catch (    IllegalArgumentException success) {
    }
  }
  finally {
    if (cleaner != null) {
      cleaner.close();
    }
  }
}

public void testTimedInvokeAny2 ( ) throws Throwable { ExecutorService e = new ForkJoinPool ( 1 ) ; PoolCleaner cleaner = null ; try { cleaner = cleaner ( e ) ; try { e . invokeAny ( new ArrayList < Callable < String > > ( ) , MEDIUM_DELAY_MS , MILLISECONDS ) ; shouldThrow ( ) ; } catch ( IllegalArgumentException success ) { } } finally { if ( cleaner != null ) { cleaner . close ( ) ; } } }
timed invokeany ( empty collection ) throws illegalargumentexception
