-
Notifications
You must be signed in to change notification settings - Fork 201
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
Remove stripPrefix("-J") workaround for Metals #1456
Comments
adpi2
added a commit
to adpi2/metals
that referenced
this issue
Feb 17, 2021
As of scalacenter/bloop#1455 Bloop do not need the -J prefix on the jvmOptions. Also there is a plan to remove support for the -J prefix coming from debugSession/start request (scalacenter/bloop#1456).
tgodzik
pushed a commit
to scalameta/metals
that referenced
this issue
Feb 17, 2021
As of scalacenter/bloop#1455 Bloop do not need the -J prefix on the jvmOptions. Also there is a plan to remove support for the -J prefix coming from debugSession/start request (scalacenter/bloop#1456).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order not to leak internal Bloop implementation we decided to no longer user
-J
when running via DAP. This is no longer needed since we have a separate field for jvm options. For a smooth transition however, we decided to add a workaround that will strip-J
prefix when it's passed from Metals.We should be good to remove it once Metals is release with 1.4.7 version of Bloop.
PR that introduces this: https://github.com/scalacenter/bloop/pull/1455/files
The text was updated successfully, but these errors were encountered: