Skip to content

Reuse JVM - #205

Closed
hj-lee wants to merge 3 commits into
kscripting:masterfrom
hj-lee:reuse-jvm-pr
Closed

hj-lee wants to merge 3 commits into
kscripting:masterfrom
hj-lee:reuse-jvm-pr

Conversation

@hj-lee

@hj-lee hj-lee commented Dec 23, 2018

Copy link
Copy Markdown
Contributor

As discussed on #102, this PR processes KOTLIN_OPTS in kscript bash.

The kotlin code differences between #102 and this are:

  • It is one commit
  • KOTLIN_OPTS processing code has been removed, and it is lazy operation for --package

Now, scripts using KOTLIN_OPTS can enjoy the startup time improvement by reusing the JVM at the expense of complex kscript bash script.

kscript.jar classes should not be accessable by the script without
explicit dependency.
Supports for -J and -D arguments were added.
@holgerbrandl

Copy link
Copy Markdown
Collaborator

Closed because of inactivity.

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.

2 participants