src/java.base/share/classes/java/io/Console.java
changeset 52427 3c6aa484536c
parent 49924 84d0fe3cefd4
child 53018 8bf9268df0e2
equal deleted inserted replaced
52426:38bf0c9c4e64 52427:3c6aa484536c
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    25 
    25 
    26 package java.io;
    26 package java.io;
    27 
    27 
    28 import java.util.*;
    28 import java.util.*;
    29 import java.nio.charset.Charset;
    29 import java.nio.charset.Charset;
    30 import jdk.internal.misc.JavaIOAccess;
    30 import jdk.internal.access.JavaIOAccess;
    31 import jdk.internal.misc.SharedSecrets;
    31 import jdk.internal.access.SharedSecrets;
    32 import sun.nio.cs.StreamDecoder;
    32 import sun.nio.cs.StreamDecoder;
    33 import sun.nio.cs.StreamEncoder;
    33 import sun.nio.cs.StreamEncoder;
    34 
    34 
    35 /**
    35 /**
    36  * Methods to access the character-based console device, if any, associated
    36  * Methods to access the character-based console device, if any, associated