Skip to content

Hide ExpandableNode from client's label provider. #1354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

raghucssit
Copy link
Contributor

Unsafe(No type check before accessing passed model element) client's label provider can lead to ClassCastException. So we can never pass ExpandableNode to client's label provider.

see #1353

@raghucssit raghucssit marked this pull request as draft November 30, 2023 18:09
@raghucssit
Copy link
Contributor Author

@iloveeclipse FYI

@iloveeclipse iloveeclipse marked this pull request as ready for review November 30, 2023 18:26
Copy link
Member

@iloveeclipse iloveeclipse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks OK for me.

Unsafe(No type check before accessing passed model element) client's
label provider can lead to ClassCastException. So we can never pass
ExpandableNode to client's label provider.

see eclipse-platform#1353
@iloveeclipse
Copy link
Member

Tests fails are known & unrelated, see #1351

@iloveeclipse iloveeclipse merged commit 3d5ae3d into eclipse-platform:master Nov 30, 2023
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.

2 participants