Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-2534

Modules depend on jdk.unsupported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • JDG 7.3.1 CR1
    • JDG 7.3.CR2
    • EAP modules
    • None
    • CR1
    • Hide

      On EAP 64 and 71, it should be possible to simply change this line from "jdk.unsupported" to "sun.jdk" once the wildfly-modules.zip has been deployed.

      Note, the module.xml that needs to be modified will be located at the following path once the modules have been deployed. $JBOSS_HOME/modules/system/add-ons/jdg/org/jboss/marshalling/jdg-7.3/module.xml

      Show
      On EAP 64 and 71, it should be possible to simply change this line from "jdk.unsupported" to "sun.jdk" once the wildfly-modules.zip has been deployed. Note, the module.xml that needs to be modified will be located at the following path once the modules have been deployed. $JBOSS_HOME/modules/system/add-ons/jdg/org/jboss/marshalling/jdg-7.3/module.xml
    • JDG Sprint #24, JDG Sprint #25, JDG Sprint #27

      org.jboss.marshalling and org.infinispan.commons modules present in eap modules depend on jdk.unsupported module which is present since java 9. This is resulting in failures during modules loading while running under jvm 8.

      See relevant EAP warning:

      WARN  [org.jboss.modules] (default task-1) Failed to define class org.jboss.marshalling.AbstractMarshallerFactory in Module "org.jboss.marshalling:jdg-7.3" from local module loader @3ab39c39 (finder: local module finder @2eee9593 (roots: /home/pdrobek/work/servers/eap/eap71-0/modules,/home/pdrobek/work/servers/eap/eap71-0/modules/system/layers/base,/home/pdrobek/work/servers/eap/eap71-0/modules/system/add-ons/jdg)): org.jboss.modules.ModuleLoadError: jdk.unsupported
      WARN  [org.jboss.modules] (default task-1) Failed to define class org.infinispan.commons.marshall.jboss.JBossMarshallerFactory in Module "org.infinispan.commons:jdg-7.3" from local module loader @3ab39c39 (finder: local module finder @2eee9593 (roots: /home/pdrobek/work/servers/eap/eap71-0/modules,/home/pdrobek/work/servers/eap/eap71-0/modules/system/layers/base,/home/pdrobek/work/servers/eap/eap71-0/modules/system/add-ons/jdg)): org.jboss.modules.ModuleLoadError: jdk.unsupported
      

              remerson@redhat.com Ryan Emerson
              pdrobek@redhat.com Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: