Skip to content

Upgrading org.easymock:easymock 3 to 4

Breaking3.6 → 4.3Platform1New2Changed2Fixed2Other2

Fetching 6 releases from GitHub…1 / 6
BreakingUpgrade verdict

A platform requirement change.

  • The library now works on Java 16.
1 item needs code or config changes

Adds org.junit.jupiter:junit-jupiter 5.7.1, org.junit.vintage:junit-vintage-engine 5.7.1.

Installs 15 packages in all (was 3).

Also installs com.beust:jcommander, org.apiguardian:apiguardian-api, org.hamcrest:hamcrest-core, org.junit.jupiter:junit-jupiter-api, org.junit.jupiter:junit-jupiter-engine, org.junit.jupiter:junit-jupiter-params, org.junit.platform:junit-platform-commons, org.junit.platform:junit-platform-engine, org.opentest4j:opentest4j, org.webjars:jquery.

Moves junit:junit 4.12 → 4.13.2, org.objenesis:objenesis 2.6 → 3.2, org.testng:testng 6.14.2 → 7.4.0. Your build may pick other versions.

Platform1
Adds support for Java 16.

Generated by DepDelta from published JVM bytecode. Not mixed with prose notes.

  • removed: ctor Capture()
  • removed: ctor Capture(CaptureType)
  • added: @interface Preview
  • added: class EasyMockExtension implements TestInstancePostProcessor
  • added: ctor EasyMockExtension()
  • added: method EasyMockExtension.postProcessTestInstance(Object, ExtensionContext): void
  • added: method IMockBuilder.mock(): Object
  • added: method IMockBuilder.mock(IMocksControl): Object
  • added: method IMockBuilder.mock(MockType): Object
  • added: method IMockBuilder.mock(String): Object
  • added: method IMockBuilder.mock(String, IMocksControl): Object
  • added: method IMockBuilder.mock(String, MockType): Object
  • added: method IMockBuilder.niceMock(): Object
  • added: method IMockBuilder.niceMock(String): Object
  • added: method IMockBuilder.strictMock(): Object
  • added: method IMockBuilder.strictMock(String): Object
  • added: method IMocksControl.mock(Class): Object
  • added: method IMocksControl.mock(String, Class): Object
  • added: method IMocksControl.mock(String, Class, ConstructorArgs, Method[]): Object
  • added: static method EasyMock.getCurrentArgument(int): Object
  • changed: class Type → final class Type
  • changed: class TypePath → final class TypePath
  • added: abstract class RecordComponentVisitor
  • added: ctor ClassTooLargeException(String, int)
  • added: ctor ConstantDynamic(String, String, Handle, Object[])
  • added: ctor MethodTooLargeException(String, String, String, int)
  • added: ctor RecordComponentVisitor(int)
  • added: ctor RecordComponentVisitor(int, RecordComponentVisitor)
  • added: field RecordComponentVisitor.api: int
  • added: final class ClassTooLargeException extends IndexOutOfBoundsException
  • added: final class ConstantDynamic
  • added: final class MethodTooLargeException extends IndexOutOfBoundsException
  • added: method ClassTooLargeException.getClassName(): String
  • added: method ClassTooLargeException.getConstantPoolCount(): int
  • added: method ClassVisitor.visitNestHost(String): void
  • added: method ClassVisitor.visitNestMember(String): void
  • added: method ClassVisitor.visitPermittedSubclass(String): void
  • added: method ClassVisitor.visitRecordComponent(String, String, String): RecordComponentVisitor
  • added: method ClassWriter.getClassLoader(): ClassLoader
  • added: method ClassWriter.newConstantDynamic(String, String, Handle, Object[]): int
  • added: method ClassWriter.visitNestHost(String): void
  • added: method ClassWriter.visitNestMember(String): void
  • added: method ClassWriter.visitPermittedSubclass(String): void
  • added: method ClassWriter.visitRecordComponent(String, String, String): RecordComponentVisitor
  • added: method ConstantDynamic.equals(Object): boolean
  • added: method ConstantDynamic.getBootstrapMethod(): Handle
  • added: method ConstantDynamic.getBootstrapMethodArgument(int): Object
  • added: method ConstantDynamic.getBootstrapMethodArgumentCount(): int
  • added: method ConstantDynamic.getDescriptor(): String
  • added: method ConstantDynamic.getName(): String
  • added: method ConstantDynamic.getSize(): int
  • added: method ConstantDynamic.hashCode(): int
  • added: method ConstantDynamic.toString(): String
  • added: method MethodTooLargeException.getClassName(): String
  • added: method MethodTooLargeException.getCodeSize(): int
  • added: method MethodTooLargeException.getDescriptor(): String
  • added: method MethodTooLargeException.getMethodName(): String
  • added: method RecordComponentVisitor.getDelegate(): RecordComponentVisitor
  • added: method RecordComponentVisitor.visitAnnotation(String, boolean): AnnotationVisitor
  • added: method RecordComponentVisitor.visitAttribute(Attribute): void
  • added: method RecordComponentVisitor.visitEnd(): void
  • added: method RecordComponentVisitor.visitTypeAnnotation(int, TypePath, String, boolean): AnnotationVisitor
  • added: static field Opcodes.ACC_RECORD: int
  • added: static field Opcodes.ASM10_EXPERIMENTAL: int
  • added: static field Opcodes.ASM7: int
  • added: static field Opcodes.ASM8: int
  • added: static field Opcodes.ASM9: int
  • added: static field Opcodes.SOURCE_DEPRECATED: int
  • added: static field Opcodes.SOURCE_MASK: int
  • added: static field Opcodes.V11: int
  • added: static field Opcodes.V12: int
  • added: static field Opcodes.V13: int
  • added: static field Opcodes.V14: int
  • added: static field Opcodes.V15: int
  • added: static field Opcodes.V16: int
  • added: static field Opcodes.V17: int
  • added: static field Opcodes.V_PREVIEW: int
  • added: ctor DuplicatesPredicate(List)
  • added: method CodeEmitter.invoke_static(Type, Signature, boolean): void
  • added: static field Constants.ASM_API: int
  • removed: ctor MocksControl(MocksControl.MockType)
  • removed: enum MocksControl.MockType
  • removed: interface ReflectionUtils.Predicate
  • removed: method MocksControl.MockType.getRealType(): MockType
  • removed: method ReflectionUtils.Predicate.test(Object): boolean
  • removed: static field MocksControl.MockType.DEFAULT: MocksControl.MockType
  • removed: static field MocksControl.MockType.NICE: MocksControl.MockType
  • removed: static field MocksControl.MockType.STRICT: MocksControl.MockType
  • removed: static method MocksControl.MockType.valueOf(String): MocksControl.MockType
  • removed: static method MocksControl.MockType.values(): MocksControl.MockType[]
  • removed: static method MocksControl.getMockedType(Object): Class
  • removed: static method ReflectionUtils.isDefaultMethod(Method): boolean
  • changed: static field ReflectionUtils.NOT_PRIVATE: ReflectionUtils.Predicate → static field ReflectionUtils.NOT_PRIVATE: Predicate
  • changed: static method ReflectionUtils.findMethod(Class, String, ReflectionUtils.Predicate): Method → static method ReflectionUtils.findMethod(Class, String, Predicate): Method
  • changed: static method ReflectionUtils.findMethod(Class, String, ReflectionUtils.Predicate, Class[]): Method → static method ReflectionUtils.findMethod(Class, String, Predicate, Class[]): Method
  • added: method ObjectMethodsFilter.getName(): String
  • added: static method ReflectionUtils.getDefaultMethods(Class): Set