Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-855

Serializable GString?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-1
    • 1.5.2
    • groovy-jdk
    • None

    Description

      Would it be better if the GString class be made Serializable? When I'm trying to assign a GString expression to a Map object, i.e.

      m = ... a map ...

      str = "hello"
      str += " world!!!"
      m["mykey"] = str

      When I try to serialize "m", it fails to do so because m["mykey"] is a GString, which is not serializable.

      Attachments

        Issue Links

          Activity

            People

              guillaume Guillaume Sauthier
              imageunion William Lee
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: