Author: alessio.soldano(a)jboss.com
Date: 2013-02-08 05:56:32 -0500 (Fri, 08 Feb 2013)
New Revision: 17281
Modified:
stack/cxf/branches/jbossws-cxf-4.1.x/
stack/cxf/branches/jbossws-cxf-4.1.x/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java
Log:
Merged revisions 17279 via svnmerge from
https://svn.jboss.org/repos/jbossws/stack/cxf/trunk
.......
r17279 | alessio.soldano(a)jboss.com | 2013-02-08 11:21:52 +0100 (Fri, 08 Feb 2013) | 2
lines
[JBWS-3594] Make sure the classloader in CustomJavaFileManager does not implement
Closeable
.......
Property changes on: stack/cxf/branches/jbossws-cxf-4.1.x
___________________________________________________________________
Modified: svnmerge-integrated
- /stack/cxf/trunk:1-17199
+ /stack/cxf/trunk:1-17199,17279
Modified: svn:mergeinfo
- /stack/cxf/branches/asoldano:14032-14050,14068
/stack/cxf/branches/ropalka:16301-16305,16966-17008
/stack/cxf/branches/ropalka_JBWS-3550:16747-16757
+ /stack/cxf/branches/asoldano:14032-14050,14068
/stack/cxf/branches/ropalka:16301-16305,16966-17008
/stack/cxf/branches/ropalka_JBWS-3550:16747-16757
/stack/cxf/trunk:17279
Modified:
stack/cxf/branches/jbossws-cxf-4.1.x/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-4.1.x/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java 2013-02-08
10:22:12 UTC (rev 17280)
+++
stack/cxf/branches/jbossws-cxf-4.1.x/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java 2013-02-08
10:56:32 UTC (rev 17281)
@@ -330,7 +330,10 @@
final class CustomJavaFileManager extends
ForwardingJavaFileManager<JavaFileManager>
{
- private ClassLoader classLoader = Provider.provider().getClass().getClassLoader();
+ private ClassLoader classLoader = new
ClassLoader(Provider.provider().getClass().getClassLoader())
+ {
+ //just prevent the classloader from being Closeable, as URLClassloader
implements Closeable since JDK 1.7 u12 b08
+ };
protected CustomJavaFileManager(JavaFileManager fileManager)
{