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

          1.
          Get rid of EasyMock in cxf-core Sub-task Closed Andriy Redko
          2.
          Get rid of EasyMock in cxf-integration-jca Sub-task Closed Andriy Redko
          3.
          Get rid of EasyMock in cxf-rt-bindings-coloc Sub-task Closed Andriy Redko
          4.
          Get rid of EasyMock in cxf-rt-bindings-corba Sub-task Closed Andriy Redko
          5.
          Get rid of EasyMock in cxf-rt-bindings-soap Sub-task Closed Andriy Redko
          6.
          Get rid of EasyMock in cxf-rt-databinding-aegis Sub-task Closed Andriy Redko
          7.
          Get rid of EasyMock in cxf-rt-databinding-jaxb Sub-task Closed Andriy Redko
          8.
          Get rid of EasyMock in cxf-rt-features-clustering Sub-task Closed Andriy Redko
          9.
          Get rid of EasyMock in cxf-rt-features-logging Sub-task Closed Andriy Redko
          10.
          Get rid of EasyMock in cxf-rt-features-throttling Sub-task Closed Andriy Redko
          11.
          Get rid of EasyMock in cxf-services-xkms-x509-repo-ldap Sub-task Closed Andriy Redko
          12.
          Get rid of EasyMock in cxf-services-xkms-x509-handlers Sub-task Closed Andriy Redko
          13.
          Get rid of EasyMock in cxf-rt-wsdl Sub-task Closed Andriy Redko
          14.
          Get rid of EasyMock in cxf-rt-ws-transfer Sub-task Closed Andriy Redko
          15.
          Get rid of EasyMock in cxf-rt-frontend-jaxrs Sub-task Closed Andriy Redko
          16.
          Get rid of EasyMock in cxf-rt-frontend-jaxws Sub-task Closed Andriy Redko
          17.
          Get rid of EasyMock in cxf-rt-frontend-js Sub-task Closed Andriy Redko
          18.
          Get rid of EasyMock in cxf-rt-ws-security Sub-task Closed Andriy Redko
          19.
          Get rid of EasyMock in cxf-rt-ws-policy Sub-task Closed Andriy Redko
          20.
          Get rid of EasyMock in cxf-rt-ws-addr Sub-task Closed Andriy Redko
          21.
          Get rid of EasyMock in cxf-rt-transports-websocket Sub-task Closed Andriy Redko
          22.
          Get rid of EasyMock in cxf-rt-ws-rm Sub-task Closed Andriy Redko
          23.
          Get rid of EasyMock in cxf-rt-transports-jms Sub-task Closed Andriy Redko
          24.
          Get rid of EasyMock in cxf-rt-management Sub-task Closed Andriy Redko
          25.
          Get rid of EasyMock in cxf-rt-rs-service-description Sub-task Closed Andriy Redko
          26.
          Get rid of EasyMock in cxf-rt-rs-client Sub-task Closed Andriy Redko
          27.
          Get rid of EasyMock in cxf-rt-rs-extension-providers Sub-task Closed Andriy Redko
          28.
          Get rid of EasyMock in cxf-rt-rs-extension-search Sub-task Closed Andriy Redko
          29.
          Get rid of EasyMock in cxf-rt-transports-http-undertow Sub-task Closed Andriy Redko
          30.
          Get rid of EasyMock in cxf-rt-rs-mp-client Sub-task Closed Andriy Redko
          31.
          Get rid of EasyMock in cxf-rt-rs-security-oauth2 Sub-task Closed Andriy Redko
          32.
          Get rid of EasyMock in cxf-rt-rs-security-oauth2-saml Sub-task Closed Andriy Redko
          33.
          Get rid of EasyMock in cxf-rt-rs-security-sso-oidc Sub-task Closed Andriy Redko
          34.
          Get rid of EasyMock in cxf-rt-transports-http-jetty Sub-task Closed Andriy Redko
          35.
          Get rid of EasyMock in cxf-rt-transports-http-netty-client Sub-task Closed Andriy Redko
          36.
          Get rid of EasyMock in cxf-rt-transports-http-netty-server Sub-task Closed Andriy Redko
          37.
          Get rid of EasyMock in cxf-rt-transports-http Sub-task Closed Andriy Redko
          38.
          Get rid of EasyMock in cxf-rt-transports-http-hc Sub-task Closed Andriy Redko
          39.
          Get rid of EasyMock in cxf-rt-rs-service-description-swagger Sub-task Closed Andriy Redko

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: