jmock 2.8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
soon i upgrade jmock to 2.8.1
probably there might be problems such as

Running com.lmax.disruptor.BatchEventProcessorTest
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
Exception in thread "Thread-1" java.util.ConcurrentModificationException: the Mockery is not thread-safe: use a Synchroniser to ensure thread safety at org.jmock.internal.SingleThreadedPolicy.reportError(SingleThreadedPolicy.java:35) at org.jmock.internal.SingleThreadedPolicy.checkRunningOnTestThread(SingleThreadedPolicy.java:28) at org.jmock.internal.SingleThreadedPolicy.access$000(SingleThreadedPolicy.java:10) at org.jmock.internal.SingleThreadedPolicy$1.invoke(SingleThreadedPolicy.java:20) at org.jmock.lib.JavaReflectionImposteriser$1.invoke(JavaReflectionImposteriser.java:33)
        at com.sun.proxy.$Proxy8.handleEventException(Unknown Source)
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:147)
        at java.lang.Thread.run(Thread.java:745)
for a solution see http://www.jmock.org/threading-synchroniser.html
regards
gil
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux