|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objenesis.instantiator.jrockit.JRockitLegacyInstantiator
public class JRockitLegacyInstantiator
Instantiates a class by making a call to internal JRockit private methods. It is only supposed to work on JRockit 1.4.2 JVMs prior to release R25.1. From release R25.1 on, JRockit supports sun.reflect.ReflectionFactory, making this "trick" unnecessary. This instantiator will not call any constructors.
ObjectInstantiator,
SunReflectionFactoryInstantiator| Constructor Summary | |
|---|---|
JRockitLegacyInstantiator(java.lang.Class type)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
newInstance()
Returns a new instance of an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JRockitLegacyInstantiator(java.lang.Class type)
| Method Detail |
|---|
public java.lang.Object newInstance()
ObjectInstantiator
newInstance in interface ObjectInstantiator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||