This PR resolves the following issue #28868 I tried to apply the practices used in prior deprecation (ex : PropertyPlaceholderConfigurer, FailureCallback) which are :

  • Deprecate all classes fully related to theming
  • Update javadoc with @deprecated as of 6.0, with no direct replacement
  • Remove imports in other classes
  • Deprecate methods and classes related to theming in other classes
  • Update javadoc in other classes with Theme support is deprecated as of 6.0
  • Suppress the deprecation warnings in test classes

Comment From: bclozel

Thanks @Nheyll , this will be in the next milestone!