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

Some launcher tests assume a pre-JDK 9 run-time image layout

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11, 12
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b28

      Backports

        Description

        Two launcher tests, ExecutionEnvironment.java and Test7029048.java (in test/jdk/tools/launcher), still assume the old image layout in which a HotSpot shared library (libjava.so) is found in $JDK/lib/$ARCH/$VMTYPE on Linux and Solaris. The intermediate $ARCH directory was removed in JDK 9, as part of JEP 220 (Modular Run-Time Images) [1]. Since that time these tests have been succeeding anyway, because they don’t fail when the requested VM is not found.

        The tests should be fixed to fail when the requested VM is not found, and to look for VM shared libraries in the proper location.

        [1] http://openjdk.java.net/jeps/220

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mr Mark Reinhold
                  Reporter:
                  mr Mark Reinhold
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: