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

Mark classes in org.jboss.resteasy.logging in resteasy-legacy module as deprecated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.21.Final
    • 3.1.0.Final
    • None
    • None

      The classes in resteasy-legacy module - in package org.jboss.resteasy.logging should be marked as deprecated:

      • org.jboss.resteasy.logging.Logger
      • org.jboss.resteasy.logging.impl.JULLogger
      • org.jboss.resteasy.logging.impl.Log4jLogger
      • org.jboss.resteasy.logging.impl.Slf4jLogger

      They can be directly used by client/application and since Resteasy 3.1.0 the module resteasy-legacy module is not enabled by default, so usage of such classes causes NoClassDefFoundError on the server side.

      It is not documented in javadocs - https://docs.jboss.org/resteasy/docs/3.1.0.Final/javadocs/ so it is not easy to find out which module to add to make this work or even know that this is actually deprecated.

      Adding @Deprecated annotations together with the suggested replacement (jboss.logging) would make things clearer.

              psotirop@redhat.com Panagiotis Sotiropoulos (Inactive)
              kanovotn Katerina Odabasi
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: