--- old/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java 2015-10-21 14:10:36.000000000 +0200 +++ new/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java 2015-10-21 14:10:35.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -194,10 +194,11 @@ * of this class needs to be aware of that. */ public static void recycle(XMLStreamReader r) { + /* the XMLStreamReaderFactory recycle becomes expenisve in the threadLocal get operation. get().doRecycle(r); if (r instanceof RecycleAware) { ((RecycleAware)r).onRecycled(); - } + }*/ } // implementations