[FIX] Не загруженный java.awt.Robot.

This commit is contained in:
Zaxar163 2019-04-10 10:37:16 +03:00
parent de2e53dfc2
commit 6580ef4d73
No known key found for this signature in database
GPG key ID: 1FE4F2E1F053831B

View file

@ -55,6 +55,7 @@ public static boolean isStarted() {
* Replaces the Runtime class via instrumentation, transforms the class via ASM
*/
private static void replaceClasses(boolean pb, boolean rt) {
java.awt.Robot.class.getName();
for(Class<?> c : inst.getAllLoadedClasses()) {
if(rt && c.getName().equals("java.lang.Runtime")) {
try {