Contents | Prev | Next | Index

new

Otherwise, if the current class does not have permission to access the resolved class (§2.7.8), new throws an IllegalAccessError.

Note
The new instruction does not completely create a new instance; instance creation is not completed until an instance initialization method has been invoked on the uninitialized instance.


Contents | Prev | Next | Index

Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com