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 running JARs from scala script #13246

Merged
merged 2 commits into from
Aug 5, 2021

Conversation

BarkingBad
Copy link
Contributor

No description provided.

@BarkingBad BarkingBad linked an issue Aug 3, 2021 that may be closed by this pull request
@dwijnand
Copy link
Member

dwijnand commented Aug 3, 2021

Review by @som-snytt ?

errorFn("", ObjectRunner.runAndCatch(newClasspath, settings.residualArgs.head, settings.residualArgs.drop(1)))

def removeCompiler(cp: Array[String]) =
if (!settings.compiler) then // Let's remove compiler from the classpath
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extraneous parens

@som-snytt
Copy link
Contributor

Seems reasonable. I commented on the one thing I was sure about.

@anatoliykmetyuk anatoliykmetyuk merged commit f7b28bd into scala:master Aug 5, 2021
@Kordyjan Kordyjan added this to the 3.1.0 milestone Aug 2, 2023
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.

Scala runner doesn't do executable jars
5 participants