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

Fix bug on mac while regenerating classes.jsa when path to java contains spaces #214

Merged
merged 2 commits into from
May 9, 2019
Merged

Conversation

Simpli-city
Copy link

Title is self-explanatory. The bug doesn't allow classes.jsa to be generated (and warning is logged) and launch time is bigger. The code fixes it.
Also, the code has been tested and confirmed working on windows and mac, both with and without spaces in file paths.

@Simpli-city
Copy link
Author

Simpli-city commented May 9, 2019

Here is the warning:
2019/05/08 12:14:13:945 WARNING Failed to regenerate .jsa dump file [error=java.io.IOException: Cannot run program "/Users/admin/Library/Application": error=2, No such file or directory]

P.S. Actual name of the folder is "Application Support", not just "Application"

@samskivert samskivert merged commit 6496e5e into threerings:master May 9, 2019
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.

None yet

3 participants