182 |
|
() -> c.iterator().forEachRemaining(null), |
183 |
|
() -> c.spliterator().forEachRemaining(null), |
184 |
|
() -> c.spliterator().tryAdvance(null), |
185 |
< |
() -> c.toArray(null)); |
185 |
> |
() -> c.toArray((Object[])null)); |
186 |
|
|
187 |
|
if (!impl.permitsNulls()) { |
188 |
|
assertThrows( |
952 |
|
} catch (java.io.NotSerializableException acceptable) {} |
953 |
|
} |
954 |
|
|
955 |
< |
public void DISABLED_testReplaceAllIsNotStructuralModification() { |
955 |
> |
public void testReplaceAllIsNotStructuralModification() { |
956 |
|
Collection c = impl.emptyCollection(); |
957 |
|
if (!(c instanceof List)) |
958 |
|
return; |