Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 56237 invoked from network); 25 Jul 2009 18:25:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jul 2009 18:25:39 -0000 Received: (qmail 22262 invoked by uid 500); 25 Jul 2009 18:26:44 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 22184 invoked by uid 500); 25 Jul 2009 18:26: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 22174 invoked by uid 99); 25 Jul 2009 18:26:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jul 2009 18:26: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; Sat, 25 Jul 2009 18:26:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC5B1234C046 for ; Sat, 25 Jul 2009 11:26:14 -0700 (PDT) Message-ID: <2075780575.1248546374901.JavaMail.jira@brutus> Date: Sat, 25 Jul 2009 11:26:14 -0700 (PDT) From: "Andreas Veithen (JIRA)" To: commons-dev@ws.apache.org Subject: [jira] Resolved: (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 resolved WSCOMMONS-489. --------------------------------------- Resolution: Fixed Fix Version/s: Axiom 1.2.9 > 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 > Assignee: Andreas Veithen > Fix For: Axiom 1.2.9 > > > 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.