OpenJDK / jdk / jdk
changeset 54954:6ec71a88b68e
8183273: Clarify Instrumentation interface should not be implemented outside java.instrument module
Summary: Add a note with a clarification
Reviewed-by: alanb, dholmes, jcbeyler
author | sspitsyn |
---|---|
date | Tue, 21 May 2019 00:52:04 -0700 |
parents | 566fbca8a890 |
children | 46409371a691 |
files | src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java Mon May 20 18:18:42 2019 -0700 +++ b/src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java Tue May 21 00:52:04 2019 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2019, 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 @@ -65,6 +65,9 @@ * <p> * Once an agent acquires an <code>Instrumentation</code> instance, * the agent may call methods on the instance at any time. + * <p> + * @apiNote This interface is not intended to be implemented outside of + * the java.instrument module. * * @since 1.5 */