question: public void testTimedInvokeAny3 ( ) throws Throwable { CountDownLatch latch = new CountDownLatch ( 1 ) ; ExecutorService e = new ForkJoinPool ( 1 ) ; PoolCleaner cleaner = null ; try { cleaner = cleaner ( e ) ; List < Callable < String > > l = new ArrayList < Callable < String > > ( ) ; l . add ( latchAwaitingStringTask ( latch ) ) ; l . add ( null ) ; try { e . invokeAny ( l , MEDIUM_DELAY_MS , MILLISECONDS ) ; shouldThrow ( ) ; } catch ( NullPointerException success ) { } latch . countDown ( ) ; } finally { if ( cleaner != null ) { cleaner . close ( ) ; } } }
target:  timed invokeAny(c) throws NullPointerException if c has null elements