Package com.hazelcast.buildutils
Class FinalRemovalAgent
java.lang.Object
com.hazelcast.buildutils.FinalRemovalAgent
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
premain
(String argument, 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 Details
-
premain
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)
.
-