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

cannot deserialize void.class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.4.1
    • core-libs
    • None
    • hopper
    • generic
    • generic
    • Verified

      Although the fix for 4171142 ("Deserialization fails for Class object of
      primitive type") enables ObjectInputStream to deserialize Class objects for
      primitive types, it failed to address void.class (a.k.a. java.lang.Void.TYPE).
      ObjectInputStream.resolveClass() should be updated to handle void.class in the
      same way that it does primitive types.

            mwarressunw Michael Warres (Inactive)
            mwarressunw Michael Warres (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: