You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest JDK 9 build (b142) has introduced incompatible changes that break objenesis, the library used by mockito (and thus securemock) to reflectively create objects (details here: easymock/objenesis#45). We should upgrade securemock as soon as the patch for objenesis has been released.
> Throwable #1: org.objenesis.ObjenesisException: java.lang.NoSuchMethodException: sun.reflect.ReflectionFactory.newConstructorForSerialization(java.lang.Class, java.lang.reflect.Constructor)
> at __randomizedtesting.SeedInfo.seed([A398D4E899C25102:5C46FC7B504C0076]:0)
> at org.objenesis.instantiator.sun.SunReflectionFactoryHelper.getNewConstructorForSerializationMethod(SunReflectionFactoryHelper.java:94)
> at org.objenesis.instantiator.sun.SunReflectionFactoryHelper.newConstructorForSerialization(SunReflectionFactoryHelper.java:41)
> at org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.<init>(SunReflectionFactoryInstantiator.java:38)
> at org.objenesis.strategy.StdInstantiatorStrategy.newInstantiatorOf(StdInstantiatorStrategy.java:58)
> at org.objenesis.ObjenesisBase.getInstantiatorOf(ObjenesisBase.java:91)
> at org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:73)
> at org.mockito.internal.creation.jmock.ClassImposterizer.createProxy(ClassImposterizer.java:152)
The text was updated successfully, but these errors were encountered:
The latest JDK 9 build (b142) has introduced incompatible changes that break objenesis, the library used by mockito (and thus securemock) to reflectively create objects (details here: easymock/objenesis#45). We should upgrade securemock as soon as the patch for objenesis has been released.
Elasticsearch build failures: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+5.x+java9-periodic/492/consoleFull
The text was updated successfully, but these errors were encountered: