Skip to content

Commit 4b16f8a

Browse files
committed
8253872: ArgumentHandler must use the same delimiters as in jvmti_tools.cpp
Reviewed-by: cjplummer
1 parent 4fb8c77 commit 4b16f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/ArgumentHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -154,7 +154,7 @@ protected void parseOptionString(String optionString) {
154154
if (optionString == null)
155155
return;
156156

157-
StringTokenizer st = new StringTokenizer(optionString);
157+
StringTokenizer st = new StringTokenizer(optionString, " ,~");
158158
while (st.hasMoreTokens()) {
159159
String token = st.nextToken();
160160
int start = token.startsWith("-")? 1 : 0;

0 commit comments

Comments
 (0)