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

Clarify initialization of jdk.serialFilter

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 11, 13, 14
    • 14
    • core-libs

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved: