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 157388 Details for
Bug 300980
[TextSizeDetermination] fails with disposed fonts
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]
testcase
clipboard.txt (text/plain), 1.06 KB, created by
Benjamin Muskalla
on 2010-01-27 08:00:08 EST
(
hide
)
Description:
testcase
Filename:
MIME Type:
Creator:
Benjamin Muskalla
Created:
2010-01-27 08:00:08 EST
Size:
1.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.test >Index: src/org/eclipse/swt/widgets/Table_Test.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/Table_Test.java,v >retrieving revision 1.61 >diff -u -r1.61 Table_Test.java >--- src/org/eclipse/swt/widgets/Table_Test.java 11 Dec 2009 15:19:55 -0000 1.61 >+++ src/org/eclipse/swt/widgets/Table_Test.java 27 Jan 2010 12:53:21 -0000 >@@ -2369,6 +2369,17 @@ > assertEquals( 1, table.getItemCount() ); > } > >+ public void testDisposedFont() { >+ Display display = new Display(); >+ Shell shell = new Shell( display ); >+ Table table = new Table( shell, SWT.NONE ); >+ new TableColumn( table, SWT.LEAD ); >+ Font font = new Font( display, "foo", 10, SWT.BOLD ); >+ table.setFont( font ); >+ font.dispose(); >+ table.dispose(); >+ } >+ > private static boolean find( final int element, final int[] array ) { > boolean result = false; > for( int i = 0; i < array.length; i++ ) {
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 300980
: 157388 |
157625