You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/11/03 14:19:30 UTC

DO NOT REPLY [Bug 24353] New: - Log interface should be loaded by loadClass method

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24353

Log interface should be loaded by loadClass method

           Summary: Log interface should be loaded by loadClass method
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Logging
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jaynes@umich.edu


In LogFactoryImpl.getLogConstructor(), the Log interface may not have been
loaded by the same classloader as the log implementation, so the
isAssignableFrom test fails. To be consistent, the Log interface should be
loaded by the loadClass() method, just as the logClass is.  --Will Jaynes

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