Skip to content

Commit

Permalink
Skip reflection library load to support newer java versions (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Jan 25, 2024
1 parent 025e51d commit 72fabcd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions client/src/Class348_Sub6.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ static final boolean method2769(Class var_class, byte i, String string) {
if (i != 20) anInt6633 = -118;
if (file != null) {
try {
file = new File(file.getCanonicalPath());
Method method_3_ = Runtime.class.getDeclaredMethod("load0", Class.class, String.class);
method_3_.setAccessible(true);
method_3_.invoke(Runtime.getRuntime(), var_class, file.getPath());
method_3_.setAccessible(false);
Player.aHashtable10565.put(string, var_class);
return true;
} catch (NoSuchMethodException nosuchmethodexception) {
if (Loader.trace) {
nosuchmethodexception.printStackTrace();
}
System.load(file.getPath());
Player.aHashtable10565.put(string, (aClass6640 != null ? aClass6640 : (aClass6640 = Class90.class)));
return true;
Expand Down

0 comments on commit 72fabcd

Please sign in to comment.