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

NSK jdi/jdb tests fail on jdk-module-image

XMLWordPrintable

      NSK jdi and jdb tests fail when running with jdk-module-image.

      Several issues:
      1. ClassAnalyzer doesn't handle multiple service-provider configuration files of the same service (in different jars)

      sa-jdi.jar and tools.jar both contains service providers for the JDI connector (i.e. both have META-INF/services/com.sun.tools.jdi.connect.Connector

      The debugging and sajdi modules should both have the META-INF/services/com.sun.tools.jdi.connect.Connector file

      2. The service provider class are loaded by the class loader of com.sun.tools.jdi.Connector and com.sun.jdi.connect.spi.TransportService classes.

      These two service classes are in the debugging module while the SA service providers are in sajdi. The debugging module and sajdi module will need to be loaded by the same class loader.

      3. SA tools such as jdb, jmap, jinfo, jstack, and jsadebugd requires sajdi module

            Unassigned Unassigned
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: