email-ext: PowerMock is not compatible with Java 11

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: email-ext-plugin
    • Environment:
      Jenkins 2.155
      Java 11
      PCT

      Current version of PowerMock used for testing is not compatible with Java 11.  So tests are failing with 

      Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org.powermock.core.classloader.MockClassLoader @7cd1ec54 cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl 

      Updating Parent POM to 3.30 to benefit from new versions of the libraries should be sufficient.

            Assignee:
            Adrien Lecharpentier
            Reporter:
            Adrien Lecharpentier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: