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 yo...@apache.org on 2004/08/26 17:25:13 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/nt nteventlog.cpp
yoavs 2004/08/26 08:25:13
Modified: . NOTICE.txt
src/java/org/apache/log4j/nt nteventlog.cpp
Log:
Added comments and amended NOTICE to properly attribute the Sun
JNI book. See Logging PMC mailing list discussion titled "potential
copyright issues" for details.
Revision Changes Path
1.2 +5 -0 logging-log4j/NOTICE.txt
Index: NOTICE.txt
===================================================================
RCS file: /home/cvs/logging-log4j/NOTICE.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NOTICE.txt 27 Feb 2004 16:47:27 -0000 1.1
+++ NOTICE.txt 26 Aug 2004 15:25:12 -0000 1.2
@@ -1,2 +1,7 @@
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
+
+This product includes source code based on Sun
+Microsystems' book titled "Java Nativer Interface:
+Programmer's Guide and Specification" and freely available
+to the public at http://java.sun.com/docs/books/jni.
1.5 +17 -0 logging-log4j/src/java/org/apache/log4j/nt/nteventlog.cpp
Index: nteventlog.cpp
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/nt/nteventlog.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nteventlog.cpp 3 Apr 2002 22:18:14 -0000 1.4
+++ nteventlog.cpp 26 Aug 2004 15:25:12 -0000 1.5
@@ -6,6 +6,23 @@
* the LICENSE.txt file.
*/
+/*
+ * Please note that this class contains code from the book titled
+ * "Java Native Interface: Programmer's Guide and Specification"
+ * which is freely available to the public at
+ * http://java.sun.com/docs/books/jni.
+ * The book is written by Sheng Liang and is copyrighted by
+ * Sun Microsystems.
+ *
+ * More specifically, the code is from Chapter 6 of the book,
+ * titled "Handling Exceptions" and located at
+ * http://java.sun.com/docs/books/jni/html/exceptions.html.
+ *
+ * Because these portions of the book are freely available to the
+ * public we did not seek explicit permission to use these contents
+ * in our not-for-profit project.
+ */
+
#ifndef NtEventLogAppender_h
#define NtEventLogAppender_h
#include "org_apache_log4j_Priority.h"
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org