DESCRIPTION

Bug 486531 Resource (GDI-Handles) leak in ImageHyperlink

Fixes a resource leak (GDI Handles) in createDisabledImage() in
org.eclipse.ui.forms.widgets.ImageHyperlink. Replaced redundant code in
setEnabled method. Removed useless if(image==null) and added a missing
redraw() in setImage() so that setImage() works similar to
setText(). Added a JUnit Test for the leak.

Change-Id: Iabb5c5bc345de5e707f89cdc0575f4ba604b8712
Signed-off-by: Anthony Pineda xxx@xxx.xxx
Signed-off-by: Jayvion Booth xxx@xxx.xxx

COMMENTS

author: Jayvion Booth
date: 2016-12-02 12:43:09.000000000

Uploaded patch set 1.

-------------------------------------
author: Jayvion Booth
date: 2016-12-02 12:44:20.000000000

Patch Set 1: Code-Review-2

Need to wait for 4.6.2

-------------------------------------
author: Brenden Conley
date: 2016-12-02 13:35:16.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/11397/

-------------------------------------
author: Brenden Conley
date: 2016-12-02 13:54:07.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/11397/ : ABORTED

-------------------------------------
author: Anthony Pineda
date: 2016-12-02 14:27:15.000000000

Patch Set 1: Code-Review+1

-------------------------------------
author: Jayvion Booth
date: 2016-12-20 10:02:20.000000000

Patch Set 1: -Code-Review

Waiting for the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=508658 to be fixed

-------------------------------------
author: Gerrit Code Review
date: 2016-12-21 05:33:16.000000000

Change has been successfully merged into the git repository by Jayvion Booth

-------------------------------------
