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

Better StackOverflowError Handling #3195

Merged
merged 8 commits into from
Jul 27, 2020

Conversation

Wealthyturtle
Copy link
Member

Description

This PR adds a warning to users attempting to run Skript with 32-bit Java, in addition a proper Skript error message if users encounter a StackOverflowError when loading scripts at the plugin enable phase.


Target Minecraft Versions: Any
Requirements: None
Related Issues: #2752

ShaneBeee
ShaneBeee previously approved these changes Jul 25, 2020
Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

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

This looks good to me.
We should probably wait to hear feedback from the others, but I think it seems good.

FranKusmiruk
FranKusmiruk previously approved these changes Jul 25, 2020
Copy link
Member

@FranKusmiruk FranKusmiruk left a comment

Choose a reason for hiding this comment

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

I thought aliases parsing was the one causing the pattern errors, is it not the case?

@Wealthyturtle
Copy link
Member Author

I thought aliases parsing was the one causing the pattern errors, is it not the case?

Oops, my bad. I'll move the try-catch

@ShaneBeee ShaneBeee added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jul 26, 2020
@Wealthyturtle Wealthyturtle merged commit b5f6f5f into SkriptLang:master Jul 27, 2020
@Wealthyturtle Wealthyturtle deleted the stackoverflowerror branch July 27, 2020 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants