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

OpenJDK 8u JRE contains clhsdb and hsdb launchers

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Description

      Since JDK-8059038 has been backported to JDK 8u, the j2re-image, has the following in folder 'bin':

      $ ls bin/
      clhsdb hsdb java jjs keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200

      This is wrong, clhsdb and hsdb shouldn't be there for JRE as they don't work anyway:

      $ ./bin/clhsdb
      Error: Could not find or load main class sun.jvm.hotspot.CLHSDB
      $ ./bin/hsdb
      Error: Could not find or load main class sun.jvm.hotspot.HSDB

      They rely on sa-jdi.jar, which isn't built for j2re-image. These launchers need to be filtered for the JRE case.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sgehwolf Severin Gehwolf
              Reporter:
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: