maven: remove dependency on ReflectionUtil (IDEA-175595)

Use equivalent method from ReflectionUtilRt instead.
This commit is contained in:
nik
2018-08-14 09:48:28 +03:00
parent 0a5becd0ca
commit bfa8a515cc
@@ -15,7 +15,7 @@
*/
package org.jetbrains.idea.maven.server;
import com.intellij.util.ReflectionUtil;
import com.intellij.util.ReflectionUtilRt;
import java.rmi.RemoteException;
import java.util.Collections;
@@ -63,6 +63,6 @@ public class MavenLeakDetector {
// we can ignore this one
return Collections.emptyMap();
}
return ReflectionUtil.getStaticFieldValue(clazz, Map.class, "hooks");
return ReflectionUtilRt.getField(clazz, null, Map.class, "hooks");
}
}