Package com.hazelcast.buildutils
Class FinalRemovalAgent
- java.lang.Object
-
- com.hazelcast.buildutils.FinalRemovalAgent
-
public final class FinalRemovalAgent extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
premain(java.lang.String argument, java.lang.instrument.Instrumentation instrumentation)
When running a compatibility test, all com.hazelcast.* classes are transformed so that none are loaded with final modifier to allow subclass proxying.
-
-
-
Method Detail
-
premain
public static void premain(java.lang.String argument, java.lang.instrument.Instrumentation instrumentation)
When running a compatibility test, all com.hazelcast.* classes are transformed so that none are loaded with final modifier to allow subclass proxying. We configure the agent with REDEFINE type strategy and NoOp initialization strategy. This allows for the redefinition of the type (instead of default REBASE strategy) without adding any methods (which result in modifying Serializable classes' serialVersionUid). For more details seeByteBuddy.rebase(Class)
vsByteBuddy.redefine(Class)
.
-
-