diff --git a/java-api/src/java9/java/xyz/wagyourtail/jvmdg/j9/stub/java_base/J_L_R_InaccessibleObjectException.java b/java-api/src/java9/java/xyz/wagyourtail/jvmdg/j9/stub/java_base/J_L_R_InaccessibleObjectException.java new file mode 100644 index 0000000..84310fc --- /dev/null +++ b/java-api/src/java9/java/xyz/wagyourtail/jvmdg/j9/stub/java_base/J_L_R_InaccessibleObjectException.java @@ -0,0 +1,12 @@ +package xyz.wagyourtail.jvmdg.j9.stub.java_base; + +import xyz.wagyourtail.jvmdg.version.Adapter; + +@Adapter("java/lang/reflect/InaccessibleObjectException") +public class J_L_R_InaccessibleObjectException extends RuntimeException { + public J_L_R_InaccessibleObjectException() {} + + public J_L_R_InaccessibleObjectException(String msg) { + super(msg); + } +} diff --git a/java-api/src/main/java/xyz/wagyourtail/jvmdg/providers/Java9Downgrader.java b/java-api/src/main/java/xyz/wagyourtail/jvmdg/providers/Java9Downgrader.java index 7f6d9ee..a61f90e 100644 --- a/java-api/src/main/java/xyz/wagyourtail/jvmdg/providers/Java9Downgrader.java +++ b/java-api/src/main/java/xyz/wagyourtail/jvmdg/providers/Java9Downgrader.java @@ -72,7 +72,7 @@ public void init() { // AnnotatedType // AnnotatedTypeVariable // AnnotatedWildcardType - // InaccessibleObjectException + stub(J_L_R_InaccessibleObjectException.class); stub(J_M_BigDecimal.class); stub(J_M_BigInteger.class); // MutableBigInteger