Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.1.0.DR17
    • Fix Version/s: 7.1.0.DR18
    • Component/s: None
    • Labels:
      None

      Description

      There are many deprecation warnings in wfly code.

      Summary mvn -fn clean install -Dmaven.test.skip=true -Dmaven.compiler.showDeprecation=true | tee ~/Downloads/wildfly-build-log.txt:

      $ grep deprecated wildfly-build-log.txt | cut -d] -f3 | sort | uniq -c | sort -n -r
          113  builder(org.jboss.as.controller.PersistentResourceDefinition) in org.jboss.as.controller.PersistentResourceXMLDescription has been deprecated
           97  org.jboss.as.controller.ServiceVerificationHandler in org.jboss.as.controller has been deprecated
           54  stepCompleted() in org.jboss.as.controller.OperationContext has been deprecated
           30  org.jboss.as.server.deployment.DeploymentModelUtils in org.jboss.as.server.deployment has been deprecated
           27  org.jboss.metadata.property.PropertyResolver in org.jboss.metadata.property has been deprecated
           25  register(org.jboss.as.controller.transform.description.TransformationDescription,org.jboss.as.controller.SubsystemRegistration,org.jboss.as.controller.ModelVersionRange) in org.jboss.as.controller.transform.description.TransformationDescription.Tools has been deprecated
           25  org.xnio.Pool in org.xnio has been deprecated
           21  org.jboss.ejb.client.remoting.PackedInteger in org.jboss.ejb.client.remoting has been deprecated
           20  org.jboss.as.jpa.spi.PersistenceUnitService in org.jboss.as.jpa.spi has been deprecated
           19  org.apache.http.impl.client.DefaultHttpClient in org.apache.http.impl.client has been deprecated
           17  isRegisterTransformers() in org.jboss.as.controller.ExtensionContext has been deprecated
           16  setXmlName(java.lang.String) in org.jboss.as.controller.PropertiesAttributeDefinition.Builder has been deprecated
           16  io.undertow.servlet.api.ThreadSetupAction in io.undertow.servlet.api has been deprecated
           15  args() in org.jboss.jandex.MethodInfo has been deprecated
           14  org.wildfly.extension.undertow.filters.BasicAuthHandler in org.wildfly.extension.undertow.filters has been deprecated
           14  org.jboss.as.ejb3.component.EJBUtilities in org.jboss.as.ejb3.component has been deprecated
           13  org.jboss.as.jpa.spi.ManagementAdaptor in org.jboss.as.jpa.spi has been deprecated
           11  org.jboss.ejb.client.remoting.IoFutureHelper in org.jboss.ejb.client.remoting has been deprecated
           10  OPTIONAL in org.jboss.msc.service.ServiceBuilder.DependencyType has been deprecated
           10  JBOSS_BINDING_NAME in org.jboss.as.network.SocketBinding has been deprecated
            8  performRuntime(org.jboss.as.controller.OperationContext,org.jboss.dmr.ModelNode,org.jboss.dmr.ModelNode,org.jboss.as.controller.ServiceVerificationHandler,java.util.List<org.jboss.msc.service.ServiceController<?>>) in org.jboss.as.controller.AbstractAddStepHandler has been deprecated
            8  org.infinispan.interceptors.TxInterceptor in org.infinispan.interceptors has been deprecated
            8  org.infinispan.interceptors.CacheMgmtInterceptor in org.infinispan.interceptors has been deprecated
            8  org.infinispan.interceptors.ActivationInterceptor in org.infinispan.interceptors has been deprecated
            7  setRuntimeOnly(boolean) in org.jboss.as.controller.registry.ManagementResourceRegistration has been deprecated
            7  SERVICE_NAME in org.jboss.as.naming.service.NamingService has been deprecated
            7  builder(org.jboss.as.controller.PersistentResourceDefinition,java.lang.String) in org.jboss.as.controller.PersistentResourceXMLDescription has been deprecated
            7 
            6  org.jboss.ejb.client.remoting.NetworkUtil in org.jboss.ejb.client.remoting has been deprecated
            6  org.jboss.ejb.client.ClusterContext in org.jboss.ejb.client has been deprecated
            6  org.apache.http.conn.ssl.SSLSocketFactory in org.apache.http.conn.ssl has been deprecated
            6  io.undertow.servlet.handlers.security.ServletSingleSignOnAuthenticationMechainism in io.undertow.servlet.handlers.security has been deprecated
            6  com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBrowser in com.arjuna.ats.arjuna.tools.osb.mbean has been deprecated
            5  org.jboss.narayana.txframework.api.annotation.transaction.Compensatable in org.jboss.narayana.txframework.api.annotation.transaction has been deprecated
            5  org.jboss.narayana.txframework.api.annotation.service.ServiceRequest in org.jboss.narayana.txframework.api.annotation.service has been deprecated
            5  org.jboss.as.jpa.spi.JtaManager in org.jboss.as.jpa.spi has been deprecated
            5  org.hibernate.jpa.boot.spi.NamedInputStream in org.hibernate.jpa.boot.spi has been deprecated
            5  org.apache.http.protocol.ExecutionContext in org.apache.http.protocol has been deprecated
            5  org.apache.http.client.params.AuthPolicy in org.apache.http.client.params has been deprecated
            5  LOCAL_BIND_ADDRESS in org.jboss.as.messaging.CommonAttributes has been deprecated
            5  GROUP_PORT in org.jboss.as.messaging.CommonAttributes has been deprecated
            5  GROUP_ADDRESS in org.jboss.as.messaging.CommonAttributes has been deprecated
            4  weaved(java.util.Collection<org.jboss.invocation.InterceptorFactory>) in org.jboss.as.ee.component.AbstractComponentConfigurator has been deprecated
            4  SERVICE_NAME in org.wildfly.extension.requestcontroller.RequestController has been deprecated
            4  org.xnio.Pooled in org.xnio has been deprecated
            4  org.wildfly.clustering.provider.ServiceProviderRegistrationFactory in org.wildfly.clustering.provider has been deprecated
            4  org.infinispan.interceptors.InvalidationInterceptor in org.infinispan.interceptors has been deprecated
            4  org.apache.http.params.HttpParams in org.apache.http.params 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.ClientConnectionManager in org.apache.http.conn has been deprecated
            4  org.apache.http.auth.AuthSchemeFactory in org.apache.http.auth has been deprecated
            4  java.security.Identity in java.security has been deprecated
            4  io.undertow.security.api.SecurityContextFactory in io.undertow.security.api has been deprecated
            4  buildAndRegister(org.jboss.as.controller.SubsystemRegistration,org.jboss.as.controller.ModelVersion[
            3  SimpleResourceDefinition(org.jboss.as.controller.PathElement,org.jboss.as.controller.descriptions.ResourceDescriptionResolver,org.jboss.as.controller.OperationStepHandler,org.jboss.as.controller.OperationStepHandler,org.jboss.as.controller.registry.OperationEntry.Flag,org.jboss.as.controller.registry.OperationEntry.Flag) in org.jboss.as.controller.SimpleResourceDefinition has been deprecated
            3  setWrapXmlElement(boolean) in org.jboss.as.controller.PropertiesAttributeDefinition.Builder has been deprecated
            3  REMOTING_INTERCEPTORS in org.jboss.as.messaging.CommonAttributes has been deprecated
            3  OUTBOUND_SOCKET_BINDING_BASE_SERVICE_NAME in org.jboss.as.network.OutboundSocketBinding has been deprecated
            3  org.wildfly.extension.batch.JobRepositoryDefinition in org.wildfly.extension.batch has been deprecated
            3  org.jboss.marshalling.reflect.SunReflectiveCreator in org.jboss.marshalling.reflect has been deprecated
            3  org.jboss.marshalling.Creator in org.jboss.marshalling has been deprecated
            3  org.jboss.ejb.client.naming.ejb.EjbNamingContextSetup in org.jboss.ejb.client.naming.ejb has been deprecated
            3  org.jboss.ejb.client.EJBClientContextInitializer in org.jboss.ejb.client has been deprecated
            3  LOCAL_BIND_PORT in org.jboss.as.messaging.CommonAttributes has been deprecated
            3  javax.faces.el.VariableResolver in javax.faces.el has been deprecated
            3  javax.faces.el.ValueBinding in javax.faces.el has been deprecated
            3  javax.faces.el.ReferenceSyntaxException in javax.faces.el has been deprecated
            3  javax.faces.el.PropertyResolver in javax.faces.el has been deprecated
            3  javax.faces.el.MethodBinding in javax.faces.el has been deprecated
            2  setResponseCode(int) in io.undertow.server.HttpServerExchange has been deprecated
            2  recreateParentService(org.jboss.as.controller.OperationContext,org.jboss.as.controller.PathAddress,org.jboss.dmr.ModelNode,org.jboss.as.controller.ServiceVerificationHandler) in org.jboss.as.controller.RestartParentWriteAttributeHandler has been deprecated
            2  PROFILE in org.jboss.as.connector.subsystems.datasources.Constants has been deprecated
            2  ProductConfig(org.jboss.modules.ModuleLoader,java.lang.String,java.util.Map<?,?>) in org.jboss.as.version.ProductConfig has been deprecated
            2  JOB_REPOSITORY_TYPE in org.wildfly.extension.batch.BatchSubsystemDefinition has been deprecated
            2  interfaces() in org.jboss.jandex.ClassInfo has been deprecated
            2  getInstance(org.jboss.as.arquillian.container.ManagementClient) in org.jboss.as.test.integration.common.jms.JMSOperationsProvider has been deprecated
            2  getDeploymentSubsystemModel(java.lang.String) in org.jboss.as.server.deployment.DeploymentUnit has been deprecated
            2  ENABLE_CONNECTOR_STATISTICS in io.undertow.UndertowOptions has been deprecated
            2  CompositePropertyResolver(java.util.Collection<org.jboss.metadata.property.PropertyResolver>) in org.jboss.metadata.property.CompositePropertyResolver has been deprecated
            1  tearDown(org.jboss.as.controller.client.ModelControllerClient,java.lang.String) in org.jboss.as.test.integration.security.common.AbstractBaseSecurityRealmsServerSetupTask has been deprecated
            1  SimpleResourceDefinition(org.jboss.as.controller.PathElement,org.jboss.as.controller.descriptions.ResourceDescriptionResolver,org.jboss.as.controller.OperationStepHandler,org.jboss.as.controller.OperationStepHandler,boolean) in org.jboss.as.controller.SimpleResourceDefinition has been deprecated
            1  setup(org.jboss.as.controller.client.ModelControllerClient,java.lang.String) in org.jboss.as.test.integration.security.common.AbstractBaseSecurityRealmsServerSetupTask has been deprecated
            1  setExcludedContexts(java.lang.String) in org.jboss.modcluster.config.impl.ModClusterConfig has been deprecated
            1  setDefaultBootstrapContext(org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext) in org.jboss.jca.deployers.common.Configuration has been deprecated
            1  setBootstrapContexts(java.util.Map<java.lang.String,org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext>) in org.jboss.jca.deployers.common.Configuration has been deprecated
            1  resolvingReplacer(org.jboss.metadata.property.PropertyResolver) in org.jboss.metadata.property.PropertyReplacers has been deprecated
            1  resolveResource(javax.enterprise.inject.spi.InjectionPoint) in org.jboss.weld.injection.spi.ResourceInjectionServices has been deprecated
            1  resolveResource(java.lang.String,java.lang.String) in org.jboss.weld.injection.spi.ResourceInjectionServices has been deprecated
            1  resolvePersistenceUnit(javax.enterprise.inject.spi.InjectionPoint) in org.jboss.weld.injection.spi.JpaInjectionServices has been deprecated
            1  resolvePersistenceContext(javax.enterprise.inject.spi.InjectionPoint) in org.jboss.weld.injection.spi.JpaInjectionServices has been deprecated
            1  resolveEjb(javax.enterprise.inject.spi.InjectionPoint) in org.jboss.weld.injection.spi.EjbInjectionServices has been deprecated
            1  registerConnection(org.jboss.remoting3.Connection) in org.jboss.ejb.client.EJBClientContext has been deprecated
            1  performBoottime(org.jboss.as.controller.OperationContext,org.jboss.dmr.ModelNode,org.jboss.dmr.ModelNode,org.jboss.as.controller.ServiceVerificationHandler,java.util.List<org.jboss.msc.service.ServiceController<?>>) in org.jboss.as.controller.AbstractBoottimeAddStepHandler has been deprecated
            1  passwordAgain() in org.jboss.as.security.logging.SecurityLogger has been deprecated
            1  overflowToDisk(boolean) in net.sf.ehcache.config.CacheConfiguration has been deprecated
            1  org.wildfly.clustering.service.SubGroupServiceNameFactory in org.wildfly.clustering.service has been deprecated
            1  of(java.lang.String,org.jboss.as.controller.services.path.PathManager) in org.jboss.as.controller.services.path.ResolvePathHandler.Builder has been deprecated
            1  logout() in org.jboss.security.authentication.JBossCachedAuthenticationManager.DomainInfo has been deprecated
            1  isShared() in org.wildfly.clustering.jgroups.spi.TransportConfiguration has been deprecated
            1  isDynamicDependent() in org.jboss.as.controller.CapabilityReferenceRecorder has been deprecated
            1  HTTP_PROXY_HOST in org.apache.http.protocol.ExecutionContext has been deprecated
            1  HttpOpenListener(org.xnio.Pool<java.nio.ByteBuffer>,org.xnio.OptionMap) in io.undertow.server.protocol.http.HttpOpenListener has been deprecated
            1  getThreadSetupAction() in io.undertow.servlet.api.Deployment has been deprecated
            1  getParams() in org.apache.http.client.HttpClient has been deprecated
            1  getDefaultBootstrapContext() in org.jboss.jca.deployers.common.Configuration has been deprecated
            1  getConnectionManager() in org.apache.http.client.HttpClient has been deprecated
            1  getChild(java.net.URL) in org.jboss.vfs.VFS has been deprecated
            1  getBootstrapContexts() in org.jboss.jca.deployers.common.Configuration has been deprecated
            1  getBaseUrls() in org.apache.myfaces.spi.AnnotationProvider has been deprecated
            1  getBaseDependentName() in org.jboss.as.controller.CapabilityReferenceRecorder has been deprecated
            1  FINAL_PROPERTY_RESOLVER in org.jboss.as.ee.metadata.property.Attachments has been deprecated
            1  exit(int) in org.jboss.as.server.SystemExiter has been deprecated
            1  ENABLE_SPDY in io.undertow.UndertowOptions has been deprecated
            1  createDeploymentSubModel(java.lang.String,org.jboss.as.controller.PathElement) in org.jboss.as.server.deployment.DeploymentUnit has been deprecated
            1  createDeploymentSubModel(java.lang.String,org.jboss.as.controller.PathAddress,org.jboss.as.controller.registry.Resource) in org.jboss.as.server.deployment.DeploymentUnit has been deprecated
            1  createDeploymentSubModel(java.lang.String,org.jboss.as.controller.PathAddress) in org.jboss.as.server.deployment.DeploymentUnit has been deprecated
            1  asNamedInputStream() in org.hibernate.jpa.boot.spi.InputStreamAccess has been deprecated
            1  addOptionalRequirements(java.lang.String...) in org.jboss.as.controller.capability.RuntimeCapability.Builder has been deprecated
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ctomc Tomaž Cerar
                  Reporter:
                  ctomc Tomaž Cerar
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: