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

Unit Test Failures due to RDF and other 8u5 changes.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 9
    • Component/s: deploy
    • Resolved In Build:
      b08

      Backports

        Description

        After porting 8u5 changes into JDK9 (including DRDF feature) - I notice several additional unit test failures:
        1.) several tests get NPE in LaunchDesc.getSource().
            It is required that _xmlnode be non-null, but several unit test create LaunchDesc with null XmlNode, and this is now called from LaunchDesc.getAppInfo() (getSource was not called from getAppInfo till RDF feature)
        2.) several tests assume all no-href jnlp files will be cached as ".jarjnlp". This assumption is no longer valid, as in some cases, LaunchDesc.getCanonicalHome() will return the original url used to launch an applet.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: