Projects
openEuler:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:0015-6605915-jinfo-flag-flag-n...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0015-6605915-jinfo-flag-flag-name-functionality-doesn-t-w.patch of Package openjdk-1.8.0
Date: Tue, 6 Jun 2023 02:06:23 +0000 Subject: [PATCH 15/59] 6605915: jinfo -flag <flag name> functionality doesn't work with core files Bug url: https://bugs.openjdk.org/browse/JDK-6605915 --- jdk/src/share/classes/sun/tools/jinfo/JInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jdk/src/share/classes/sun/tools/jinfo/JInfo.java b/jdk/src/share/classes/sun/tools/jinfo/JInfo.java index 7c817ba86..d5adc3537 100644 --- a/jdk/src/share/classes/sun/tools/jinfo/JInfo.java +++ b/jdk/src/share/classes/sun/tools/jinfo/JInfo.java @@ -196,15 +196,17 @@ public class JInfo { if (usageSA) { System.err.println(" jinfo [option] <pid>"); System.err.println(" (to connect to running process)"); - System.err.println(" jinfo [option] <executable <core>"); + System.err.println(" jinfo [option] <executable> <core>"); System.err.println(" (to connect to a core file)"); System.err.println(" jinfo [option] [server_id@]<remote server IP or hostname>"); System.err.println(" (to connect to remote debug server)"); System.err.println(""); System.err.println("where <option> is one of:"); + System.err.println(" for running processes:"); System.err.println(" -flag <name> to print the value of the named VM flag"); System.err.println(" -flag [+|-]<name> to enable or disable the named VM flag"); System.err.println(" -flag <name>=<value> to set the named VM flag to the given value"); + System.err.println(" for running processes and core files:"); System.err.println(" -flags to print VM flags"); System.err.println(" -sysprops to print Java system properties"); System.err.println(" <no option> to print both of the above"); -- 2.22.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2