-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix passing jvm options #14073
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 passing jvm options #14073
Conversation
@philwalk I wonder whether we correctly interpret the |
Also passing env variable to scala3 via coursier is working, because coursier runs the JVM with given java setting, the problem is with our |
0f3c819
to
77b4cba
Compare
We should support -D and not just -J-D since the scala 2 shell scripts support -D |
77b4cba
to
61a3c08
Compare
61a3c08
to
c5ef535
Compare
@smarter, do you think that we could backport this? |
Don't think it's critical enough. |
These guys have problem because of the issue
|
c5ef535
to
79d9f5f
Compare
I'm not opposed to a backport but you'll have to ask the release manager for this release (@Kordyjan ?) to see if it can be done in time. |
As we are still waiting for #13777, I think we can give it a try. I think if we manage to merge this PR tomorrow and have backporting PR merged no later than Monday noon we can squeeze this fix into 3.1.1-RC2. |
Well, yes, but actually no. I enabled them by adding The third problem was with handling our Now it should work as expected |
I also had to remove the ReplTests which cannot work - we are using mock driver in the same JVM context, thus we cannot just pass the |
It is working from |
@philwalk now since I "enabled" scripting tests do you mind adding some assertions when the scripts fail? Many of them have the |
The test is passing, but it prints stderr with non zero return codes |
I'm away from home for the weekend, but as I looked yesterday on logs there was some stderr pointing to different java versions IIRC, yet I had no time to fix it (it's CI subject problem, not the scala logic) |
@philwalk can you push directly on top of my branch? I think it is possible for maintainers. If not, maybe you could do some branch with fix and I'll cherry-pick your commit, would that be OK? |
This sets `javaHome` at the head of the PATH for `bashCommands`.
@Kordyjan should we backport these changes? |
@philwalk apparently this PR broke CI on master: the logs are: Logs
This is strange, becuase there is |
Also, test_windows_full failed because of missing artifacts (it didn't come up in PR because there is only fast check), this PR should fix it, and check if test_windows_full is passing #14106 |
No description provided.