8274930: sun/tools/jps/TestJps.java can fail with long VM arguments string
Reviewed-by: sspitsyn, lmesnik
This commit is contained in:
parent
6a04899ba1
commit
bb92fb02ca
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2021, 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
|
||||
@ -106,6 +106,7 @@ public final class JpsHelper {
|
||||
private static String[] testVmArgs = {
|
||||
"-XX:+UsePerfData", "-Xmx512m", "-Xlog:gc",
|
||||
"-Dmultiline.prop=value1\nvalue2\r\nvalue3",
|
||||
"-XX:PerfMaxStringConstLength=8K", // avoid VM flags truncations for "jps -v"
|
||||
null /* lazily initialized -XX:Flags */};
|
||||
private static File manifestFile = null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user