Skip to content

Commit

Permalink
Changed Execution-Method to Reflect
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusTieger committed Apr 14, 2022
1 parent fe47f53 commit 8bb4d2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/de/MarkusTieger/dev/Dev.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

public class Dev {

Expand All @@ -28,8 +29,11 @@ public static void main(String[] args) throws Throwable {
});


clazz = Class.forName("de.MarkusTieger.Tigxa.Bootstrap");
Method main = clazz.getDeclaredMethod("main", String[].class);
main.invoke(null, new Object[] {new String[0]});

Bootstrap.main(new String[0]);
// Bootstrap.main(new String[0]);

}

Expand Down

0 comments on commit 8bb4d2d

Please sign in to comment.