RFR(xs): 8165636: add removal text to Runtime.traceInstructions/MethodCalls deprecation text
Mandy Chung
mandy.chung at oracle.com
Wed Sep 7 21:36:28 UTC 2016
+1
Mandy
> On Sep 7, 2016, at 2:28 PM, Stuart Marks <stuart.marks at oracle.com> wrote:
>
> Hi all,
>
> Please review this very small patch to add a bit of boilerplate text to the @deprecated text for Runtime.traceInstructions() and Runtime.traceMethodCalls() specifications.
>
> Thanks,
>
> s'marks
>
> # HG changeset patch
> # User smarks
> # Date 1473283632 25200
> # Wed Sep 07 14:27:12 2016 -0700
> # Node ID cbcdb97e8c53d4c3a88bb61ac7bf61e7287a99de
> # Parent 76ba1b74f268f1acc4847e242a2cfcd29880418c
> 8165636: add removal text to Runtime.traceInstructions/MethodCalls deprecation text
> Reviewed-by: XXX
>
> diff -r 76ba1b74f268 -r cbcdb97e8c53 src/java.base/share/classes/java/lang/Runtime.java
> --- a/src/java.base/share/classes/java/lang/Runtime.java Tue Sep 06 16:08:54 2016 -0700
> +++ b/src/java.base/share/classes/java/lang/Runtime.java Wed Sep 07 14:27:12 2016 -0700
> @@ -733,6 +733,7 @@
> * @deprecated
> * This method was intended to control instruction tracing.
> * It has been superseded by JVM-specific tracing mechanisms.
> + * This method is subject to removal in a future version of Java SE.
> *
> * @param on ignored
> */
> @@ -745,6 +746,7 @@
> * @deprecated
> * This method was intended to control method call tracing.
> * It has been superseded by JVM-specific tracing mechanisms.
> + * This method is subject to removal in a future version of Java SE.
> *
> * @param on ignored
> */
More information about the core-libs-dev
mailing list