You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/08/14 21:47:00 UTC

[jira] [Comment Edited] (GROOVY-9688) Groovy 3.0.5 references groovyjarjaropenbeans.BeanInfo (doesn't seem to be included in the distribution) and 3.0.0.rc1 uses java.beans.BeanInfo

    [ https://issues.apache.org/jira/browse/GROOVY-9688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17178076#comment-17178076 ] 

Paul King edited comment on GROOVY-9688 at 8/14/20, 9:46 PM:
-------------------------------------------------------------

Thanks for spotting this. I guess no-one is using Groovy 3 for Android apps yet or this should have been spotted much earlier. The build scripts haven't changed in this area but I suspect our change in jarjar versions is causing this.

The normal jar shouldn't include (which it doesn't) nor be referencing ({color:#de350b}which it does!{color}) groovyjarjaropenbeans.

The grooid jar should be including ({color:#de350b}which it doesn't!{color}) and referencing (which it does) the groovyjarjaropenbeans classes.

 

So obviously, as well as breaking Android apps, it will impact certain JavaBean-related use cases for the normal jar. We'll fix before the next release. For correct operation in the meantime, you have to go back to 3.0.0-beta-3 for Android apps and 3.0.0-rc-1 for the JavaBean-related use cases.


was (Author: paulk):
Thanks for spotting this. I guess no-one is using Groovy 3 for Android apps yet or this should have been spotted much earlier. The build scripts haven't changed in this area but I suspect our change in jarjar versions is causing this.

The normal jar shouldn't include (which it doesn't) nor be referencing ({color:#de350b}which it does!{color}) groovyjarjaropenbeans.

The grooid jar should be including ({color:#de350b}which it doesn't!{color}) and referencing (which it does) the groovyjarjaropenbeans classes.

 

So obviously, as well as breaking Android apps, it will impact certain JavaBean-related use cases for the normal jar. We'll fix before the next release.

> Groovy 3.0.5 references groovyjarjaropenbeans.BeanInfo (doesn't seem to be included in the distribution) and 3.0.0.rc1 uses java.beans.BeanInfo
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-9688
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9688
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.5
>            Reporter: Howard
>            Priority: Blocker
>
> Groovy 3.0.5 references groovyjarjaropenbeans.BeanInfo (doesn't seem to be included in the distribution) and 3.0.0.rc1 uses java.beans.BeanInfo.
> I dont know if this is expected but we saw many of the groovyjarjar classes removed in 3, so it's a bit awkward for us to find this removed in rc1 and then added back in 3.0.5 but without this groovyjarjaropenbeans.BeanInfo class included.
>  
> The class that references the groovyjarjar* class is groovy.lang.MetaClassImpl
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)