aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/core/src/lombok/DirectoryRunner.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/src/lombok/DirectoryRunner.java b/test/core/src/lombok/DirectoryRunner.java
index ea15cdb9..9410b4c7 100644
--- a/test/core/src/lombok/DirectoryRunner.java
+++ b/test/core/src/lombok/DirectoryRunner.java
@@ -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 {