< prev index next >
test/java/io/Serializable/corruptedUTFConsumption/CorruptedUTFConsumption.java
Print this page
*** 26,35 ****
--- 26,36 ----
* @summary Although technically the behavior of ObjectInputStream following a
* UTFDataFormatException is unspecified, verify that
* ObjectInputStream consumes at most the expected number of utf
* bytes, even if the last byte(s) of the utf string indicate that the
* string overflows its expected length.
+ * @key randomness
*/
import java.io.*;
import java.util.Random;
< prev index next >