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

Warning cleanup in tests of java.io.Serializable

XMLWordPrintable

        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[][].

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: