< prev index next > src/hotspot/share/prims/wbtestmethods/parserTests.cpp
Print this page
/*
- * Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2026, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
ResourceMark rm;
DCmdParser parser;
const char* c_cmdline = java_lang_String::as_utf8_string(JNIHandles::resolve(j_cmdline));
const char c_delim = (char)(j_delim & 0xff);
- objArrayOop argumentArray = objArrayOop(JNIHandles::resolve_non_null(arguments));
- objArrayHandle argumentArray_ah(THREAD, argumentArray);
+ refArrayOop argumentArray = refArrayOop(JNIHandles::resolve_non_null(arguments));
+ refArrayHandle argumentArray_ah(THREAD, argumentArray);
int length = argumentArray_ah->length();
for (int i = 0; i < length; i++) {
oop argument_oop = argumentArray_ah->obj_at(i);
< prev index next >