if (!p.chooseDriver()) {
ISingleDriver driver = (ISingleDriver) Patch.chooseDriver(p.getByteArray()); if (driver != null) { p.setDriver(driver); } else {
    void revalidateDriver() {        if (!p.chooseDriver()) {            try {                setClosed(true);            } catch (Exception e) {            }            return;        }    }