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

Modernize and improve module jdk.sctp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 21
    • None
    • 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

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

              Created:
              Updated:
              Resolved: