- name
- the expected name of the new class, may be null if not known.
- b
- the byte buffer containing the byte code of the new class.
- protectionDomain
- the protection domain to assign to the loaded class, may be null.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ClassFormatError if b does not contain a valid class. Java.Lang.NoClassDefFoundError if className is not equal to the name of the class contained in b.
Defines a new class with the specified name, byte code from the byte buffer and the optional protection domain. If the provided protection domain is null then a default protection domain is assigned to the class.