ClassDefiner
public class SafeClassDefiner extends Object implements ClassDefiner
Modifier and Type | Method | Description |
---|---|---|
Class<?> |
defineClass(ClassLoader parentLoader,
String name,
byte[] data) |
Define a class
|
isBypassAccessChecks
public Class<?> defineClass(ClassLoader parentLoader, String name, byte[] data)
ClassDefiner
defineClass
in interface ClassDefiner
parentLoader
- the parent classloadername
- the name of the classdata
- the class data to loadCopyright © 2019. All rights reserved.