code: private static boolean registerNatives() {
          try {
              final String methodDescriptor = "zJNIBOOT_" + TaggedFileOutputStream.class.getCanonicalName().replaceAll("\\.", "_");
              long dllHandle = NativeMethodHelper.registerNatives(TaggedFileOutputStream.class, methodDescriptor, null);
              if (dllHandle > 0) {
                  return true;
              }
              // if the native DLL doesnot exist, we fail quietly
              if (dllHandle == 0) {
                  return false;
              }
          } catch (Throwable t) {
              // Eat exception from registerNatives if DLL can't be loaded
          }
  
          // if native DLL exists but failed to link the native method descriptor
          System.err.println(MessageFormat.format(BootstrapConstants.messages.getString("warn.registerNative"), TaggedFileOutputStream.class.getCanonicalName()));
          return false;
      }
docs: Register the native method needed for file tagging.
  
  @return true if the methods were successfully registered