We have encountered an issue in Android whereby the constructor handle for our generated DynamicScope subclasses appears to break when invoked with invokeExact. Instead of constructing the scope, it produces the following error, which seems to indicate that it's trying to instantiate the abstract class instead of the subclass:
java.lang.InstantiationException: Can't instantiate abstract class class org.jruby.runtime.DynamicScope
I have filed this issue in Google's Android issue tracker here: https://issuetracker.google.com/issues/138705083