mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8284105: Update security libraries to use sealed classes
Reviewed-by: darcy, weijun, xuelei
This commit is contained in:
parent
470a66840c
commit
dc6ec2a467
23 changed files with 101 additions and 89 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, 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
|
||||
|
@ -54,7 +54,7 @@ import sun.security.util.KeyStoreDelegator;
|
|||
* @since 1.2
|
||||
*/
|
||||
|
||||
public abstract class JavaKeyStore extends KeyStoreSpi {
|
||||
public abstract sealed class JavaKeyStore extends KeyStoreSpi {
|
||||
|
||||
// regular JKS
|
||||
public static final class JKS extends JavaKeyStore {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue