Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 19792 invoked from network); 24 Jul 2009 16:56:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 16:56:37 -0000 Received: (qmail 39972 invoked by uid 500); 24 Jul 2009 16:57:42 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 39913 invoked by uid 500); 24 Jul 2009 16:57:42 -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 39903 invoked by uid 99); 24 Jul 2009 16:57:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 16:57:42 +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, 24 Jul 2009 16:57:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E4542234C1E7 for ; Fri, 24 Jul 2009 09:57:14 -0700 (PDT) Message-ID: <2134579085.1248454634934.JavaMail.jira@brutus> Date: Fri, 24 Jul 2009 09:57:14 -0700 (PDT) From: "Andreas Veithen (JIRA)" To: commons-dev@ws.apache.org Subject: [jira] Assigned: (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 reassigned WSCOMMONS-489: ----------------------------------------- Assignee: Andreas Veithen > 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 > > 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.