Builds and runs.

This commit is contained in:
toxuin
2017-11-13 17:32:30 +03:00
committed by Haarolean
parent f034cef465
commit 396351771c
7 changed files with 53 additions and 18 deletions

View File

@@ -28,9 +28,7 @@ public class ReflectionUtil {
modifiersField.setInt(f, f.getModifiers() & ~Modifier.FINAL);
f.set(o, newValue);
} catch (NoSuchFieldException ex) {
System.out.println("*** " + c.getName() + ":" + ex);
} catch (IllegalAccessException ex) {
} catch (NoSuchFieldException | IllegalAccessException ex) {
System.out.println("*** " + c.getName() + ":" + ex);
}
}