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/08/18 22:52:35 UTC

DO NOT REPLY [Bug 36263] New: - org.apache.log4j.chainsaw.LoadXMLAction fails to compile due to gcj bug

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=36263>.
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=36263

           Summary: org.apache.log4j.chainsaw.LoadXMLAction fails to compile
                    due to gcj bug
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: chainsaw
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: carnold@apache.org


The constructor for this class fails to compile with gcj 3.3.5 with a spurious
message that it should have an throws Exception clause though the existing
throws clause catches everything that could be thrown.  Attempts to catch the
"spurious" exception and wrap it as a SAXException also fails to compile with
gcj.  The only known workaround was to change the throws clause which actually
isn't a terrible solution since the neither the class or the constructor is not
publically visible and the code that calls it does require modification.

It is not known if this is a known bug in gcj.

-- 
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