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

isStandalone property: remove dependency on pretty-print

    XMLWordPrintable

Details

    • minimal
    • No compatibility risk. The change is to be made to a property introduced within the same release.

    Description

      Summary

      Change the behavior of the isStandalone property so that it takes effect regardless of the settings of the pretty-print property.

      Problem

      The new implementation specific property isStandalone added through JDK-8249867 required the property format-pretty-print to be true. However, there are cases where applications want the serializer to produce an output with a newline after the header but without setting the pretty-print property.

      Solution

      Remove the dependency on the pretty-print property.

      Specification

      JDK16u and Oracle JDK11u

      The javadoc will be exactly the same as described in the JDK17 CSR (https://bugs.openjdk.java.net/browse/JDK-8261210). In the implementation note of the module summary (java.xml/module-info.java), specifically in table Features and Properties, remove when the property format-pretty-print is set to true from the property description.

      A link is provided below for convenience:

      http://cr.openjdk.java.net/~joehw/jdk17/8261209/spec_01/java.xml/module-summary.html

      Oracle JDK8u and Oracle JDK7u

      The release note subtask (https://bugs.openjdk.java.net/browse/JDK-8259502) is clarified with above content.

      Attachments

        Issue Links

          Activity

            People

              kravikumar Kiran Sidhartha Ravikumar (Inactive)
              joehw Joe Wang
              Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: