Package org.cakelab.json.util.unsafe
Class SunMiscUnsafe
- java.lang.Object
-
- org.cakelab.json.util.unsafe.UnsafeBase
-
- org.cakelab.json.util.unsafe.SunMiscUnsafe
-
- All Implemented Interfaces:
Unsafe
public class SunMiscUnsafe extends UnsafeBase
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
allocateInstance(java.lang.Class<?> cls)
Allocate an instance but do not run any constructor.
-
-
-
Method Detail
-
allocateInstance
public java.lang.Object allocateInstance(java.lang.Class<?> cls) throws java.lang.InstantiationException
Description copied from interface:Unsafe
Allocate an instance but do not run any constructor. Initializes the class if it has not yet been.- Throws:
java.lang.InstantiationException
-
-