8253872: ArgumentHandler must use the same delimiters as in jvmti_tools.cpp
Reviewed-by: cjplummer
This commit is contained in:
parent
4fb8c77696
commit
4b16f8ab94
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2020, 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
|
||||
@ -154,7 +154,7 @@ public class ArgumentHandler extends ArgumentParser {
|
||||
if (optionString == null)
|
||||
return;
|
||||
|
||||
StringTokenizer st = new StringTokenizer(optionString);
|
||||
StringTokenizer st = new StringTokenizer(optionString, " ,~");
|
||||
while (st.hasMoreTokens()) {
|
||||
String token = st.nextToken();
|
||||
int start = token.startsWith("-")? 1 : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user