Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47351

[JDK9] LinkageError after multimodule maven build

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • maven-plugin
    • Jenkins 2.73.1 LTS
      SLES 12 SP1
      Oracle Server JRE 9, with --add-modules=ALL-SYSTEM
      maven-plugin 3.0

      In maven-type tasks, after completing a multi-module maven build, no matter it is successful or not, I get the following error:
      FATAL: null
      java.lang.ClassNotFoundException: java.lang.UNIXProcess
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
      at java.base/java.lang.Class.forName0(Native Method)
      at java.base/java.lang.Class.forName(Class.java:292)
      at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:699)
      Caused: java.lang.LinkageError
      at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:710)
      at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:647)
      at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:668)
      at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:589)
      at hudson.Launcher$LocalLauncher.kill(Launcher.java:949)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:502)
      at hudson.model.Run.execute(Run.java:1737)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:419)
      Task status is always failed.

          [JENKINS-47351] [JDK9] LinkageError after multimodule maven build

          Oleg Nenashev added a comment -

          Java 9 is not supported in Jenkins, no ETA so far

          Oleg Nenashev added a comment - Java 9 is not supported in Jenkins, no ETA so far

          Juan Farré added a comment -

          Hi, Oleg,

          I know. I just saw the epic had been created and I added this issue just to collaborate.

          Thank you!

          Juan Farré added a comment - Hi, Oleg, I know. I just saw the epic had been created and I added this issue just to collaborate. Thank you!

          Oleg Nenashev added a comment -

          Hit the same in JDK 11 tests for the core

          Oleg Nenashev added a comment - Hit the same in JDK 11 tests for the core

          Oleg Nenashev added a comment -

          I believe it is fixed in Jenkins 2.144 (JENKINS-46523)

          Oleg Nenashev added a comment - I believe it is fixed in Jenkins 2.144 ( JENKINS-46523 )

            Unassigned Unassigned
            jafarre Juan Farré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: