[trivial] making a part of the test framework code not warn on default JDK11+ linter settings.

This commit is contained in:
Reinier Zwitserloot committed 2019-04-24 14:05:12 +02:00
1 parent 532c28ea62
commit b94b75c9eb
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ public class DirectoryRunner extends Runner {
public DirectoryRunner(Class<?> testClass) throws Exception {
description = Description.createSuiteDescription(testClass);
this.params = (TestParams) testClass.newInstance();
this.params = (TestParams) testClass.getConstructor().newInstance();
Throwable error = null;
try {