Title: [2110] trunk/xstream/src/java/com/thoughtworks/xstream/core/util/CompositeClassLoader.java: Make Java 1.4 compatible.
Revision
2110
Author
joehni
Date
2013-09-07 18:48:39 -0500 (Sat, 07 Sep 2013)

Log Message

Make Java 1.4 compatible.

Modified Paths


Diff

Modified: trunk/xstream/src/java/com/thoughtworks/xstream/core/util/CompositeClassLoader.java (2109 => 2110)


--- trunk/xstream/src/java/com/thoughtworks/xstream/core/util/CompositeClassLoader.java	2013-09-07 16:32:41 UTC (rev 2109)
+++ trunk/xstream/src/java/com/thoughtworks/xstream/core/util/CompositeClassLoader.java	2013-09-07 23:48:39 UTC (rev 2110)
@@ -56,7 +56,7 @@
         if (JVM.is17()) {
             // see http://www.cs.duke.edu/csed/java/jdk1.7/technotes/guides/lang/cl-mt.html
             try {
-                Method m = ClassLoader.class.getDeclaredMethod("registerAsParallelCapable");
+                Method m = ClassLoader.class.getDeclaredMethod("registerAsParallelCapable", (Class[])null);
                 m.setAccessible(true);
                 m.invoke(null);
             } catch (Exception e) {

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to