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 ca...@apache.org on 2006/01/27 01:25:54 UTC

svn commit: r372671 - in /logging/log4j/trunk: build.properties.sample docs/HISTORY.txt tests/src/java/org/apache/log4j/spi/LoggingEventTest.java tests/src/java/org/apache/log4j/watchdog/FileWatchdogTestCase.java

Author: carnold
Date: Thu Jan 26 16:25:38 2006
New Revision: 372671

URL: http://svn.apache.org/viewcvs?rev=372671&view=rev
Log:
Bug 38406: Updated tests for JDK 1.3

Modified:
    logging/log4j/trunk/build.properties.sample
    logging/log4j/trunk/docs/HISTORY.txt
    logging/log4j/trunk/tests/src/java/org/apache/log4j/spi/LoggingEventTest.java
    logging/log4j/trunk/tests/src/java/org/apache/log4j/watchdog/FileWatchdogTestCase.java

Modified: logging/log4j/trunk/build.properties.sample
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/build.properties.sample?rev=372671&r1=372670&r2=372671&view=diff
==============================================================================
--- logging/log4j/trunk/build.properties.sample (original)
+++ logging/log4j/trunk/build.properties.sample Thu Jan 26 16:25:38 2006
@@ -54,11 +54,11 @@
 # standard extensions. These extensions ship with JDK 1.4 and later
 # but not JDK 1.3 or 1.2.
 #
-# Download it from
+# Download JDBC 2.0 Optional Package Binary from
 #
 #  http://java.sun.com/products/jdbc/download.html#spec
 #
-#jdbc-stdext.jar=/java/lib/jdbc2_0-stdext.jar
+#jdbc-stdext.jar=${lib.home.dir}/jdbc2_0-stdext.jar
 
 # ---------------------------------------------------
 # JNDI API REQUIRED when building log4j with JDK 1.2)

Modified: logging/log4j/trunk/docs/HISTORY.txt
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/docs/HISTORY.txt?rev=372671&r1=372670&r2=372671&view=diff
==============================================================================
--- logging/log4j/trunk/docs/HISTORY.txt (original)
+++ logging/log4j/trunk/docs/HISTORY.txt Thu Jan 26 16:25:38 2006
@@ -27,7 +27,8 @@
  
  - Bug 37960: Updated documentation generation to use Velocity 1.4 and 
    eliminated dependency on logging-site module.
-   
+
+ - Bug 38406: Removed inadvertent JDK 1.4 dependencies.   
 
    October 12th, 2005
  - Release of version 1.3alpha-7

Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/spi/LoggingEventTest.java
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/tests/src/java/org/apache/log4j/spi/LoggingEventTest.java?rev=372671&r1=372670&r2=372671&view=diff
==============================================================================
--- logging/log4j/trunk/tests/src/java/org/apache/log4j/spi/LoggingEventTest.java (original)
+++ logging/log4j/trunk/tests/src/java/org/apache/log4j/spi/LoggingEventTest.java Thu Jan 26 16:25:38 2006
@@ -74,7 +74,7 @@
 
     int[] skip = new int[] { 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 600, 734, 735, 1511 };
     SerializationTestHelper.assertSerializationEquals(
-      "witness/serialization/exception.bin", event, skip, 1079);
+      "witness/serialization/exception.bin", event, skip, 591);
   }
 
   /**
@@ -93,7 +93,7 @@
 
     int[] skip = new int[] { 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362 };
     SerializationTestHelper.assertSerializationEquals(
-      "witness/serialization/location.bin", event, skip, Integer.MAX_VALUE);
+      "witness/serialization/location.bin", event, skip, 479);
   }
 
   /**

Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/watchdog/FileWatchdogTestCase.java
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/tests/src/java/org/apache/log4j/watchdog/FileWatchdogTestCase.java?rev=372671&r1=372670&r2=372671&view=diff
==============================================================================
--- logging/log4j/trunk/tests/src/java/org/apache/log4j/watchdog/FileWatchdogTestCase.java (original)
+++ logging/log4j/trunk/tests/src/java/org/apache/log4j/watchdog/FileWatchdogTestCase.java Thu Jan 26 16:25:38 2006
@@ -47,7 +47,7 @@
       if (dst.exists()) {
           assertTrue(dst.delete());
       }
-      FileOutputStream out = new FileOutputStream(dst, false);
+      FileOutputStream out = new FileOutputStream(dst);
       FileInputStream in = new FileInputStream(src);
       byte[] buffer = new byte[1024];
       int size;



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org