Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 92245 invoked from network); 10 Jul 2009 21:49:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jul 2009 21:49:34 -0000 Received: (qmail 25467 invoked by uid 500); 10 Jul 2009 21:49:44 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 25392 invoked by uid 500); 10 Jul 2009 21:49:44 -0000 Mailing-List: contact commons-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commons-dev@ws.apache.org Delivered-To: mailing list commons-dev@ws.apache.org Received: (qmail 25382 invoked by uid 99); 10 Jul 2009 21:49:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2009 21:49:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2009 21:49:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DE343234C1EB for ; Fri, 10 Jul 2009 14:49:14 -0700 (PDT) Message-ID: <1924132504.1247262554909.JavaMail.jira@brutus> Date: Fri, 10 Jul 2009 14:49:14 -0700 (PDT) From: "Andreas Veithen (JIRA)" To: commons-dev@ws.apache.org Subject: [jira] Updated: (WSCOMMONS-489) StAXUtils incorrectly assumes that XMLInputFactory and XMLOutputFactory instances are thread safe In-Reply-To: <842257981.1247262074996.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/WSCOMMONS-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen updated WSCOMMONS-489: -------------------------------------- Summary: StAXUtils incorrectly assumes that XMLInputFactory and XMLOutputFactory instances are thread safe (was: StAXUtil incorrectly assumes that XMLInputFactory and XMLOutputFactory instances are thread safe) > StAXUtils incorrectly assumes that XMLInputFactory and XMLOutputFactory instances are thread safe > ------------------------------------------------------------------------------------------------- > > Key: WSCOMMONS-489 > URL: https://issues.apache.org/jira/browse/WSCOMMONS-489 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Affects Versions: Axiom 1.2.8 > Reporter: Andreas Veithen > > StAXUtil uses a single XMLInputFactory or XMLOutputFactory instance (per classloader). This means that it makes the assumption that these instances are thread safe. However, there is nothing in the StAX specs that guarantees that, and Sun's implementation in JDK 6 is not thread safe, at least with the default properties [1] [2]. > [1] http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules-com.sun/xml/com/sun/xml/internal/stream/XMLInputFactoryImpl.java.htm > [2] http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules-com.sun/xml/com/sun/xml/internal/stream/XMLOutputFactoryImpl.java.htm -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.