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

Clean tests with --enable-linkable-runtime

XMLWordPrintable

    • b06

        Running tests on JDK configured with --enable-linkable-runtime reveals a few failures. This introduces noise in testing, and it would be great if tests are clean for this special runtime mode as well.

        The following tests are failing with:
        "jlink does not support linking from the run-time image when running on a patched runtime":
        jdk/jfr/jvm/TestModularImage.java
        tools/launcher/SourceMode.java

        A lot of tools/jpackage tests are failing with: "This JDK does not contain packaged modules and cannot be used to create another image with the jdk.jlink module". This is tracked in JDK-8345185.

        Perhaps it would be good to either disable these tests when linkable runtime is configured, or do a ProblemList that gets auto-wired when linkable runtime is configured.

              sgehwolf Severin Gehwolf
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: