Bug 36434

Summary: Patch: Make JMX build time detection work with jdk 1.5
Product: Log4j - Now in Jira Reporter: Martin von Gagern <Martin.vGagern>
Component: OtherAssignee: log4j-dev <log4j-dev>
Status: RESOLVED FIXED    
Severity: normal CC: kay.abendroth
Priority: P2 Keywords: JDK1.5, PatchAvailable
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
URL: http://bugs.gentoo.org/show_bug.cgi?id=79206#c69
Attachments: log4j-1.2.11-java15

Description Martin von Gagern 2005-08-31 10:10:31 UTC
The check for jmx in the build.xml does not work for jdk 1.5 since
javax.management.MBeanInfo is now included in the core API, but
com.sun.jdmk.comm.HtmlAdaptorServer is not. So I suggest to check for
HtmlAdaptorServer instead. I also suggest to set the source version to get rid
of some ant warnings. I will append a patch that does those two modifications.
There are still a lot of deprecation warnings, but I'm not sure if this is an
issue or not.
Comment 1 Martin von Gagern 2005-08-31 10:11:09 UTC
Created attachment 16261 [details]
log4j-1.2.11-java15
Comment 2 Kay Abendroth 2006-11-12 10:32:25 UTC
Does it still apply to version 1.2.14?

I think this is related/duplicate of #35831, which was fixed before release of
1.2.12.
Comment 3 Curt Arnold 2007-08-22 16:08:52 UTC
I believe this is fixed.