File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
com.oracle.svm.core/src/com/oracle/svm/core
com.oracle.svm.hosted/src/com/oracle/svm/hosted Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ public List<String> getInputArguments() {
166166 }
167167
168168 public static void invokeMain (String [] args ) throws Throwable {
169- // This needs to be a local and not a parameter to allow proper constant folding
170169 JavaMainSupport javaMainSupport = ImageSingletons .lookup (JavaMainSupport .class );
171170 if (javaMainSupport .mainNonstatic ) {
172171 Object instance = javaMainSupport .javaMainClassCtorHandle .invoke ();
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ private int buildImage(ImageClassLoader classLoader) {
478478 throw UserError .abort (ex .getCause (),
479479 "Method '%s.%s' is declared as the main entry point but it can not be found. " +
480480 "Make sure that class '%s' is on the classpath and that non-private " +
481- "method '%s()' or '%s(String[])' exists in that class ." ,
481+ "method '%s()' or '%s(String[])'." ,
482482 mainClass .getName (),
483483 mainEntryPointName ,
484484 mainClass .getName (),
You can’t perform that action at this time.
0 commit comments