Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3
-
Resolution: Duplicate
-
Affects Version/s: 1.4.2
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
-
CPU:sparc
-
OS:solaris_7
Description
Name: sdR10048 Date: 11/11/2002
JDK version:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b05, mixed mode)
Method public MemoryHandler() always throws NPE.
Doc says:
---------
public MemoryHandler()
Create a MemoryHandler and configure it based on LogManager
configuration properties.
Small demo:
-----------
import java.util.logging.*;
class T {
public static void main(String args[]) {
MemoryHandler handler = new MemoryHandler();
}
}
Output:
-------
MemoryHandler can't load handler "null"
java.lang.NullPointerException
Exception in thread "main" java.lang.RuntimeException: Can't load null
at java.util.logging.MemoryHandler.<init>(MemoryHandler.java:100)
at T.main(T.java:5)
======================================================================
Attachments
Issue Links
- duplicates
-
JDK-4483991 LOGGING APIs: Undeterminate situation with MemoryHandler property
-
- Closed
-