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

jnlp <application-desc> <param> element not corectly parsed.

XMLWordPrintable

    • b01

        While creating an automated unit test for JDK-8175169 in JDK10, I discovered an error in XMLFormat.java that applies to JDK9.

        In JDK9 we added the ability to have <param> sub-elements for <application-desc> elements. For <application-desc> elements of type "Java" (default) they are meaningless, but for elements of type "JavaFX", they represent the way parameters are specified in JavaFX apps when using the new standardized jnlp format to specify JavaFX app in jnlp (see: JDK-8062186).

        The bug is that while parsing a <application-desc> the code looks for params with:
        > XMLUtils.visitElements(root, "<applet-desc><param>",
        instead of :
        < XMLUtils.visitElements(root, "<application-desc><param>",
        and the result is <application-desc> elements will never see params.

              herrick Andy Herrick (Inactive)
              herrick Andy Herrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: