mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8283772: Make sun.net.dns.ResolverConfiguration sealed
Reviewed-by: jpai, dfuchs
This commit is contained in:
parent
5359387220
commit
9591306760
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 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
|
||||
|
@ -37,7 +37,7 @@ import java.util.List;
|
|||
* @since 1.4
|
||||
*/
|
||||
|
||||
public abstract class ResolverConfiguration {
|
||||
public sealed abstract class ResolverConfiguration permits ResolverConfigurationImpl {
|
||||
|
||||
private static final Object lock = new Object();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue