public void testConstructor5(){
  try {
    Integer[] ints=new Integer[SIZE];
    for (int i=0; i < SIZE - 1; ++i)     ints[i]=new Integer(i);
    LinkedBlockingQueue q=new LinkedBlockingQueue(Arrays.asList(ints));
    shouldThrow();
  }
 catch (  NullPointerException success) {
  }
}

public void testConstructor5 ( ) { try { Integer [ ] ints = new Integer [ SIZE ] ; for ( int i = 0 ; i < SIZE - 1 ; ++ i ) ints [ i ] = new Integer ( i ) ; LinkedBlockingQueue q = new LinkedBlockingQueue ( Arrays . asList ( ints ) ) ; shouldThrow ( ) ; } catch ( NullPointerException success ) { } }
initializing from collection with some null elements throws npe
