docs: private void assertLibrary(ClassLoader loader, boolean sslEnabled) {
          Class<?> MongoClient = loadClass(loader, com_mongodb_MongoClient);
          int minor = -1, major = -1;
          if (MongoClient == null) {
              // Version 1.0 of the mongo driver used these static variables, but were deprecated in a subsequent release.
              // If getMajor/MinorVersion doesn't exist, will check for these fields.
              Class<?> Mongo = loadClass(loader, "com.mongodb.Mongo");
              // If we can't find either class, die
              if (Mongo == null) {
                  // CWKKD0014.missing.driver=CWKKD0014E: The {0} service was unable to locate the required MongoDB driver classes at shared library {1}.
                  throw new RuntimeException(Tr.formatMessage(tc, "CWKKD0014.missing.driver", MONGO, libraryRef.getService().id()));
              }
              major = getVersionFromMongo(Mongo, "MAJOR_VERSION");
              minor = getVersionFromMongo(Mongo, "MINOR_VERSION");
          } else {
              major = getVersionFromMongoClient(MongoClient, "getMajorVersion");
              minor = getVersionFromMongoClient(MongoClient, "getMinorVersion");
          }
  
          final int MIN_MAJOR = 2;
          final int MIN_MINOR = 10;
          final int SSL_MIN_MINOR = 11;
          final int CERT_AUTH_MIN_MINOR = 12;
  
          if (useCertAuth && ((major < MIN_MAJOR) || (major == MIN_MAJOR && minor < CERT_AUTH_MIN_MINOR))) {
              Tr.error(tc, "CWKKD0023.ssl.certauth.incompatible.driver", MONGO, id, libraryRef.getService().id(),
                       MIN_MAJOR + "." + CERT_AUTH_MIN_MINOR, major + "." + minor);
              throw new RuntimeException(Tr.formatMessage(tc, "CWKKD0023.ssl.certauth.incompatible.driver", MONGO, id, libraryRef.getService().id(),
                                                          MIN_MAJOR + "." + CERT_AUTH_MIN_MINOR, major + "." + minor));
          }
  
          if (sslEnabled && ((major < MIN_MAJOR) || (major == MIN_MAJOR && minor < SSL_MIN_MINOR))) {
              Tr.error(tc, "CWKKD0017.ssl.incompatible.driver", MONGO, id, libraryRef.getService().id(),
                       MIN_MAJOR + "." + SSL_MIN_MINOR, major + "." + minor);
              throw new RuntimeException(Tr.formatMessage(tc, "CWKKD0017.ssl.incompatible.driver", MONGO, id, libraryRef.getService().id(),
                                                          MIN_MAJOR + "." + SSL_MIN_MINOR, major + "." + minor));
          }
  
          if (major > MIN_MAJOR || (major == MIN_MAJOR && minor >= MIN_MINOR)) {
              return;
          }
          // CWKKD0013.unsupported.driver=CWKKD0013E: The {0} service encountered down level version of the MongoDB
          //      driver at shared library {1}. Expected a minimum level of {2}, but found {3}.
          Tr.error(tc, "CWKKD0013.unsupported.driver", MONGO, libraryRef.getService().id(),
                   MIN_MAJOR + "." + MIN_MINOR, major + "." + minor);
          throw new RuntimeException(Tr.formatMessage(tc, "CWKKD0013.unsupported.driver", MONGO, libraryRef.getService().id(),
                                                      MIN_MAJOR + "." + MIN_MINOR, major + "." + minor));
  
      }