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

Clarify initialization of jdk.serialFilter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11, 13, 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        The initialization of the jdk.serialFilter should take into account other ways of starting the Java Virtual Machine other than the command line.
        The class javadoc of java.io.ObjectInputFilter.Config says:

        - * If the system property {@systemProperty jdk.serialFilter} is defined on the command line,
        - * it is used to configure the filter.
        - * If the system property is not defined on the command line, and the
        - * {@link java.security.Security} property {@code jdk.serialFilter} is defined
        - * then it is used to configure the filter.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: