jtstorck commented on issue #3404: [WIP] NIFI-5176 Java 11 Build Compatibilty
URL: https://github.com/apache/nifi/pull/3404#issuecomment-505091461
 
 
   > Latest groovy is also 2.5.7
   
   On my local clone while rebasing against master, I tried using Groovy 2.5.7, 
but there's an issue that was fixed in Groovy 2.5.4 that has resurfaced in 
2.5.7.
   
   This issue occurs with Groovy 2.5.7 (with spock-core:1.2-groovy-2.5 and 
1.3-groovy-2.5):
   
   ```
   java.lang.IllegalAccessError: Update to non-static final field MySpec.field 
attempted from a different method ($spock_initializeFields) than the 
initializer method <init>
        at MySpec.$spock_initializeFields(MySpec.groovy:##)
   ```
   
   The tests pass when Groovy 2.5.4 is used.
   
   For now, I'm going to leave the Groovy version set to 2.5.4.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to