groovy
  1. groovy
  2. GROOVY-5314

Using log variable created with @Log or @Log4j causes compiler error if used in static method

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.8.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      windows, Groovy-1.8.4 (from latest eclipse plugin)
    • Number of attachments :
      0

      Description

      The issue described in GROOVY-4609 seems to be NOT fixed.
      Logging in static methods gives this error:
      Apparent variable 'log' was found in a static scope but doesn't refer to a local variable, static field or class.

        Activity

          People

          • Assignee:
            blackdrag blackdrag
            Reporter:
            Gerhard Stuhlpfarrer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: