[ 
https://issues.apache.org/jira/browse/GROOVY-12384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King updated GROOVY-12384:
-------------------------------
    Description: 
Involves: swapping two lines in InvokerFactory.generationAllowed so the 
existing Android check runs before HiddenClassDefiner.isEnabled(), and moving 
the ClassOption array into a nested holder class so loading the definer does 
not resolve a type ART lacks.
Impact on normal usage: none. The Android check is a cached boolean.

  was:
Involves: a TYPE_ANNOTATIONS flag and guards at the seven call sites that read 
annotated types while building ClassNodes from reflection. Same deprecation 
caveat as item 2.
Impact on normal usage: none on a JVM. Where the API is absent, type-use 
annotations on precompiled classes are simply not seen, which is the only 
possible behaviour there.


> Direct invokers: check for Android before touching HiddenClassDefiner
> ---------------------------------------------------------------------
>
>                 Key: GROOVY-12384
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12384
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Priority: Major
>
> Involves: swapping two lines in InvokerFactory.generationAllowed so the 
> existing Android check runs before HiddenClassDefiner.isEnabled(), and moving 
> the ClassOption array into a nested holder class so loading the definer does 
> not resolve a type ART lacks.
> Impact on normal usage: none. The Android check is a cached boolean.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to