src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/hpack/StringReader.java
changeset 48083 b1c1b4ef4be2
parent 47216 71c04702a3d5
child 56088 38fac6d0521d
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/hpack/StringReader.java	Fri Nov 03 10:01:08 2017 -0700
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/hpack/StringReader.java	Wed Dec 06 11:11:59 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
  */
 package jdk.incubator.http.internal.hpack;
 
+import java.io.IOException;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
 
@@ -51,7 +52,7 @@
     private boolean huffman;
     private int remainingLength;
 
-    boolean read(ByteBuffer input, Appendable output) {
+    boolean read(ByteBuffer input, Appendable output) throws IOException {
         if (state == DONE) {
             return true;
         }