Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD61419538 for ; Tue, 12 Apr 2016 23:02:27 +0000 (UTC) Received: (qmail 22432 invoked by uid 500); 12 Apr 2016 23:02:25 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 22239 invoked by uid 500); 12 Apr 2016 23:02:25 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 22196 invoked by uid 99); 12 Apr 2016 23:02:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 23:02:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 794B12C1F62 for ; Tue, 12 Apr 2016 23:02:25 +0000 (UTC) Date: Tue, 12 Apr 2016 23:02:25 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-15639) Unguarded access to stackIndexes in Procedure#toStringDetails() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ted Yu created HBASE-15639: ------------------------------ Summary: Unguarded access to stackIndexes in Procedure#toStringDetails() Key: HBASE-15639 URL: https://issues.apache.org/jira/browse/HBASE-15639 Project: HBase Issue Type: Bug Reporter: Ted Yu Assignee: Ted Yu Priority: Minor In Procedure#toStringDetails() : {code} if (stackIndexes != null) { sb.append("\n"); sb.append("stackIndexes="); sb.append(Arrays.toString(getStackIndexes())); } {code} The access is not protected by synchronized keyword whereas access to stackIndexes is protected in all other methods. Note: getStackIndexes() has proper protection. -- This message was sent by Atlassian JIRA (v6.3.4#6332)