mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8344943: Mark not subclassable classes final in java.base exported classes
Reviewed-by: weijun, liach, djelinski
This commit is contained in:
parent
76f792b552
commit
8e8f800071
22 changed files with 44 additions and 47 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2025, 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
|
||||
|
@ -81,7 +81,7 @@ import java.util.Map;
|
|||
* @since 1.4
|
||||
*/
|
||||
|
||||
public class CoderResult {
|
||||
public final class CoderResult {
|
||||
|
||||
private static final int CR_UNDERFLOW = 0;
|
||||
private static final int CR_OVERFLOW = 1;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2025, 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
|
||||
|
@ -40,7 +40,7 @@ package java.nio.charset;
|
|||
* @since 1.4
|
||||
*/
|
||||
|
||||
public class CodingErrorAction {
|
||||
public final class CodingErrorAction {
|
||||
|
||||
private String name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue