Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4736

Invalid JPMS module names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.29.0.Final
    • None
    • None
    • 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30)
    • 3
    • Hide

      Trying to load a JVM with one of those modules on the module path gives:

      Error occurred during initialization of boot layer
      java.lang.module.FindException: Unable to derive module descriptor for /home/mkroening/.gradle/caches/modules-2/files-2.1/org.drools/drools-canonical-model/7.29.0.Final/baed188d44d80076f045cc8cc5668ffe8d958181/drools-canonical-model-7.29.0.Final.jar
      Caused by: java.lang.module.FindException: Automatic-Module-Name: org.drools.canonical-model: Invalid module name: 'canonical-model' is not a Java identifier
      
      Show
      Trying to load a JVM with one of those modules on the module path gives: Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for /home/mkroening/.gradle/caches/modules-2/files-2.1/org.drools/drools-canonical-model/7.29.0.Final/baed188d44d80076f045cc8cc5668ffe8d958181/drools-canonical-model-7.29.0.Final.jar Caused by: java.lang.module.FindException: Automatic-Module-Name: org.drools.canonical-model: Invalid module name: 'canonical-model' is not a Java identifier
    • NEW
    • NEW

    Description

      The drools-model modules contain dashes in their JPMS module name, making it impossible to use them on the module path:

      org.drools.canonical-model
      org.drools.mvel-compiler
      org.drools.mvel-parser
      org.drools.model-compiler
      

      See sormuras/modules for details about Java module names.

      Attachments

        Activity

          People

            jpetrlik@redhat.com Jiri Petrlik
            mwkroening Martin Kröning (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: