From e4f76c7df6b05475e68d464376e43b6977e1a38d Mon Sep 17 00:00:00 2001 From: domgarguilo Date: Thu, 9 Sep 2021 15:56:16 -0400 Subject: [PATCH] replace use of deprecated newInstance() --- src/main/java/org/apache/accumulo/testing/scalability/Run.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/accumulo/testing/scalability/Run.java b/src/main/java/org/apache/accumulo/testing/scalability/Run.java index f8d84790..9284d188 100644 --- a/src/main/java/org/apache/accumulo/testing/scalability/Run.java +++ b/src/main/java/org/apache/accumulo/testing/scalability/Run.java @@ -80,7 +80,7 @@ public static void main(String[] args) throws Exception { ScaleTest test = (ScaleTest) Class .forName(String.format("org.apache.accumulo.test.scalability.%s", opts.testId)) - .newInstance(); + .getDeclaredConstructor().newInstance(); test.init(scaleProps, testProps, opts.numTabletServers);