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

Remove stripPrefix("-J") workaround for Metals #1456

Open
tgodzik opened this issue Feb 9, 2021 · 0 comments · May be fixed by #2192
Open

Remove stripPrefix("-J") workaround for Metals #1456

tgodzik opened this issue Feb 9, 2021 · 0 comments · May be fixed by #2192

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Feb 9, 2021

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

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).
@adpi2 adpi2 linked a pull request Nov 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant