Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297778

Modernize and improve module jdk.sctp

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 21
    • None
    • core-libs
    • None
    • b02

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: