Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1549

Many deprecation warnings in RESTEasy code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Beta1
    • 3.1.0.CR3
    • None
    • None

    Description

      There are many deprecation warnings in the code.

      Summary mvn -fn clean install -Dmaven.test.skip=true -Dmaven.compiler.showDeprecation=true:

      grep deprecated Resteasy-build-log.txt | cut -d] -f3 | sort | uniq -c | sort -n -r
           31  org.jboss.resteasy.spi.StringConverter in org.jboss.resteasy.spi has been deprecated
           20  org.bouncycastle.openssl.PEMWriter in org.bouncycastle.openssl has been deprecated
           16  org.jboss.resteasy.annotations.Suspend in org.jboss.resteasy.annotations has been deprecated
           16  javax.xml.bind.Validator in javax.xml.bind has been deprecated
           14  io.netty.handler.codec.http.HttpHeaders.Names in io.netty.handler.codec.http.HttpHeaders has been deprecated
           12  org.jboss.resteasy.client.ClientRequest in org.jboss.resteasy.client has been deprecated
           11  org.apache.http.impl.client.DefaultHttpClient in org.apache.http.impl.client has been deprecated
           11  org.apache.http.client.params.HttpClientParams in org.apache.http.client.params has been deprecated
           11  io.netty.handler.codec.http.HttpHeaders.Values in io.netty.handler.codec.http.HttpHeaders has been deprecated
           10  org.apache.http.conn.params.ConnRoutePNames in org.apache.http.conn.params has been deprecated
           10  org.apache.http.conn.ClientConnectionManager in org.apache.http.conn has been deprecated
            8  org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer in org.jboss.resteasy.plugins.server.tjws has been deprecated
            8  org.jboss.resteasy.client.ClientResponse in org.jboss.resteasy.client has been deprecated
            7  org.jboss.resteasy.spi.interception.AcceptedByMethod in org.jboss.resteasy.spi.interception has been deprecated
            6  org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider in org.jboss.resteasy.plugins.providers.jackson has been deprecated
            6  org.bouncycastle.x509.X509V1CertificateGenerator in org.bouncycastle.x509 has been deprecated
            6  Acme.Serve.Serve in Acme.Serve has been deprecated
            5  org.jboss.resteasy.spi.interception.ClientExecutionInterceptor in org.jboss.resteasy.spi.interception has been deprecated
            5  org.jboss.resteasy.client.ClientExecutor in org.jboss.resteasy.client has been deprecated
            5  org.apache.http.params.SyncBasicHttpParams in org.apache.http.params has been deprecated
            5  org.apache.http.params.HttpParams in org.apache.http.params has been deprecated
            4  org.jboss.resteasy.spi.AsynchronousResponse in org.jboss.resteasy.spi has been deprecated
            4  org.jboss.resteasy.plugins.server.tjws.TJWSServletServer in org.jboss.resteasy.plugins.server.tjws has been deprecated
            4  org.jboss.resteasy.plugins.server.tjws.TJWSRequestPreProcessor in org.jboss.resteasy.plugins.server.tjws has been deprecated
            4  org.jboss.resteasy.client.Link in org.jboss.resteasy.client has been deprecated
            4  org.jboss.resteasy.client.cache.BrowserCache in org.jboss.resteasy.client.cache has been deprecated
            4  org.apache.http.params.HttpConnectionParams in org.apache.http.params has been deprecated
            4  org.apache.http.params.BasicHttpParams in org.apache.http.params has been deprecated
            4  org.apache.http.impl.conn.PoolingClientConnectionManager in org.apache.http.impl.conn has been deprecated
            4  org.apache.http.impl.conn.BasicClientConnectionManager in org.apache.http.impl.conn has been deprecated
            4  org.apache.http.conn.ssl.X509HostnameVerifier in org.apache.http.conn.ssl has been deprecated
            4  org.apache.http.conn.ssl.StrictHostnameVerifier in org.apache.http.conn.ssl has been deprecated
            4  org.apache.http.conn.ssl.SSLSocketFactory in org.apache.http.conn.ssl has been deprecated
            4  org.apache.http.conn.ssl.BrowserCompatHostnameVerifier in org.apache.http.conn.ssl has been deprecated
            4  org.apache.http.conn.ssl.AllowAllHostnameVerifier in org.apache.http.conn.ssl has been deprecated
            4  org.apache.http.conn.scheme.SchemeRegistry in org.apache.http.conn.scheme has been deprecated
            4  org.apache.http.conn.scheme.Scheme in org.apache.http.conn.scheme has been deprecated
            4  org.apache.http.conn.scheme.PlainSocketFactory in org.apache.http.conn.scheme has been deprecated
            4  encode(java.lang.String) in java.net.URLEncoder has been deprecated
            3  org.jboss.resteasy.util.GenericType in org.jboss.resteasy.util has been deprecated
            3  org.jboss.resteasy.spi.interception.MessageBodyWriterInterceptor in org.jboss.resteasy.spi.interception has been deprecated
            3  org.jboss.resteasy.spi.interception.MessageBodyReaderInterceptor in org.jboss.resteasy.spi.interception has been deprecated
            3  org.jboss.resteasy.core.interception.WriterInterceptorRegistry in org.jboss.resteasy.core.interception has been deprecated
            3  org.jboss.resteasy.core.interception.ReaderInterceptorRegistry in org.jboss.resteasy.core.interception has been deprecated
            3  org.jboss.resteasy.client.ClientResponseFailure in org.jboss.resteasy.client has been deprecated
            2  org.jboss.resteasy.spi.interception.PreProcessInterceptor in org.jboss.resteasy.spi.interception has been deprecated
            2  org.jboss.resteasy.spi.interception.PostProcessInterceptor in org.jboss.resteasy.spi.interception has been deprecated
            2  org.jboss.resteasy.core.SuspendInjector in org.jboss.resteasy.core has been deprecated
            2  org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry in org.jboss.resteasy.core.interception has been deprecated
            2  org.jboss.resteasy.core.interception.InterceptorRegistry in org.jboss.resteasy.core.interception has been deprecated
            2  org.jboss.resteasy.core.interception.ContainerResponseFilterRegistry in org.jboss.resteasy.core.interception has been deprecated
            2  org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry in org.jboss.resteasy.core.interception has been deprecated
            2  org.jboss.resteasy.core.interception.ClientResponseFilterRegistry in org.jboss.resteasy.core.interception has been deprecated
            2  org.jboss.resteasy.client.ProxyConfig in org.jboss.resteasy.client has been deprecated
            2  org.jboss.resteasy.client.LinkHeader in org.jboss.resteasy.client has been deprecated
            2  org.jboss.resteasy.client.EntityTypeFactory in org.jboss.resteasy.client has been deprecated
            2  org.jboss.resteasy.client.core.marshallers.ResteasyClientProxy in org.jboss.resteasy.client.core.marshallers has been deprecated
            2  maxEntries(int) in org.infinispan.configuration.cache.EvictionConfigurationBuilder has been deprecated
            2  getParams() in org.apache.http.message.AbstractHttpMessage has been deprecated
            2  Acme.Utils in Acme has been deprecated
            2 
            1  withType(java.lang.reflect.Type) in com.fasterxml.jackson.databind.ObjectReader has been deprecated
            1  withType(com.fasterxml.jackson.databind.JavaType) in com.fasterxml.jackson.databind.ObjectWriter has been deprecated
            1  setTransferEncodingChunked(io.netty.handler.codec.http.HttpMessage) in io.netty.handler.codec.http.HttpHeaders has been deprecated
            1  org.jboss.resteasy.spi.interception.MessageBodyWriterContext in org.jboss.resteasy.spi.interception has been deprecated
            1  org.jboss.resteasy.spi.interception.MessageBodyReaderContext in org.jboss.resteasy.spi.interception has been deprecated
            1  org.jboss.resteasy.spi.interception.ClientExecutionContext in org.jboss.resteasy.spi.interception has been deprecated
            1  org.jboss.resteasy.core.interception.ClientWriterInterceptorContext in org.jboss.resteasy.core.interception has been deprecated
            1  org.jboss.resteasy.core.interception.ClientReaderInterceptorContext in org.jboss.resteasy.core.interception has been deprecated
            1  org.jboss.resteasy.core.interception.ClientExecutionContextImpl in org.jboss.resteasy.core.interception has been deprecated
            1  org.jboss.resteasy.client.ProxyBuilder in org.jboss.resteasy.client has been deprecated
            1  org.jboss.resteasy.client.ClientURI in org.jboss.resteasy.client has been deprecated
            1  org.jboss.resteasy.annotations.providers.NoJackson in org.jboss.resteasy.annotations.providers has been deprecated
            1  org.jboss.resteasy.annotations.legacy.ClientResponseType in org.jboss.resteasy.annotations.legacy has been deprecated
            1  org.apache.http.impl.client.TunnelRefusedException in org.apache.http.impl.client has been deprecated
            1  javax.servlet.SingleThreadModel in javax.servlet has been deprecated
            1  javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
            1  isKeepAlive(io.netty.handler.codec.http.HttpMessage) in io.netty.handler.codec.http.HttpHeaders has been deprecated
            1  is100ContinueExpected(io.netty.handler.codec.http.HttpMessage) in io.netty.handler.codec.http.HttpHeaders has been deprecated
            1  insertInterceptorPrecedenceBefore(java.lang.String,java.lang.String) in org.jboss.resteasy.spi.ResteasyProviderFactory has been deprecated
            1  insertInterceptorPrecedenceAfter(java.lang.String,java.lang.String) in org.jboss.resteasy.spi.ResteasyProviderFactory has been deprecated
            1  getUri() in io.netty.handler.codec.http.HttpRequest has been deprecated
            1  getParams() in org.apache.http.client.HttpClient has been deprecated
            1  getMethod() in io.netty.handler.codec.http.HttpRequest has been deprecated
            1  getJsonFactory() in com.fasterxml.jackson.databind.ObjectMapper has been deprecated
            1  getHost(io.netty.handler.codec.http.HttpMessage,java.lang.String) in io.netty.handler.codec.http.HttpHeaders has been deprecated
            1  generateX509Certificate(java.security.PrivateKey,java.lang.String) in org.bouncycastle.x509.X509V1CertificateGenerator has been deprecated
            1  createJsonParser(java.io.InputStream) in com.fasterxml.jackson.core.JsonFactory has been deprecated
            1  createContextLoader() in org.springframework.web.context.ContextLoaderListener has been deprecated
            1  appendInterceptorPrecedence(java.lang.String) in org.jboss.resteasy.spi.ResteasyProviderFactory has been deprecated
            1  Acme.Serve.SSLAcceptor in Acme.Serve has been deprecated
      

      Please avoid using deprecated methods and classes.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: