public final class VM extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
reload(Class<?> clazz,
byte[] byteCode)
Takes an existing class and replaces its existing byte code
with new one.
|
public static void reload(Class<?> clazz, byte[] byteCode) throws IOException
clazz - existing class to reloadbyteCode - new bytecodeIOException - an exception is something goes wrongCopyright © 2019 API Design. All Rights Reserved.