GMaven
  1. GMaven
  2. GMAVEN-70

Groovy Interfaces with defined constants cause a compilation failure in generated stubs

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: stub generation
    • Labels:
      None
    • Environment:
      Mac OS X
    • Number of attachments :
      1

      Description

      Defining a constant on a Groovy Interface leads to a compilation failure with the message : "= expected"
      from the generated Java stub.
      Attaching a simple maven project built with the 1.2 archetype and configured to use the 1.7 runtime that exposes the error.

        Activity

        Hide
        Jason Dillon added a comment -

        Ugh, wonderful... no clue yet as to why this happens

        Show
        Jason Dillon added a comment - Ugh, wonderful... no clue yet as to why this happens
        Hide
        Jason Dillon added a comment -

        Groovy 1.7.4 seems to fix this problem.

        Show
        Jason Dillon added a comment - Groovy 1.7.4 seems to fix this problem.
        Hide
        Kelly Robinson added a comment -

        Thanks Jason.

        Show
        Kelly Robinson added a comment - Thanks Jason.
        Hide
        Keegan Witt added a comment -

        Closing all issues fixed in released versions.

        Show
        Keegan Witt added a comment - Closing all issues fixed in released versions.

          People

          • Assignee:
            Keegan Witt
            Reporter:
            Kelly Robinson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: