Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3268

Narayana can't be built on JDK9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.10.5.Final
    • 5.10.3.Final
    • JTS, LRA, XTS
    • None
    • Hide
      git clone https://github.com/jbosstm/narayana -b 5.10.3.Final
      cd narayana
      java -version
      java version "9.0.4"
      Java(TM) SE Runtime Environment (build 9.0.4+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
      mvn clean install
      
      Show
      git clone https: //github.com/jbosstm/narayana -b 5.10.3.Final cd narayana java -version java version "9.0.4" Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode) mvn clean install
    • Workaround Exists
    • Hide

      Switch to JDK11

      Show
      Switch to JDK11

      Narayana cannot be built on JDK9.

      The failure happens at module: ArjunaJTS/orbportability
      and the error is

      Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile (jacorb-compile) on project orbportability: Fatal error compiling: option --add-modules not allowed with target 1.8

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: