mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8250583: Address reliance on default constructors in java.management
Reviewed-by: alanb
This commit is contained in:
parent
5a365e8627
commit
dfd3080c05
7 changed files with 42 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2020, 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
|
||||
|
@ -50,6 +50,11 @@ import javax.management.loading.ClassLoaderRepository;
|
|||
*/
|
||||
@Deprecated
|
||||
public class DefaultLoaderRepository {
|
||||
/**
|
||||
* Constructs an {@code DefaultLoaderRepository}.
|
||||
*/
|
||||
public DefaultLoaderRepository() {}
|
||||
|
||||
/**
|
||||
* Go through the list of class loaders and try to load the requested class.
|
||||
* The method will stop as soon as the class is found. If the class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue