groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Smith (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-7515) static initializers on trait fields are discarded
Date Tue, 21 Jul 2015 18:15:04 GMT
Christopher Smith created GROOVY-7515:
-----------------------------------------

             Summary: 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


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
(v6.3.4#6332)

Mime
View raw message