diff --git a/src/main/java/net/jodah/typetools/TypeResolver.java b/src/main/java/net/jodah/typetools/TypeResolver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/jodah/typetools/TypeResolver.java
+++ b/src/main/java/net/jodah/typetools/TypeResolver.java
@@ -109,7 +109,7 @@ public final class TypeResolver {
           accessSetter = new AccessMaker() {
             @Override
             public void makeAccessible(AccessibleObject object) throws Throwable {
-              overrideSetter.invoke(new Object[] {object, true});
+              overrideSetter.invokeWithArguments(new Object[] {object, true});
             }
         };
       }
use invokeWithArguments instead of invoke to support Java <I>

Java <I> changed the way the JVM handles varargs internally, meaning that
new Object[] {...} can't be used as a substitute for varargs on Java 6
source level anymore. However, invokeWithArguments explicitly wants an
Object[], so it still works.