| Summary: | AIOOBE while switching MRU in CTabFolder | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Remy Suen <remy.suen> |
| Component: | SWT | Assignee: | Bogdan Gheorghe <gheorghe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | carolynmacleod4, eclipse.felipe, gheorghe, malaperle |
| Version: | 4.2 | ||
| Target Milestone: | 4.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Remy Suen
Just run this code and it'll die.
---------------
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
CTabFolder folder = new CTabFolder(shell, SWT.SINGLE);
folder.setMRUVisible(true);
folder.setMRUVisible(false);
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
Please fix this for M6 as anyone that switches their theme before having any editors open will get this exception. Is this fixed? I see this commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_3_maintenance&id=bf525c1f9d8116493cdec7637a397989ad07ed9e Yup, should be fixed. Closing - please reopen if you are seeing this. |