File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ fun langVersionToUse(): String {
3434 } catch (e: Throwable ) {
3535 throw JsonSyntaxException (" deps.json file doesn't contain valid JSON!" )
3636 }
37-
37+
3838 if (! File (" $LANG_DIR_PATH /$langVersion .jar" ).exists())
3939 throw LangVersionNotFound (" I can't find installed the lang version you specified" )
4040
@@ -44,7 +44,7 @@ fun langVersionToUse(): String {
4444fun executeClassFile () {
4545 val bytecode = File (" $BINARY_DIR_NAME /$CLASSES_DIR_NAME /Main.class" ).readBytes()
4646
47- IcaroClassLoader ().defineClass(" IcaroMain " , bytecode).getMethod(" main" , Array <String >::class .java)
47+ IcaroClassLoader ().defineClass(" Main " , bytecode).getMethod(" main" , Array <String >::class .java)
4848 .invoke(null , arrayOf<String >())
4949}
5050
You can’t perform that action at this time.
0 commit comments