message: [LCS] adjust MAX_SEQUENCE_LENGTH by one to fit Java arrays
  Closes:
  Approved by: davidiw
diff: @@ -297,8 +297,8 @@ mod error;
  mod ser;
  pub mod test_helpers;
  -/// Variable length sequences in LCS are limited to max length of 2^31
  -pub const MAX_SEQUENCE_LENGTH: usize = 1 << 31;
  +/// Variable length sequences in LCS are limited to max length of 2^31 - 1.
  +pub const MAX_SEQUENCE_LENGTH: usize = (1 << 31) - 1;
  /// Maximal allowed depth of LCS data, counting only structs and enums.
  pub const MAX_CONTAINER_DEPTH: usize = 500;
  