United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6241623 Memory leak while accessing desktop properties on WinXP
JDK-6241623 : Memory leak while accessing desktop properties on WinXP

Details
Type:
Bug
Submit Date:
2005-03-16
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2005-04-25
Component:
client-libs
OS:
windows_xp
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
1.4.2_09 (b01)

Related Reports

Sub Tasks

Description
This is specific to 1.4.2_xxx update releases and is only on WinXP.

There is a small memory leak whenever the query to a desktop registry key is accessed and fails. The handle to key is not released in such a case.

The bug is in function call getXPStylePropFromReg((char* valueName) in 
j2se/src/windows/native/sun/windows/awt_DesktopProperties.cpp

The handles are released appropriately at the right places in tiger update releases and mustang.

###@###.### 2005-03-16 17:57:06 GMT

                                    

Comments
EVALUATION

Need to fix as suggested in the description.
###@###.### 2005-03-16 18:26:59 GMT
                                     
2005-03-16



Hardware and Software, Engineered to Work Together