You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Jochen Eddelbuettel (Jira)" <ji...@apache.org> on 2019/11/27 17:21:00 UTC

[jira] [Created] (GROOVY-9321) @CompileStatic on call of static method on interface (Java 8): VerifyError

Jochen Eddelbuettel created GROOVY-9321:
-------------------------------------------

             Summary: @CompileStatic on call of static method on interface (Java 8): VerifyError
                 Key: GROOVY-9321
                 URL: https://issues.apache.org/jira/browse/GROOVY-9321
             Project: Groovy
          Issue Type: Bug
          Components: bytecode, Compiler
    Affects Versions: 3.0.0-rc-1, 2.5.8
         Environment: Oracle Java 1.8.0_112, IDEA CE 2019.1
            Reporter: Jochen Eddelbuettel
         Attachments: AgentTester.class, ErrorDetails.txt

This is the rogue line

def cfg = IDx4SessionPoolConfiguration.builder()

Changing this to something more normal like

{color:#172b4d}def cfg = new ConfigurationBuilder(){color}

{color:#172b4d}fixes the problems. So does not compiling with @CompileStatic or running the code in a VM with -noverify option. The decompiled code looks jolly good in jd-gui.{color}

{color:#172b4d}The problem does not exists in 2.4.15-indy{color}



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