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 12944] New: - Extra ";" in class JMSAppender
Date Tue, 24 Sep 2002 06:51:16 GMT
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=12944>.
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=12944

Extra ";" in class JMSAppender

           Summary: Extra ";" in class JMSAppender
           Product: Log4j
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Other
        AssignedTo: log4j-dev@jakarta.apache.org
        ReportedBy: garrybor@ecquaria.com


Line 322 in the java source file org.apache.log4j.netJMSAppender contains an 
extra ";".  This will cause a compilation error under JDK1.4.

\src\java\org\apache\log4j\net\JMSAppender.java:332
: unreachable statement
    [javac]     return urlPkgPrefixes;;
    [javac]                           ^
    [javac] 1 error

Replace

321  String getURLPkgPrefixes( ) {
322    return urlPkgPrefixes;;
323  }

with 

321  String getURLPkgPrefixes( ) {
322    return urlPkgPrefixes;
323  }


I downloaded the package from http://jakarta.apache.org/log4j/jakarta-log4j-
1.2.6.zip, which is linked from 
http://jakarta.apache.org/log4j/docs/download.html

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message