Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278087 Deserialization filter and filter factory property error reporting under specified
  3. JDK-8278156

Release Note: Deserialization filter and filter factory property error reporting under specified

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      Invalid values of the command line and security properties `jdk.serialFilter `and `jdk.serialFilterFactory` are reported by throwing `java.lang.IllegalStateException` on the first use.
      The property values are checked when constructing an `java.io.ObjectInputStream` or calling the methods of `java.io.ObjectInputFilter.Config` including `getSerialFilter()` and `getSerialFilterFactory()`.
      The `IllegalStateException` indicates the serial filter or serial filter factory is invalid and cannot be used; deserialization is disabled.
      Previously, the exception thrown was `ExceptionInInitializerError`.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: