Skip to content

Commit 72fabcd

Browse files
authored
Skip reflection library load to support newer java versions (#3)
1 parent 025e51d commit 72fabcd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

client/src/Class348_Sub6.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ static final boolean method2769(Class var_class, byte i, String string) {
3636
if (i != 20) anInt6633 = -118;
3737
if (file != null) {
3838
try {
39-
file = new File(file.getCanonicalPath());
40-
Method method_3_ = Runtime.class.getDeclaredMethod("load0", Class.class, String.class);
41-
method_3_.setAccessible(true);
42-
method_3_.invoke(Runtime.getRuntime(), var_class, file.getPath());
43-
method_3_.setAccessible(false);
44-
Player.aHashtable10565.put(string, var_class);
45-
return true;
46-
} catch (NoSuchMethodException nosuchmethodexception) {
47-
if (Loader.trace) {
48-
nosuchmethodexception.printStackTrace();
49-
}
5039
System.load(file.getPath());
5140
Player.aHashtable10565.put(string, (aClass6640 != null ? aClass6640 : (aClass6640 = Class90.class)));
5241
return true;

0 commit comments

Comments
 (0)