Contents | Prev | Next | Index

getstatic

Linking Exceptions
During resolution of the CONSTANT_Fieldref constant pool item, any of the exceptions documented in §5.2 can be thrown.

Otherwise, if the specified field exists but is not a static (class) field, getstatic throws an IncompatibleClassChangeError.

Notes
The getstatic instruction operates on both one- and two-word wide fields.


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