1 Reply Latest reply: Aug 31, 2010 5:23 PM by Brian Oliver RSS

    Error in AbstractBackingMapEntryEvent$EventEntry

    670511
      I believe there's an error in the constructor of AbstractBackingMapEntryEvent$EventEntry in coherence-common-1.7.0.16988:
             public EventEntry(Object key,
                                Object value)
              {
                  if (key instanceof Binary)
                  {
                      this.binaryKey = (Binary)key;
                      this.deserializedKey = Void.TYPE;       //Void.Type indicates not yet deserialized
                  }
                  else
                  {   
                      this.binaryKey = Binary.NO_BINARY;      //Binary.NO_BINARY indicates not yet serialized
                      this.deserializedValue = key;
                  }
      
                  if (value instanceof Binary)
                  {
                      this.binaryValue = (Binary)value;
                      this.deserializedValue = Void.TYPE;     //Void.Type indicates not yet deserialized
                  }
                  else 
                  {
                      this.binaryValue = Binary.NO_BINARY;    //Binary.NO_BINARY indicates not yet serialized
                      this.deserializedValue = value;
                  }
              }
      The else statement after the first if statement should be this.deserializedKey = key instead of this.deserializedValue = key


      Best regards
      Jan