..Mandy,
Three questions.
Then the JavaDocs says :
> This enables the runtime components to eliminate the
> static dependency of the logging facility ....
> In addition, the PlatformLogger API can be used if the logging
> module does not exist.
What use case required this ?
Is this meant to be similar to Apache commons-logging which also has a
basic logging functionality ?
>-import java.util.logging.Logger;
>+import sun.util.logging.PlatformLogger;
And lastly it seems counter intuitive that a dependency would be change
from a java.* -> sun.*, why not add it under the java.* tree ?
On 9/18/2009 9:51 PM, mandy.ch...@sun.com wrote:
Changeset: d3281fa8e46c
Author: mchung
Date: 2009-09-17 14:24 -0700
URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/d3281fa8e46c
6882376: Add internal support for JRE implementation to eliminate the
dependency on logging
Summary: Added sun.util.logging.PlatformLogger for JRE implementation
to log messages.
Reviewed-by: alanb, naoto
! make/java/logging/Makefile
! src/share/classes/java/util/Currency.java
! src/share/classes/java/util/jar/Attributes.java
! src/share/classes/java/util/logging/LogManager.java
! src/share/classes/java/util/logging/LogRecord.java
! src/share/classes/sun/util/LocaleServiceProviderPool.java
+ src/share/classes/sun/util/logging/PlatformLogger.java
! src/windows/classes/java/util/prefs/WindowsPreferences.java
+ test/sun/util/logging/PlatformLoggerTest.java
Changeset: 7b4e73ca6fd7
Author: mchung
Date: 2009-09-18 17:27 -0700
URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/7b4e73ca6fd7
Merge
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4439 (20090918) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com