# HG changeset patch # User rschmelter # Date 1561621864 25200 # Node ID f3b62797e2d00c62189d3cd557f5417adb7e8b49 # Parent 4c52949a348766670ea1788aee036166359f50b6 8226608: Hide the onjcmd option from the help output Reviewed-by: sspitsyn, clanger diff -r 4c52949a3487 -r f3b62797e2d0 src/hotspot/share/services/diagnosticCommand.cpp --- a/src/hotspot/share/services/diagnosticCommand.cpp Thu Jun 27 03:13:54 2019 +0200 +++ b/src/hotspot/share/services/diagnosticCommand.cpp Thu Jun 27 00:51:04 2019 -0700 @@ -129,7 +129,7 @@ // Debug on cmd (only makes sense with JVMTI since the agentlib needs it). #if INCLUDE_JVMTI - DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(full_export, true, false)); + DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(full_export, true, true)); #endif // INCLUDE_JVMTI } diff -r 4c52949a3487 -r f3b62797e2d0 src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c --- a/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c Thu Jun 27 03:13:54 2019 +0200 +++ b/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c Thu Jun 27 00:51:04 2019 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -873,7 +873,6 @@ "launch= run debugger on event none\n" "onthrow= debug on throw none\n" "onuncaught=y|n debug on any uncaught? n\n" - "onjcmd=y|n start debug via jcmd? n\n" "timeout= for listen/attach in milliseconds n\n" "mutf8=y|n output modified utf-8 n\n" "quiet=y|n control over terminal messages n\n"));