Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B20A1954A for ; Tue, 12 Apr 2016 23:03:26 +0000 (UTC) Received: (qmail 25915 invoked by uid 500); 12 Apr 2016 23:03:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 25862 invoked by uid 500); 12 Apr 2016 23:03:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 25829 invoked by uid 99); 12 Apr 2016 23:03: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:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 966812C14E1 for ; Tue, 12 Apr 2016 23:03:25 +0000 (UTC) Date: Tue, 12 Apr 2016 23:03:25 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/HBASE-15639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-15639: --------------------------- Attachment: HBASE-15639.v1.patch > 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 > Attachments: HBASE-15639.v1.patch > > > 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)