Replaced getDeclaredConstructor with constructors

This commit is contained in:
Pazaz 2022-04-28 02:41:20 -04:00
parent fd3572f709
commit 37883b9f35
7 changed files with 7 additions and 19 deletions

View file

@ -50,7 +50,7 @@ public final class Static44 {
@OriginalMember(owner = "client!dh", name = "b", descriptor = "(I)Lclient!q;")
public static ReferenceNodeFactory method1147() {
try {
return (ReferenceNodeFactory) Class.forName("rt4.SoftReferenceNodeFactory").getDeclaredConstructor().newInstance();
return new SoftReferenceNodeFactory();
} catch (@Pc(15) Throwable local15) {
return null;
}