docs: private void cleanBvalCache() {
          if (isBeanValidationVersion11() && !FrameworkState.isStopping()) {
              ClassLoader classLoader = null;
              SetContextClassLoaderPrivileged setClassLoader = null;
              ClassLoader oldClassLoader = null;
              boolean wasTcclCreated = false;
              try {
                  // Get a classloader that has the bean validation 1.1 API.
                  classLoader = validationConfigFactorySR.getServiceWithException().getClass().getClassLoader();
  
                  if (classLoader != null && !classLoadingServiceSR.getServiceWithException().isThreadContextClassLoader(classLoader)) {
                      classLoader = createTCCL(classLoader);
                      wasTcclCreated = true;
                  }
  
                  ThreadContextAccessor tca = System.getSecurityManager() == null ? ThreadContextAccessor.getThreadContextAccessor() : AccessController.doPrivileged(getThreadContextAccessorAction);
  
                  // set the thread context class loader to be used, must be reset in finally block
                  setClassLoader = new SetContextClassLoaderPrivileged(tca);
                  oldClassLoader = setClassLoader.execute(classLoader);
  
                  if (classLoader == null) {
                      classLoader = oldClassLoader;
                  }
  
                  Class<?> clazz = classLoader.loadClass("org.apache.bval.jsr.ConstraintAnnotationAttributes");
                  final Field methodByNameAndClass = clazz.getDeclaredField("METHOD_BY_NAME_AND_CLASS");
  
                  priv.setAccessible(methodByNameAndClass, true);
  
                  Map<?, ?> methodMap = (Map<?, ?>) methodByNameAndClass.get(null);
                  methodMap.clear();
              } catch (Exception e) {
                  //ffdc
              } finally {
                  if (setClassLoader != null) {
                      setClassLoader.execute(oldClassLoader);
                      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                          Tr.debug(tc, "Set Class loader back to " + oldClassLoader);
                      }
                  }
                  if (classLoader != null && wasTcclCreated) {
                      releaseLoader(classLoader);
                  }
              }
          }
      }