Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B0931200B34 for ; Sat, 28 May 2016 06:19:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ADC10160A04; Sat, 28 May 2016 04:19:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 233C0160A38 for ; Sat, 28 May 2016 06:19:13 +0200 (CEST) Received: (qmail 6151 invoked by uid 500); 28 May 2016 04:19:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 6126 invoked by uid 99); 28 May 2016 04:19:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 May 2016 04:19:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CE02E2C14DC for ; Sat, 28 May 2016 04:19:12 +0000 (UTC) Date: Sat, 28 May 2016 04:19:12 +0000 (UTC) From: "Rei Odaira (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11913) BufferUnderFlowException in CompressorTest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 28 May 2016 04:19:14 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rei Odaira updated CASSANDRA-11913: ----------------------------------- Flags: Patch Attachment: 11913-2.2.txt > BufferUnderFlowException in CompressorTest > ------------------------------------------ > > Key: CASSANDRA-11913 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11913 > Project: Cassandra > Issue Type: Bug > Components: Testing > Environment: Non-x86 environments > Reporter: Rei Odaira > Priority: Minor > Fix For: 2.2.x, 3.0.x, 3.x > > Attachments: 11913-2.2.txt > > > org.apache.cassandra.io.compress.CompressorTest causes java.nio.BufferUnderflowException on environments where FastByteOperations uses PureJavaOperations. The root cause is that CompressorTest.testArrayUncompress() copies data from a ByteBuffer to a byte array beyond the limit of the ByteBuffer. I will attach a patch shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)