8283772: Make sun.net.dns.ResolverConfiguration sealed

Reviewed-by: jpai, dfuchs
This commit is contained in:
Aleksei Efimov 2022-03-29 17:06:20 +00:00
parent 5359387220
commit 9591306760
3 changed files with 6 additions and 6 deletions

View file

@ -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();