8183273: Clarify Instrumentation interface should not be implemented outside java.instrument module

Add a note with a clarification

Reviewed-by: alanb, dholmes, jcbeyler
This commit is contained in:
Serguei Spitsyn 2019-05-21 00:52:04 -07:00
parent 049532b2d3
commit a165ef39c6

View File

@ -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 @@ import java.util.jar.JarFile;
* <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
*/