Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Package java.dyn

This package contains dynamic language support provided directly by the Java core class libraries and virtual machine.

See:
          Description

Class Summary
Class Description
CallSite An invokedynamic call site, as reified by the containing class's bootstrap method.
InvokeDynamic Syntactic marker to request javac to emit an invokedynamic instruction.
JavaMethodHandle A Java method handle extends the basic method handle type with additional programmer defined methods and fields.
Linkage Static methods which control the linkage of invokedynamic call sites.
LinkagePermission This class is for runtime permissions.
MethodHandle A method handle is a typed reference to the entry point of a method.
MethodHandles Fundamental operations and utilities for MethodHandle.
MethodHandles.Lookup PROVISIONAL API, WORK IN PROGRESS: A factory object for creating method handles, when the creation requires access checking.
MethodType Run-time token used to match call sites with method handles.
 

Exception Summary
Exception Description
NoAccessException Thrown to indicate that a caller has attempted to create a method handle which calls a method to which the caller does not have access.
WrongMethodTypeException Thrown to indicate that code has attempted to call a method handle via the wrong method type.
 

Error Summary
Error Description
InvokeDynamicBootstrapError Thrown to indicate that an invokedynamic instruction has failed to find its bootstrap method, or the bootstrap method has failed to provide a call site with a non-null target.
 

Package java.dyn Description

This package contains dynamic language support provided directly by the Java core class libraries and virtual machine.


Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.