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

           Summary: log4j 1.2 does not build on JDK 1.5
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


javac tasks specify the bytecode target as 1.1 but do not specify the java 
source language version.  The 
JDK 1.5's javac's default source version is "1.5" and it does not support 
creating JDK 1.1 bytecode from 
JDK 1.5 source.  If the source is specified as "1.3", then the compiler will 
not accept any JDK 1.4 (assert) 
or JDK 1.5 (generics) specific constructs and can generate JDK 1.1 compatible 
bytecode.

In addition, some of Java Management Extensions are included in JDK 1.5, but 
not the 
"com.sun.jdmk.comm.HtmlAdaptorServer" from the unsupported jmxtools.jar.  I've 
modified the 
determination of jmx-available to require the previous marker class and 
HtmlAdaptorServer to be 
available.

The serialization of exceptions seemed to be slightly changed (but possibly not 
in an incompatible way) 
and I lower the point at which testSerializationWithException stops comparing 
against the witness.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to