Dynamic linking of language-defined object models 

Java interoperability has been enhanced. The necessary JDK changes were made to permit runtime linkers from multiple languages to coexist in a single JVM instance. This change applies to high-level operations, as you would expect. An example of a relevant high-level operation is the reading or writing of a property with elements such as accessors and mutators.

The high-level operations apply to objects of unknown types. They can be invoked with INVOKEDYNAMIC instructions. Here is an example of calling an object's property when the object's type is unknown at compile time:

INVOKEDYNAMIC "dyn:getProp:age"
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset