Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-576

Support making structs immutable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.2
    • None
    • Java - Compiler
    • None

    Description

      It'd be nice to be able to "freeze" an object so that you can be certain any attempts to change its members will fail. There would be some situations in which it would be difficult or impossible to ensure that setting an object to immutable would be successful, but I think that covering the remaining cases would be pretty great.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bryanduxbury Bryan Duxbury
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: