newJVMChunkFrom

fun newJVMChunkFrom(chunkName: String, className: String, classBytes: ByteArray, params: Array<Any>): JVMChunk?

Answer an instance of a implementationClass that is defined by the given bytes.

Return

The newly constructed JVMChunk instance, or null if no such instance could be constructed.

Parameters

chunkName

The name of the L2Chunk.

className

The class name.

classBytes

The foundational class bytes.

params

The values that should be bundled into this class loader for static initialization of the generated JVMChunk. These are accessible via the parameters field.