Groovy
  1. Groovy
  2. GROOVY-4654

groovy.transform.ToString annotation does not handle cycles

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8-beta-3
    • Fix Version/s: None
    • Component/s: groovy-jdk
    • Labels:

      Description

      The groovy.transform.ToString AST transformation does not handle object graphs with cycles. See the attached junit tests. This is a pretty serious issue because these object structures are common with some frameworks (like orm tools)

      1. ToStringCycleTest.groovy
        0.7 kB
        Travis Schneeberger
      2. Foo.groovy
        0.2 kB
        Travis Schneeberger
      3. Bar.groovy
        0.2 kB
        Travis Schneeberger

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Travis Schneeberger
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development