8336012: Fix usages of jtreg-reserved properties

Backport-of: e6c5aa7a6cb54c647d261facdcffa6a410849627
This commit is contained in:
Amit Kumar 2024-12-04 23:38:37 +00:00 committed by Paul Hohensee
parent cb43c26600
commit 9101cc1497

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -67,8 +67,6 @@ public class PrivateInvokeTest {
String vstr = System.getProperty(THIS_CLASS.getSimpleName()+".verbose"); String vstr = System.getProperty(THIS_CLASS.getSimpleName()+".verbose");
if (vstr == null) if (vstr == null)
vstr = System.getProperty(THIS_CLASS.getName()+".verbose"); vstr = System.getProperty(THIS_CLASS.getName()+".verbose");
if (vstr == null)
vstr = System.getProperty("test.verbose");
if (vstr != null) verbose = Integer.parseInt(vstr); if (vstr != null) verbose = Integer.parseInt(vstr);
} }
private static int referenceKind(Method m) { private static int referenceKind(Method m) {