Skip to content
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

Reverse order of stack frames and test the result #9954

Merged
merged 3 commits into from
May 15, 2024

Conversation

JaroslavTulach
Copy link
Member

@JaroslavTulach JaroslavTulach commented May 14, 2024

Pull Request Description

Fixes #9934 by reversing the order of dropInitJava frames.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • All code follows the
    Java,
  • Unit tests have been written where possible.

@JaroslavTulach JaroslavTulach added the CI: No changelog needed Do not require a changelog entry for this PR. label May 14, 2024
@JaroslavTulach JaroslavTulach self-assigned this May 14, 2024
fullStackReversed.stream()
.dropWhile(f -> !LanguageInfo.ID.equals(fnLangId.apply(f)))
.toList());
Collections.reverse(dropInitJava);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the changed line. The rest is just a refactoring to make things testable.

@JaroslavTulach JaroslavTulach added the CI: Ready to merge This PR is eligible for automatic merge label May 14, 2024
@JaroslavTulach JaroslavTulach added the CI: Keep up to date Automatically update this PR to the latest develop. label May 15, 2024
@JaroslavTulach JaroslavTulach added the CI: Clean build required CI runners will be cleaned before and after this PR is built. label May 15, 2024
@mergify mergify bot merged commit a53b2f0 into develop May 15, 2024
36 checks passed
@mergify mergify bot deleted the wip/jtulach/StackTrace9934 branch May 15, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Clean build required CI runners will be cleaned before and after this PR is built. CI: Keep up to date Automatically update this PR to the latest develop. CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stack trace when Enso script finishes with a Panic is upside down
4 participants