private static Map<Thread, Thread> getShutdownHooks() {
    Class clazz;
    try {
      clazz = Class.forName("java.lang.ApplicationShutdownHooks");
      return ReflectionUtilRt.getField(clazz, null, Map.class, "hooks");
    }
    catch (Exception e) {
      return Collections.emptyMap();
    }
  }
private static Map<Thread, Thread> getShutdownHooks()