Bug 39437 - NTEventLogAppender uses code from JNI Prog Manual
NTEventLogAppender uses code from JNI Prog Manual
Status: RESOLVED FIXED
Product: Log4j
Classification: Unclassified
Component: Appender
1.3alpha
Other other
: P2 normal
: ---
Assigned To: log4j-dev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-04-27 22:59 UTC by Curt Arnold
Modified: 2006-04-27 16:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2006-04-27 22:59:31 UTC
Discussed on log4j-dev on 19 Mar 2006
(http://marc.theaimsgroup.com/?l=log4j-dev&m=114274873223429&w=2).

Janet Campbell of Eclipse Foundation Inc. expressed concerns that
src/java/org/apache/log4j/nt/nteventlog.cpp contained about 60 lines of code
that  was copied  from "The Java Native Interface: Programmer's Guide and
Specification"  (http://java.sun.com/docs/books/jni).  The code was used to
perform an unnecessary conversion of Java strings to the local code page. 
nteventlog.cpp in the trunk has been modified to avoid the unnecessary
conversion and no longer contains the code of concern.
Comment 1 Curt Arnold 2006-04-27 23:00:48 UTC
Committed rev 397672.