Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-48

Checking for JDK 1.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0.3
    • None
    • Operating System: All
      Platform: All

    • 16606

    Description

      In LogFactoryImpl it is checked for a JDK 1.4 being avaible by trying to load
      class java.util.logging.Logger. When using <a
      href="http://javalogging.sourceforge.net/">lumberjack</a> under JDK 1.3 it is
      therefore assumed that JDK 1.4 is available which is surely not the case. You
      will receive a java.lang.NoSuchMethodError when tying to call
      Throwable.getStackTrace() in class Jdk14Logger.
      I would suggest to use another new class in JDK 1.4 to check for its existence.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wen@eigner.com Andreas Wendt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: