docs: private void shutdownDerbyEmbedded() {
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "shutdownDerbyEmbedded", classloader, embDerbyRefCount);
  
          // Shut down Derby embedded if the reference count drops to 0
          if (embDerbyRefCount.remove(classloader) && !embDerbyRefCount.contains(classloader))
              try {
                  Class<?> EmbDS = AdapterUtil.forNameWithPriv("org.apache.derby.jdbc.EmbeddedDataSource40", true, classloader);
                  DataSource ds = (DataSource) EmbDS.newInstance();
                  EmbDS.getMethod("setShutdownDatabase", String.class).invoke(ds, "shutdown");
                  ds.getConnection().close();
                  if (trace && tc.isEntryEnabled())
                      Tr.exit(this, tc, "shutdownDerbyEmbedded");
              } catch (SQLException x) {
                  // expected for shutdown
                  if (trace && tc.isEntryEnabled())
                      Tr.exit(this, tc, "shutdownDerbyEmbedded", x.getSQLState() + ' ' + x.getErrorCode() + ':' + x.getMessage());
              } catch (Throwable x) {
                  // Work around Derby issue when the JVM is shutting down while Derby shutdown is requested.
                  if (trace && tc.isEntryEnabled())
                      Tr.exit(this, tc, "shutdownDerbyEmbedded", x);
              }
          else if (trace && tc.isEntryEnabled())
              Tr.exit(this, tc, "shutdownDerbyEmbedded", false);
      }