Closed fkellner closed 1 year ago
Also, find
is probably a better choice than startswith
because users could enter an absolute path for the javaHome
parameter
Hi @fkellner . Good catch. Thank you for the fix. Currently, the University of Manchester is creating a contributors agreement for all its open-source projects for collaborators outside the University. Thus, we will need until this agreement is in place in order to process new PRs. Apologies for this inconvenience, but unfortunately it is out of our (TornadoVM team) hands.
If you agree, we can apply the patch ourselves in the meantime.
BTW, the patch looks good to me.
Description
Fixes a typo in a condition in the installer script preventing the installation with a custom OpenJDK whose path does not start with
"graal"
Problem description
Running
./scripts/tornadovm-installer --help
states:Enter a
<pathToJavaHome>
that does not start with"graal"
and the script tries to accessargs.jdk.startswith
which throws an error because it isNone
.Backend/s tested
Does not apply, just a line in a python script
How to test the new patch?
with a
<pathToJavaHome>
that does not start with"graal"
.