On Mon, 23 Jan 2023 14:40:50 GMT, Per Minborg <pminb...@openjdk.org> wrote:
> This PR proposes declaring some internal classes in java.io as `final`, > explicitly indicating that they are not intended for sub-classing. > > If you think declaring classes final is just "static noice", please see > http://minborgsjavapot.blogspot.com/2021/12/why-general-inheritance-is-flawed-and.html > first and then come back and comment on the issue. This pull request has now been integrated. Changeset: d1173508 Author: Per Minborg <pminb...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/d11735087507a17204bd81ae565409a3b7e881ae Stats: 15 lines in 5 files changed: 1 ins; 3 del; 11 mod 8300866: Declare some classes final in java.io Reviewed-by: alanb ------------- PR: https://git.openjdk.org/jdk/pull/12141