On Thu, 15 Dec 2022 17:12:33 GMT, Naoto Sato <na...@openjdk.org> wrote:

>> `Console` class now has a couple of internal subclasses within `java.io` 
>> package. It should be `sealed` and subclasses be declared in the `permits` 
>> clause. The implementation resided in `Console` class is separated into 
>> `ConsoleImpl` class.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   newUnsupportedOperationException(), cosmetic changes to method descs

src/java.base/share/classes/java/io/Console.java line 95:

> 93:  * @author  Xueming Shen
> 94:  * @since   1.6
> 95:  * @sealedGraph

I'm not sure about sealedGraph because the there is nothing for user code to 
matching on.

-------------

PR: https://git.openjdk.org/jdk/pull/11615

Reply via email to