Skip to content

Conversation

@Christopher-Hermann
Copy link
Contributor

…ine number

Handle cases where the sticky line number exceeds the total number of lines to prevent out of bounds errors. Since widgetLineNumber is 0-based, ensure it is not equal to or greater than the line count.

Fixes #2765

@Christopher-Hermann Christopher-Hermann self-assigned this Jan 31, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 31, 2025

Test Results

 1 821 files  ±0   1 821 suites  ±0   1h 27m 34s ⏱️ - 3m 1s
 7 719 tests ±0   7 490 ✅  - 1  228 💤 ±0  1 ❌ +1 
24 318 runs  ±0  23 568 ✅  - 1  749 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 055c002. ± Comparison against base commit 9f3733a.

♻️ This comment has been updated with latest results.

@iloveeclipse
Copy link
Member

The change seem to break some test cases.

@iloveeclipse
Copy link
Member

@Christopher-Hermann : do you have time to work on this? In 10 days we have M3...

@Christopher-Hermann
Copy link
Contributor Author

Yes, I will take care of it. At latest on Friday this week.

…ine number

Handle cases where the sticky line number exceeds the total number of lines to prevent out of bounds errors. Since widgetLineNumber is 0-based, ensure it is not equal to or greater than the line count.

Fixes eclipse-platform#2765
@BeckerWdf
Copy link
Member

failing ProgressViewTests seems unrelated.

@BeckerWdf BeckerWdf added this to the 4.35 M3 milestone Feb 5, 2025
@iloveeclipse
Copy link
Member

Anyone want to review that or can we merge? (I'm not familiar with the code)

@Christopher-Hermann
Copy link
Contributor Author

Anyone want to review that or can we merge? (I'm not familiar with the code)

I will merge, the changes are not that big...should be fine.

@Christopher-Hermann Christopher-Hermann merged commit bd93b33 into eclipse-platform:master Feb 5, 2025
15 of 17 checks passed
@Christopher-Hermann Christopher-Hermann deleted the fixAIE branch February 5, 2025 14:49
@iloveeclipse
Copy link
Member

Thanks @Christopher-Hermann.

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.

[StickyScrolling] IllegalArgumentException below StickyLine.getStyleRanges(StickyLine.java:62)

3 participants