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

Warning cleanup in tests of java.io.Serializable

    Details

      Description

      The test in jdk/java/io/Serializable have quite a few warnings:
      - for raw types,
      - "C" syntax for array declarations,
      - missing serialVersionUIDs or wrong modifiers,
      - use of deprecated method such as new Integer(n), Class.newInstance, et.
      - Suppressing warnings for serial related uses that are intention because they are being tested.
      - missing hashCode() methods even when equals() is declared.


      And a copy/paste error in ArraysOfArrays that did not properly test arrays of any type other than byte[][].

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rriggs Roger Riggs
                Reporter:
                rriggs Roger Riggs
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: