You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2023/02/16 19:18:00 UTC

[jira] [Resolved] (GROOVY-10939) Non-static method java.lang.Object#hashCode cannot be called from static context

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

Eric Milles resolved GROOVY-10939.
----------------------------------
    Resolution: Fixed

https://github.com/apache/groovy/commit/9372f23311fe711301d18e5036cef44aa388f029

>  Non-static method java.lang.Object#hashCode cannot be called from static context
> ---------------------------------------------------------------------------------
>
>                 Key: GROOVY-10939
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10939
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 4.0.7, 4.0.8, 4.0.9
>            Reporter: Sergio del Amo
>            Assignee: Eric Milles
>            Priority: Major
>
> Updating Micronaut Framework 4.0.x branch to 4.0.9 we got the following issue:
> https://github.com/micronaut-projects/micronaut-core/pull/8784#discussion_r1108171939
> {code}
> [Static type checking] - Non-static method java.lang.Object#hashCode cannot be called from static context @ line 99, column 16. return visitor.getClass().hashCode(){code}



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