Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8549

Get rid of EasyMock

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.1, 3.6.1
    • 3.6.2, 4.0.3
    • None
    • None
    • Unknown

    Description

      Get rid of EasyMock in favor of Mockito since it does require additional access to sealed JDK internals for JDK-16 and above. Also, the EasyMock does not support JDK-21 as of today.

       

      Caused by: java.lang.IllegalArgumentException: org.apache.cxf.io.CachedOutputStream$$$EasyMock$1 must be defined in the same package as org.easymock.internal.ClassProxyFactory
      	at org.easymock.bytebuddy.dynamic.loading.ClassInjector$UsingLookup.injectRaw(ClassInjector.java:1635)
      	at org.easymock.bytebuddy.dynamic.loading.ClassInjector$AbstractBase.inject(ClassInjector.java:118)
      	at org.easymock.bytebuddy.dynamic.loading.ClassLoadingStrategy$UsingLookup.load(ClassLoadingStrategy.java:519)
      	at org.easymock.bytebuddy.dynamic.TypeResolutionStrategy$Passive.initialize(TypeResolutionStrategy.java:101)
      	at org.easymock.bytebuddy.dynamic.DynamicType$Default$Unloaded.load(DynamicType.java:6317)
      	at org.easymock.internal.ClassProxyFactory.lambda$createProxy$0(ClassProxyFactory.java:146)
      	at org.easymock.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168)
      	... 34 more 

       

      [X] ./core/pom.xml
      [X] ./integration/jca/pom.xml
      [X] ./rt/bindings/coloc/pom.xml
      [X] ./rt/bindings/corba/pom.xml
      [X] ./rt/bindings/soap/pom.xml
      [X] ./rt/databinding/aegis/pom.xml
      [X] ./rt/databinding/jaxb/pom.xml
      [X] ./rt/features/clustering/pom.xml
      [X] ./rt/features/logging/pom.xml
      [X] ./rt/features/throttling/pom.xml
      [X] ./rt/frontend/jaxrs/pom.xml
      [X] ./rt/frontend/jaxws/pom.xml
      [X] ./rt/frontend/js/pom.xml
      [X] ./rt/management/pom.xml
      [X] ./rt/rs/client/pom.xml
      [X] ./rt/rs/description/pom.xml
      [X] ./rt/rs/extensions/providers/pom.xml
      [X] ./rt/rs/extensions/search/pom.xml
      [X] ./rt/rs/microprofile-client/pom.xml
      [X] ./rt/rs/security/oauth-parent/oauth2/pom.xml
      [X] ./rt/rs/security/oauth-parent/oauth2-saml/pom.xml
      [X] ./rt/rs/security/sso/oidc/pom.xml
      [X] ./rt/transports/http/pom.xml
      [X] ./rt/transports/http-jetty/pom.xml
      [X] ./rt/transports/http-netty/netty-client/pom.xml
      [X] ./rt/transports/http-netty/netty-server/pom.xml
      [X] ./rt/transports/http-undertow/pom.xml
      [X] ./rt/transports/jms/pom.xml
      [X] ./rt/transports/websocket/pom.xml
      [X] ./rt/ws/addr/pom.xml
      [X] ./rt/ws/policy/pom.xml
      [X] ./rt/ws/rm/pom.xml
      [X] ./rt/ws/security/pom.xml
      [X] ./rt/ws/transfer/pom.xml
      [X] ./rt/wsdl/pom.xml
      [X] ./services/xkms/xkms-x509-handlers/pom.xml
      [X] ./services/xkms/xkms-x509-repo-ldap/pom.xml

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              reta Andriy Redko
              reta Andriy Redko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: