logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48012] New: Loader.getResource should honor the ignoreTCL property
Date Fri, 16 Oct 2009 16:21:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48012

           Summary: Loader.getResource should honor the ignoreTCL property
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Configurator
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: feldhacker.chris@principal.com


The org.apache.log4j.helpers.Loader.getResource method should honor the
"log4j.ignoreTCL" system property.  The ignoreTCL property is currently honored
by the loadClass method, but the same class loader issues exist when loading
resources as exists when loading classes.

In the getResource method, the current line:
      if(!java1) {
Should be changed to:
      if(!java1 && !ignoreTCL) {

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

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


Mime
View raw message