Skip to content

Remove try/catch workaround in BreakpointLabelAction - #3001

Open
ravnskjaer wants to merge 1 commit into
eclipse-platform:masterfrom
ravnskjaer:remove-breakpoint-label-workaround
Open

ravnskjaer wants to merge 1 commit into
eclipse-platform:masterfrom
ravnskjaer:remove-breakpoint-label-workaround

Conversation

@ravnskjaer

Copy link
Copy Markdown

Follow-up to eclipse-platform/eclipse.platform.swt#3628, which fixes eclipse-platform/eclipse.platform.swt#2749.

Removes the try/catch workaround in BreakpointLabelAction.computeInlineEditorBounds(), which is no longer needed now that TreeItem.getBounds() no longer throws on Cocoa.

Verified manually on macOS Tahoe 26.6.2 (Apple M1) with SWT containing eclipse-platform/eclipse.platform.swt#3628: editing a breakpoint label with a custom font works without the workaround.

@ravnskjaer
ravnskjaer force-pushed the remove-breakpoint-label-workaround branch from 6a87824 to d1820e6 Compare October 9, 2026 08:51
The workaround in computeInlineEditorBounds() caught the
ArrayIndexOutOfBoundsException thrown by TreeItem.getBounds() on
macOS. That exception is fixed in SWT by
eclipse-platform/eclipse.platform.swt#3628
(included in I-builds from I20261007-2300 onwards), so the workaround
is no longer needed.

Follow-up to eclipse-platform/eclipse.platform.swt#2749
@elsazac
elsazac force-pushed the remove-breakpoint-label-workaround branch from d1820e6 to 963cd6b Compare October 9, 2026 09:03
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Test Results

   34 files   -    20     34 suites   - 20   36m 48s ⏱️ - 20m 41s
4 467 tests  -   383  4 420 ✅  -   408   47 💤 +25  0 ❌ ±0 
7 660 runs   - 4 781  7 555 ✅  - 4 732  105 💤  - 49  0 ❌ ±0 

Results for commit 963cd6b. ± Comparison against base commit d234c3a.

This pull request removes 383 tests.
org.eclipse.ua.tests.doc.internal.linkchecker.ApiDocTest ‑ testTopicsReference
org.eclipse.ua.tests.doc.internal.linkchecker.LinkTest ‑ testAllLinks
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testJdtIsvGenerated
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testJdtIsvStatic
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testJdtUser
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testPdeUserGenerated
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testPdeUserStatic
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testPlatformIsvGenerated
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testPlatformIsvStatic
org.eclipse.ua.tests.doc.internal.linkchecker.TocLinkChecker ‑ testPlatformUser
…
This pull request skips 25 tests.
org.eclipse.core.tests.filesystem.SymlinkTest ‑ testSymlinkPutHidden
org.eclipse.core.tests.internal.alias.BasicAliasTest ‑ testBug198571
org.eclipse.core.tests.internal.localstore.MoveTest ‑ testMoveFileAcrossVolumes
org.eclipse.core.tests.internal.localstore.MoveTest ‑ testMoveFolderAcrossVolumes
org.eclipse.core.tests.resources.IProjectTest ‑ testProjectCreationLocationExistsWithDifferentCase
org.eclipse.core.tests.resources.IWorkspaceRootTest ‑ testFindFilesNonCanonicalPath
org.eclipse.core.tests.resources.LinkedResourceTest ‑ testFindFilesForLocationCaseVariant
org.eclipse.core.tests.resources.LinkedResourceWithPathVariableTest ‑ testFindFilesForLocationCaseVariant
org.eclipse.core.tests.resources.ResourceAttributeTest ‑ testAttributeArchive
org.eclipse.core.tests.resources.ResourceAttributeTest ‑ testAttributeHidden
…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mac] TreeItem.getBounds() throws ArrayIndexOutOfBoundsException for labelled breakpoints with custom fonts

3 participants