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
Make REPL work again on Mac M1 (upgrade JLine & JNA) #9807
Conversation
fixes scala/bug#12491 (REPL support on M1)
I don't have an M1 to test on. @xuwei-k would you be able to give this a try? for testing, you can check out my branch, then run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 🎉
$ ./build/pack/bin/scala
Welcome to Scala 2.13.8-20211111-150758-2152d38 (OpenJDK 64-Bit Server VM, Java 17.0.1).
Type in expressions for evaluation. Or try :help.
sweeeeet. thank you Yoshida-san! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just gonna report a bug and it's already fixed 🚀
As a workaround, you can use
Or, disable use of JNA to interact with the terminal:
|
Another workaround is to switch to a x86 JDK for running the REPL |
fixes scala/bug#12491 (REPL support on M1)