Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-299

ErrorHandler should be an "interface", not a "class" - causes IncompatibleClassChangeError

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: log4j-over-slf4j
    • Labels:
      None
    • Environment:

      Operating System: Windows NT
      Platform: PC

      Description

      If log4j-over-slf4j is used with code that has a class that "implement ErrorHandler", the class cannot be loaded and results in an IncompatibleClassChangeError

      Changing the "class" keyword to "interface" in ErrorHandler.java fixes the problem.

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              brettv Brett Vasconcellos
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: