hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "binlijin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16692) Make ByteBufferUtils#equals more safe and correct
Date Fri, 23 Sep 2016 09:05:20 GMT
binlijin created HBASE-16692:
--------------------------------

             Summary: Make ByteBufferUtils#equals more safe and correct
                 Key: HBASE-16692
                 URL: https://issues.apache.org/jira/browse/HBASE-16692
             Project: HBase
          Issue Type: Improvement
            Reporter: binlijin


ByteBufferUtils.equals(HConstants.EMPTY_BYTE_BUFFER, 0, 0, HConstants.EMPTY_BYTE_ARRAY, 0,
0) will throw java.lang.ArrayIndexOutOfBoundsException: -1, i think it should return true.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message