docs: public static <T> T runInVm(PrivilegedExceptionAction<T> action) throws PrivilegedActionException {
          checkPermission(PERFORM_IN_VM_CALL);
  
          if (action == null) return null;
          Boolean originalValue = IN_VM_CALL.get();
  
          try {
              IN_VM_CALL.set(Boolean.TRUE);
              return action.run();
          } catch (RuntimeException | PrivilegedActionException e) {
              throw e;
          } catch (Exception e) {
              throw new PrivilegedActionException(e);
          } finally {
              IN_VM_CALL.set(originalValue);
          }
      }