code: @SuppressWarnings({"unused"})
      private Object readResolve() {
          if (jdks == null) {
              jdks = new ArrayList<>();
          }
          if (SLAVE_AGENT_PORT_ENFORCE) {
              slaveAgentPort = getSlaveAgentPortInitialValue(slaveAgentPort);
          }
          if (disabledAgentProtocols == null && _disabledAgentProtocols != null) {
              disabledAgentProtocols = Arrays.asList(_disabledAgentProtocols);
              _disabledAgentProtocols = null;
          }
          if (enabledAgentProtocols == null && _enabledAgentProtocols != null) {
              enabledAgentProtocols = Arrays.asList(_enabledAgentProtocols);
              _enabledAgentProtocols = null;
          }
          // Invalidate the protocols cache after the reload
          agentProtocols = null;
          return this;
      }
docs: Maintains backwards compatibility. Invoked by XStream when this object is de-serialized.