groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-7515) static initializers on trait fields are discarded
Date Fri, 06 Jul 2018 13:17:00 GMT

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

Paul King closed GROOVY-7515.
-----------------------------
    Resolution: Duplicate
      Assignee: Paul King

I believe this is a duplicate. Since the other issue has a test case. I'll close this one.

> static initializers on trait fields are discarded
> -------------------------------------------------
>
>                 Key: GROOVY-7515
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7515
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.4
>            Reporter: Christopher Smith
>            Assignee: Paul King
>            Priority: Major
>
> Related to GROOVY-7514, I found that in addition to the {{final}} qualifier being discarded,
the initializer is discarded as well, so the {{private static final}} field is {{null}} at
runtime.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message