mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
22.47.2009 b6216d71efdfacb22294175731072c01dff9b079
Fix issue 3602: In error logs, msgID is a negative number when using USER_DEFINED category

Change the masks for user-defined and 3rd-party messages so that messages no longer have the top-bit set.
1 files modified
4 ■■■■ changed files
opends/src/messages/src/org/opends/messages/Category.java 4 ●●●● patch | view | raw | blame | history
opends/src/messages/src/org/opends/messages/Category.java
@@ -170,13 +170,13 @@
   * The category that will be used for messages associated with
   * third-party (including user-defined) modules.
   */
  THIRD_PARTY(0x80000000),
  THIRD_PARTY(0x40000000),
  /**
   * The category that will be used for messages associated with
   * user-defined modules.
   */
  USER_DEFINED(0xFFF00000);
  USER_DEFINED(0x7FF00000);
  static private Map<Integer,Category> MASK_VALUE_MAP;