|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
To unsubscribe from this list please visit:

For staying source-compatible with Java6 and earlier, you can use this:
static { // see http://www.cs.duke.edu/csed/java/jdk1.7/technotes/guides/lang/cl-mt.html // TODO as soon as we compile with Java7 use this: ClassLoader.registerAsParallelCapable(); // until then: workaround: try { Method m = ClassLoader.class.getDeclaredMethod("registerAsParallelCapable"); m.setAccessible(true); m.invoke(null); } catch (Throwable t) { // ignore for older runtime environments } }