[
https://issues.apache.org/jira/browse/GROOVY-12387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King updated GROOVY-12387:
-------------------------------
Description:
Involves: the Selector wraps its GroovyObject fallback and its exception
unwrapper in MethodHandles.catchException, which ART does not honour for
exceptions without a writable stack trace, that is all our *ExceptionNoStack
classes. The spike routes those three sites through a Java try/catch only when
running on Android. A proper version would use a dedicated helper per handle
shape rather than invokeWithArguments. The ART bug itself should also be
reported upstream, with the repro from the app.
Impact on normal usage: none, the JVM path is untouched behind
AndroidSupport.isRunningAndroid().
> Indy: exception-handler combinator bypassed on ART
> --------------------------------------------------
>
> Key: GROOVY-12387
> URL: https://issues.apache.org/jira/browse/GROOVY-12387
> Project: Groovy
> Issue Type: Improvement
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
>
> Involves: the Selector wraps its GroovyObject fallback and its exception
> unwrapper in MethodHandles.catchException, which ART does not honour for
> exceptions without a writable stack trace, that is all our *ExceptionNoStack
> classes. The spike routes those three sites through a Java try/catch only
> when running on Android. A proper version would use a dedicated helper per
> handle shape rather than invokeWithArguments. The ART bug itself should also
> be reported upstream, with the repro from the app.
> Impact on normal usage: none, the JVM path is untouched behind
> AndroidSupport.isRunningAndroid().
--
This message was sent by Atlassian Jira
(v8.20.10#820010)