Class Overview
Instantiates a new object on the Sun JVM by bypassing the constructor (meaning code in the constructor
will never be executed and parameters do not have to be known). This is the same method used by the internals of
standard Java serialization, but relies on internal Sun code that may not be present on all JVMs.
Public Constructors
public
Sun14ReflectionProvider
()
Public Methods
public
Object
newInstance
(Class type)
Creates a new instance of the specified type. It is in the responsibility
of the implementation how such an instance is created.
Parameters
type
| the type to instantiate |
Returns
- a new instance of this type
Protected Methods
protected
Object
readResolve
()
protected
void
validateFieldAccess
(Field field)