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

[lworld] Serialization should throw exceptions for non-migrated value classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • core-libs

      For EA1, a limited number of prescribed java.base classess are migrated to value classes when running with --enable-preview.
      Serializaton of those classes are supported with adhoc unsafe operations.
      All other value classes are not serializable: ObjectOutputStream throws NotSerializableException and ObjectInputStream throws InvalidClassException when a non-migrated class is deserialized.

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

              Created:
              Updated:
              Resolved: