2019.5.5

2019.5.5

public void runClass(String name, String  key){
        try{
            var loader = new CryptoClassLoader(Integer.parseInt(key));
            Class<?> c = loader.loadClass(name);
            Method m = c.getMethod("main", String[].class);
            m.invoke(null, (Object) new String[] {});
        }catch (Throwable t){
            JOptionPane.showMessageDialog(this, t);
        }
    }

你可能感兴趣的:(琉璃神社)