You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2005/07/27 12:50:37 UTC

DO NOT REPLY [Bug 35893] New: - Loader.getResource has broken compatibility with Log4J 1.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35893>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35893

           Summary: Loader.getResource has broken compatibility with Log4J
                    1.1
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: niall.smart@friendsfirst.ie


The signature of org.apache.log4j.helpers.Loader.getResource() has changed
between 1.1 and 1.2.   In 1.1, it is:

    public static URL getResource(String resource, Class clazz) 

In 1.2, it changed to:

    public static URL getResource(String resource)

We are using 3rd party software that relies on the first method signature, so we
see a NoSuchMethodError when using 1.2.   We would like to updated to 1.2 to
make use of the MDC class.   Can a backwards compatibility method be added to
this class?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org