8183273: Clarify Instrumentation interface should not be implemented outside java.instrument module
authorsspitsyn
Tue, 21 May 2019 00:52:04 -0700
changeset 54954 6ec71a88b68e
parent 54953 566fbca8a890
child 54955 46409371a691
8183273: Clarify Instrumentation interface should not be implemented outside java.instrument module Summary: Add a note with a clarification Reviewed-by: alanb, dholmes, jcbeyler
src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java
--- 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
  */