Gson breaks for render settings on Java 16
Johni0702 opened this issue ยท 0 comments
java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @27ce24aa
at Not Enough Crashes deobfuscated stack trace.(1.16.4+build.9)
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
at java.lang.reflect.Field.setAccessible(Field.java:171)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:157)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:100)
at com.google.gson.Gson.getAdapter(Gson.java:423)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:115)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:164)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:100)
at com.google.gson.Gson.getAdapter(Gson.java:423)
at com.google.gson.Gson.fromJson(Gson.java:886)
at com.google.gson.Gson.fromJson(Gson.java:852)
at com.google.gson.Gson.fromJson(Gson.java:801)
at com.google.gson.Gson.fromJson(Gson.java:773)
at com.replaymod.render.gui.GuiRenderSettings.<init>(GuiRenderSettings.java:352)