Branch: refs/heads/java11
  Home:   https://github.com/jenkinsci/gearman-plugin
  Commit: b4f3b56e3fb38ba8bc4dff5a7a08e0d37527ad9f
      
https://github.com/jenkinsci/gearman-plugin/commit/b4f3b56e3fb38ba8bc4dff5a7a08e0d37527ad9f
  Author: Antoine Musso <has...@free.fr>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M Jenkinsfile
    M pom.xml
    M src/test/java/hudson/plugins/gearman/GearmanPluginConfigTest.java

  Log Message:
  -----------
  Update dependencies for Java 11

Bump Jenkins to 2.164.1 for Java 11 version (I have found doc
mentionning 2.138 and some other requiring 2.164).

Update some dependencies for Java 11 support:

* Mockito 2.15.0..2.28.2 to latest 2.x release. The release notes show a
  lot of Java 11 related changes.
* Powermock 2.0.0-beta.5..2.0.7
* objenesis 2.6..3.0.1 which is also a dependency of Powermock

Add a PowerMockIgnore annotation for `javax.xml.*` in
GearmanPluginConfigTest to prevent the following kind of error:

  java.lang.ExceptionInInitializerError
  ..
  Caused by: java.lang.IllegalAccessError:
    class javax.xml.datatype.FactoryFinder (in unnamed module @0x371ff923)
    cannot access class jdk.xml.internal.SecuritySupport (in module java.xml)
    because module java.xml does not export jdk.xml.internal to unnamed
    module @0x371ff923

Ran tests with:

  rm -fR target
  JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 mvn clean package

  rm -fR target
  JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn clean package

Bug: https://phabricator.wikimedia.org/T271683


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gearman-plugin/push/refs/heads/java11/000000-b4f3b5%40github.com.

Reply via email to