Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 96965 Details for
Bug 228129
[CommonNavigator] Test failure (disposed font) in org.eclipse.ui.tests.navigator_win32.win32.x86
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
ugly patch
clipboard.txt (text/plain), 1.01 KB, created by
Boris Bokowski
on 2008-04-22 00:15:07 EDT
(
hide
)
Description:
ugly patch
Filename:
MIME Type:
Creator:
Boris Bokowski
Created:
2008-04-22 00:15:07 EDT
Size:
1.01 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.tests.navigator >Index: src/org/eclipse/ui/tests/navigator/extension/TestLabelProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/extension/TestLabelProvider.java,v >retrieving revision 1.4 >diff -u -r1.4 TestLabelProvider.java >--- src/org/eclipse/ui/tests/navigator/extension/TestLabelProvider.java 8 May 2006 20:52:25 -0000 1.4 >+++ src/org/eclipse/ui/tests/navigator/extension/TestLabelProvider.java 22 Apr 2008 04:12:23 -0000 >@@ -116,8 +116,16 @@ > * @see org.eclipse.jface.viewers.LabelProvider#dispose() > */ > public void dispose() { >- boldFont.dispose(); >- backgroundColor.dispose(); >+ final Font f = boldFont; >+ final Color c = backgroundColor; >+ boldFont = null; >+ backgroundColor = null; >+ Display.getCurrent().timerExec(20, new Runnable(){ >+ public void run() { >+ f.dispose(); >+ c.dispose(); >+ } >+ }); > } > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228129
: 96965 |
96966