Modernize and improve module jdk.sctp

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b02

      During the fix of https://bugs.openjdk.org/browse/JDK-8296024, several improvement areas were identified for the module `jdk.sctp` including:

      * Replacing duplicate code segments
      * Making certain fields final
      * Using enhanced switch
      * Using records
      * Fixing typos
      * Marking fields participating in serialisation with `@Serial`
      * Modernizing toString() implementations
      * Using pattern matching
      * Using diamond operators

            Assignee:
            Per-Ake Minborg
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: