[ https://issues.apache.org/jira/browse/HBASE-16692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15521348#comment-15521348 ]
Hudson commented on HBASE-16692: -------------------------------- FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #1672 (See [https://builds.apache.org/job/HBase-Trunk_matrix/1672/]) HBASE-16692 Make ByteBufferUtils#equals safer and correct (binlijin) (tedyu: rev 3896d9ed0a87c77330f3f2c998a6fdafe272e2d6) * (add) hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteBufferUtils.java * (delete) hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestByteBufferUtils.java * (edit) hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java > Make ByteBufferUtils#equals safer and correct > --------------------------------------------- > > Key: HBASE-16692 > URL: https://issues.apache.org/jira/browse/HBASE-16692 > Project: HBase > Issue Type: Improvement > Reporter: binlijin > Assignee: binlijin > Fix For: 2.0.0 > > Attachments: HBASE-16692-master.patch, HBASE-16692-master_v2.patch, > HBASE-16692-master_v3.patch, HBASE-16692-master_v4.patch, > HBASE-16692-master_v5.patch > > > 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)