226227228229230231232233234235236
* @tests DeflaterInputStream#reset() */ public void testReset() throws IOException { DeflaterInputStream dis = new DeflaterInputStream(is); try { dis.reset(); fail("should throw IOException"); } catch (IOException e) { // expected } dis.close();
233234235236237238239240241242243
} catch (IOException e) { // expected } dis.close(); try { dis.reset(); fail("should throw IOException"); } catch (IOException e) { // expected } }
225226227228229230231232233234235
232233234235236237238239240241242