< prev index next >

src/java.base/share/classes/java/io/Console.java

Print this page

        

@@ -454,11 +454,11 @@
         public boolean ready() throws IOException {
             //in.ready synchronizes on readLock already
             return in.ready();
         }
 
-        public int read(char cbuf[], int offset, int length)
+        public int read(char[] cbuf, int offset, int length)
             throws IOException
         {
             int off = offset;
             int end = offset + length;
             if (offset < 0 || offset > cbuf.length || length < 0 ||
< prev index next >