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 Were Under Specified

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: