Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1330

Deprecate util.Immutables

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.9
    • None

    Description

      Our util.Immutables class is an attempt to centralize knowledge about when an object can be considered immutable.

      Unfortunately this utility has limited use, as JDK11 has a large swathes of immutable collections (List.of() et al.) which cannot be readily identified. Furthermore JDK16's strong encapsulation by default renders reflection-based tricks useless as well.

      The class itself is not used anywhere, so let's just give up and ditch it.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: