Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit c11c645

Browse files
committed
Disable potentially unsafe networking code in log4j.net.
Disables: * JMSAppender * JMSSink * SimpleSocketServer * SocketHubAppender * SocketServer These classes now log an error instead of making network connections. Their external APIs should remain intact to allow code using them to migrate without blowing up before runtime, in many cases. Added tests for the remaining behavior.
1 parent cdb674e commit c11c645

21 files changed

+386
-1810
lines changed

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ Building of NTEventLogappender.dll is disabled. Use an older log4j to get it.
179179
<include>org/apache/log4j/xml/CustomLevelTestCase.java</include>
180180
<include>org/apache/log4j/customLogger/XLoggerTestCase.java</include>
181181
<!-- DefaultInit -->
182-
<!-- SocketServer -->
183182
<include>org/apache/log4j/xml/XMLLayoutTestCase.java</include>
184183
<include>org/apache/log4j/xml/AsyncAppenderTestCase.java</include>
185184
<include>org/apache/log4j/varia/LevelMatchFilterTestCase.java</include>

0 commit comments

Comments
 (0)