[kaffe] CVS kaffe (dalibor): Resynced java.util.logging with GNU Classpath
Kaffe CVS
cvs-commits at kaffe.org
Thu Apr 22 03:03:02 PDT 2004
PatchSet 4675
Date: 2004/04/22 09:59:52
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Resynced java.util.logging with GNU Classpath
2004-04-22 Dalibor Topic <robilad at kaffe.org>
* libraries/javalib/java/util/logging/ConsoleHandler.java,
libraries/javalib/java/util/logging/FileHandler.java,
libraries/javalib/java/util/logging/Formatter.java,
libraries/javalib/java/util/logging/Handler.java,
libraries/javalib/java/util/logging/LogManager.java,
libraries/javalib/java/util/logging/Logger.java,
libraries/javalib/java/util/logging/MemoryHandler.java,
libraries/javalib/java/util/logging/SimpleFormatter.java,
libraries/javalib/java/util/logging/SocketHandler.java,
libraries/javalib/java/util/logging/XMLFormatter.java:
Resynced with GNU Claspath.
2004-04-22 Dalibor Topic <robilad at kaffe.org>
* java/util/logging/FileHandler.java,
java/util/logging/Formatter.java,
java/util/logging/Handler.java,
java/util/logging/Logger.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/XMLFormatter.java:
Cleaned up imports.
2004-04-17 Michael Koch <konqueror at gmx.de>
* java/util/logging/ConsoleHandler.java,
java/util/logging/LogManager.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SocketHandler.java:
Fixed HTML tags in javadocs all over.
Members:
ChangeLog:1.2251->1.2252
libraries/javalib/java/util/logging/ConsoleHandler.java:1.1->1.2
libraries/javalib/java/util/logging/FileHandler.java:1.3->1.4
libraries/javalib/java/util/logging/Formatter.java:1.2->1.3
libraries/javalib/java/util/logging/Handler.java:1.3->1.4
libraries/javalib/java/util/logging/LogManager.java:1.6->1.7
libraries/javalib/java/util/logging/Logger.java:1.3->1.4
libraries/javalib/java/util/logging/MemoryHandler.java:1.1->1.2
libraries/javalib/java/util/logging/SimpleFormatter.java:1.3->1.4
libraries/javalib/java/util/logging/SocketHandler.java:1.1->1.2
libraries/javalib/java/util/logging/XMLFormatter.java:1.4->1.5
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2251 kaffe/ChangeLog:1.2252
--- kaffe/ChangeLog:1.2251 Thu Apr 22 09:22:35 2004
+++ kaffe/ChangeLog Thu Apr 22 09:59:52 2004
@@ -1,5 +1,37 @@
2004-04-22 Dalibor Topic <robilad at kaffe.org>
+ * libraries/javalib/java/util/logging/ConsoleHandler.java,
+ libraries/javalib/java/util/logging/FileHandler.java,
+ libraries/javalib/java/util/logging/Formatter.java,
+ libraries/javalib/java/util/logging/Handler.java,
+ libraries/javalib/java/util/logging/LogManager.java,
+ libraries/javalib/java/util/logging/Logger.java,
+ libraries/javalib/java/util/logging/MemoryHandler.java,
+ libraries/javalib/java/util/logging/SimpleFormatter.java,
+ libraries/javalib/java/util/logging/SocketHandler.java,
+ libraries/javalib/java/util/logging/XMLFormatter.java:
+ Resynced with GNU Claspath.
+
+ 2004-04-22 Dalibor Topic <robilad at kaffe.org>
+
+ * java/util/logging/FileHandler.java,
+ java/util/logging/Formatter.java,
+ java/util/logging/Handler.java,
+ java/util/logging/Logger.java,
+ java/util/logging/SimpleFormatter.java,
+ java/util/logging/XMLFormatter.java:
+ Cleaned up imports.
+
+ 2004-04-17 Michael Koch <konqueror at gmx.de>
+
+ * java/util/logging/ConsoleHandler.java,
+ java/util/logging/LogManager.java,
+ java/util/logging/MemoryHandler.java,
+ java/util/logging/SocketHandler.java:
+ Fixed HTML tags in javadocs all over.
+
+2004-04-22 Dalibor Topic <robilad at kaffe.org>
+
* libraries/clib/native/Compiler.c:
Removed. The class is pure java now, and it still does
nothing.
Index: kaffe/libraries/javalib/java/util/logging/ConsoleHandler.java
diff -u kaffe/libraries/javalib/java/util/logging/ConsoleHandler.java:1.1 kaffe/libraries/javalib/java/util/logging/ConsoleHandler.java:1.2
--- kaffe/libraries/javalib/java/util/logging/ConsoleHandler.java:1.1 Mon Nov 11 12:01:53 2002
+++ kaffe/libraries/javalib/java/util/logging/ConsoleHandler.java Thu Apr 22 09:59:55 2004
@@ -67,7 +67,7 @@
*
* <li><code>java.util.logging.ConsoleHandler.encoding</code> - specifies
* the name of the character encoding. Default value:
- * the default platform encoding.
+ * the default platform encoding.</li>
*
* </ul>
*
Index: kaffe/libraries/javalib/java/util/logging/FileHandler.java
diff -u kaffe/libraries/javalib/java/util/logging/FileHandler.java:1.3 kaffe/libraries/javalib/java/util/logging/FileHandler.java:1.4
--- kaffe/libraries/javalib/java/util/logging/FileHandler.java:1.3 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/FileHandler.java Thu Apr 22 09:59:55 2004
@@ -1,7 +1,7 @@
/* FileHandler.java
-- a class for publishing log messages to log files
-Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: kaffe/libraries/javalib/java/util/logging/Formatter.java
diff -u kaffe/libraries/javalib/java/util/logging/Formatter.java:1.2 kaffe/libraries/javalib/java/util/logging/Formatter.java:1.3
--- kaffe/libraries/javalib/java/util/logging/Formatter.java:1.2 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/Formatter.java Thu Apr 22 09:59:55 2004
@@ -2,7 +2,7 @@
-- a class for formatting log messages by localizing message texts
and performing substitution of parameters
-Copyright (C) 2002 Free Software Foundation, Inc.
+Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: kaffe/libraries/javalib/java/util/logging/Handler.java
diff -u kaffe/libraries/javalib/java/util/logging/Handler.java:1.3 kaffe/libraries/javalib/java/util/logging/Handler.java:1.4
--- kaffe/libraries/javalib/java/util/logging/Handler.java:1.3 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/Handler.java Thu Apr 22 09:59:55 2004
@@ -1,7 +1,7 @@
/* Handler.java
-- a class for publishing log messages
-Copyright (C) 2002 Free Software Foundation, Inc.
+Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: kaffe/libraries/javalib/java/util/logging/LogManager.java
diff -u kaffe/libraries/javalib/java/util/logging/LogManager.java:1.6 kaffe/libraries/javalib/java/util/logging/LogManager.java:1.7
--- kaffe/libraries/javalib/java/util/logging/LogManager.java:1.6 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/LogManager.java Thu Apr 22 09:59:55 2004
@@ -46,14 +46,14 @@
import java.beans.PropertyChangeSupport;
import java.io.IOException;
import java.io.InputStream;
-import java.lang.ref.WeakReference;
import java.net.URL;
import java.util.Collections;
+import java.util.Properties;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Map;
-import java.util.Properties;
import java.util.StringTokenizer;
+import java.lang.ref.WeakReference;
/**
* The <code>LogManager</code> maintains a hierarchical namespace
@@ -67,13 +67,12 @@
* <code>java.util.logging.LogManager</code> is initialized.
* The configuration process includes the subsequent steps:
*
- * <ol>
+ * <ul>
* <li>If the system property <code>java.util.logging.manager</code>
* is set to the name of a subclass of
* <code>java.util.logging.LogManager</code>, an instance of
* that subclass is created and becomes the global LogManager.
* Otherwise, a new instance of LogManager is created.</li>
- *
* <li>The <code>LogManager</code> constructor tries to create
* a new instance of the class specified by the system
* property <code>java.util.logging.config.class</code>.
@@ -91,14 +90,13 @@
* {@link #readConfiguration(java.io.InputStream)}.
* The name and location of this file are specified by the system
* property <code>java.util.logging.config.file</code>.</li>
- *
* <li>If the system property <code>java.util.logging.config.file</code>
* is not set, however, the contents of the URL
* "{gnu.classpath.home.url}/logging.properties" are passed to
* {@link #readConfiguration(java.io.InputStream)}.
* Here, "{gnu.classpath.home.url}" stands for the value of
* the system property <code>gnu.classpath.home.url</code>.</li>
- * </ol>
+ * </ul>
*
* @author Sascha Brawer (brawer at acm.org)
*/
@@ -259,10 +257,10 @@
*
* @param logger the logger to be added.
*
- * @return <code>true<code>if <code>logger</code> was added,
+ * @return <code>true</code>if <code>logger</code> was added,
* <code>false</code> otherwise.
*
- * @throws NullPointerException if <code>name<code> is
+ * @throws NullPointerException if <code>name</code> is
* <code>null</code>.
*/
public synchronized boolean addLogger(Logger logger)
Index: kaffe/libraries/javalib/java/util/logging/Logger.java
diff -u kaffe/libraries/javalib/java/util/logging/Logger.java:1.3 kaffe/libraries/javalib/java/util/logging/Logger.java:1.4
--- kaffe/libraries/javalib/java/util/logging/Logger.java:1.3 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/Logger.java Thu Apr 22 09:59:55 2004
@@ -1,7 +1,7 @@
/* Logger.java
-- a class for logging messages
-Copyright (C) 2002 Free Software Foundation, Inc.
+Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: kaffe/libraries/javalib/java/util/logging/MemoryHandler.java
diff -u kaffe/libraries/javalib/java/util/logging/MemoryHandler.java:1.1 kaffe/libraries/javalib/java/util/logging/MemoryHandler.java:1.2
--- kaffe/libraries/javalib/java/util/logging/MemoryHandler.java:1.1 Mon Nov 11 12:01:53 2002
+++ kaffe/libraries/javalib/java/util/logging/MemoryHandler.java Thu Apr 22 09:59:55 2004
@@ -35,10 +35,7 @@
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
-exception statement from your version.
-
-*/
-
+exception statement from your version. */
package java.util.logging;
@@ -53,28 +50,22 @@
* value, a default is taken without an exception being thrown.
*
* <ul>
- *
* <li><code>java.util.MemoryHandler.level</code> - specifies
* the initial severity level threshold. Default value:
* <code>Level.ALL</code>.</li>
- *
* <li><code>java.util.MemoryHandler.filter</code> - specifies
* the name of a Filter class. Default value: No Filter.</li>
- *
* <li><code>java.util.MemoryHandler.size</code> - specifies the
* maximum number of log records that are kept in the circular
* buffer. Default value: 1000.</li>
- *
* <li><code>java.util.MemoryHandler.push</code> - specifies the
* <code>pushLevel</code>. Default value:
* <code>Level.SEVERE</code>.</li>
- *
* <li><code>java.util.MemoryHandler.target</code> - specifies the
* name of a subclass of {@link Handler} that will be used as the
* target handler. There is no default value for this property;
* if it is not set, the no-argument MemoryHandler constructor
* will throw an exception.</li>
- *
* </ul>
*
* @author Sascha Brawer (brawer at acm.org)
Index: kaffe/libraries/javalib/java/util/logging/SimpleFormatter.java
diff -u kaffe/libraries/javalib/java/util/logging/SimpleFormatter.java:1.3 kaffe/libraries/javalib/java/util/logging/SimpleFormatter.java:1.4
--- kaffe/libraries/javalib/java/util/logging/SimpleFormatter.java:1.3 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/SimpleFormatter.java Thu Apr 22 09:59:55 2004
@@ -1,7 +1,7 @@
/* SimpleFormatter.java
-- a class for formatting log records into short human-readable messages
-Copyright (C) 2002 Free Software Foundation, Inc.
+Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: kaffe/libraries/javalib/java/util/logging/SocketHandler.java
diff -u kaffe/libraries/javalib/java/util/logging/SocketHandler.java:1.1 kaffe/libraries/javalib/java/util/logging/SocketHandler.java:1.2
--- kaffe/libraries/javalib/java/util/logging/SocketHandler.java:1.1 Mon Jan 12 04:09:59 2004
+++ kaffe/libraries/javalib/java/util/logging/SocketHandler.java Thu Apr 22 09:59:55 2004
@@ -68,7 +68,7 @@
*
* <li><code>java.util.SocketHandler.encoding</code> - specifies
* the name of the character encoding. Default value:
- * the default platform encoding.
+ * the default platform encoding.</li>
*
* <li><code>java.util.SocketHandler.host</code> - specifies
* the name of the host to which records are published.
Index: kaffe/libraries/javalib/java/util/logging/XMLFormatter.java
diff -u kaffe/libraries/javalib/java/util/logging/XMLFormatter.java:1.4 kaffe/libraries/javalib/java/util/logging/XMLFormatter.java:1.5
--- kaffe/libraries/javalib/java/util/logging/XMLFormatter.java:1.4 Mon Mar 22 11:25:10 2004
+++ kaffe/libraries/javalib/java/util/logging/XMLFormatter.java Thu Apr 22 09:59:55 2004
@@ -1,7 +1,7 @@
/* XMLFormatter.java
-- a class for formatting log messages into a standard XML format
-Copyright (C) 2002 Free Software Foundation, Inc.
+Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
More information about the kaffe
mailing list