10.12.2012 Views

The Java Language Specification, Third Edition

The Java Language Specification, Third Edition

The Java Language Specification, Third Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

See local class<br />

member<br />

See member class<br />

members, 123<br />

declarations, 189<br />

binary compatibility considerations,<br />

342<br />

methods<br />

class, 216<br />

interface, 266<br />

non-static, 216<br />

static, 216<br />

named, 173<br />

names, fully qualified, 145<br />

naming conventions, 147<br />

nested<br />

See nested classes<br />

non-public, in example of qualified names<br />

and access control, 141<br />

normal, 113, 176<br />

preparation, 315<br />

at virtual machine startup, 310<br />

preventing instantiation of, 177<br />

public<br />

access control in, 138<br />

binary compatibility considerations, 341<br />

in example of qualified names and access<br />

control, 141<br />

references to, binary file format requirements<br />

, 335<br />

resolution<br />

exceptions<br />

IllegalAccessError, 315<br />

IncompatibleClassChangeError,<br />

315<br />

InstantiationError, 316<br />

NoSuchFieldError, 316<br />

NoSuchMethodError, 316<br />

process description, 315<br />

at virtual machine startup, 310<br />

scope of, 117, 161<br />

in scope of an imported type, 117, 161<br />

static initializers, 239<br />

binary compatibility considerations, 356<br />

that depend on themselves<br />

See circular declaration, of a class<br />

that directly depend on a reference type<br />

See circular declaration, of a class<br />

top-level, 317<br />

top-level<br />

See top-level class<br />

type declarations, as members of packages,<br />

166<br />

unloading of, 330<br />

variables<br />

default values, 71<br />

specification, 69, 198<br />

verification, at virtual machine startup, 310<br />

wrapper, 2, 497<br />

ClassCastException, 95, 100<br />

classification<br />

reclassification of contextually ambiguous<br />

names, 129<br />

syntactic, of a name according to context,<br />

127<br />

ClassLoader class, 313<br />

Cloneable interface, 85, 98<br />

and array subtyping, 64<br />

code generation<br />

See also binary, compatibility; compile-time<br />

errors; exceptions; optimization<br />

asynchronous exceptions, implications for,<br />

303<br />

initialization, implications for, 321<br />

symbolic reference resolution, implications<br />

of, 315<br />

comments<br />

term definition and specification, 18<br />

Common Lisp, 6<br />

compatibility<br />

See binary, compatibility<br />

compilation<br />

See also compile-time errors; exceptions;<br />

virtual machine<br />

CompilationUnit goal symbol, syntactic<br />

grammar use, 10<br />

conditional<br />

binary compatibility considerations, 348<br />

if statement reachability handling to support,<br />

405<br />

exception handlers checked for during, 299<br />

unit, 444<br />

components, package declarations, 158<br />

and default accessibility of top-level types,<br />

166<br />

implicitly starts with import ja-<br />

603

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!