Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-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 D860A113FC for ; Wed, 30 Jul 2014 10:27:07 +0000 (UTC) Received: (qmail 95147 invoked by uid 500); 30 Jul 2014 10:27:02 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 95099 invoked by uid 500); 30 Jul 2014 10:27:02 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 95082 invoked by uid 99); 30 Jul 2014 10:27:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 10:27:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 07842950C36; Wed, 30 Jul 2014 10:27:02 +0000 (UTC) From: foogaro To: dev@struts.apache.org Reply-To: dev@struts.apache.org References: In-Reply-To: Subject: [GitHub] struts pull request: Localized by classloader Content-Type: text/plain Message-Id: <20140730102702.07842950C36@tyr.zones.apache.org> Date: Wed, 30 Jul 2014 10:27:02 +0000 (UTC) Github user foogaro commented on a diff in the pull request: https://github.com/apache/struts/pull/20#discussion_r15575975 --- Diff: xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java --- @@ -246,35 +245,32 @@ public static String findDefaultText(String aTextName, Locale locale, Object[] p public static ResourceBundle findResourceBundle(String aBundleName, Locale locale) { String key = createMissesKey(aBundleName, locale); - ResourceBundle bundle; + ResourceBundle bundle = null; + ClassLoader classLoader = getThreadCurrentThreadGetContextClassLoader(); try { + key = classLoader.hashCode()+key; --- End diff -- You are right, I'll fix it right away. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org