java.lang.IllegalAccessError: tried to access method Client.<init>(I)V from class Client$Builder

groovy-notifications | Shil Sinha (JIRA) | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [jira] [Commented] (GROOVY-6468) Unable to call private method/constructor from static inner class with @CompileStatic

    groovy-notifications | 1 year ago | Shil Sinha (JIRA)
    java.lang.IllegalAccessError: tried to access method Client.<init>(I)V from class Client$Builder

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method Client.<init>(I)V from class Client$Builder

      at Client$Builder.build()
    2. Unknown
      test1.run
      1. Client$Builder.build(test1.groovy:7)
      2. Client$Builder$build.call(Unknown Source)
      3. test1.run(test1.groovy:17)
      3 frames