13 |
|
import java.io.ObjectOutputStream; |
14 |
|
import java.util.ArrayList; |
15 |
|
import java.util.Arrays; |
16 |
– |
import java.util.ConcurrentModificationException; |
16 |
|
import java.util.Iterator; |
17 |
|
import java.util.List; |
18 |
|
import java.util.NoSuchElementException; |
886 |
|
LinkedTransferQueue q = new LinkedTransferQueue(); |
887 |
|
q.transfer(null); |
888 |
|
shouldThrow(); |
889 |
< |
} catch (NullPointerException ex) { |
891 |
< |
} |
889 |
> |
} catch (NullPointerException success) {} |
890 |
|
} |
891 |
|
|
892 |
|
/** |
993 |
|
final LinkedTransferQueue q = new LinkedTransferQueue(); |
994 |
|
q.tryTransfer(null); |
995 |
|
shouldThrow(); |
996 |
< |
} catch (NullPointerException ex) { |
999 |
< |
} |
996 |
> |
} catch (NullPointerException success) {} |
997 |
|
} |
998 |
|
|
999 |
|
/** |