view indy.txt @ 46:40852f028895

indy: move platform-specific code from meth.patch into indy-$arch.patch
author jrose
date Wed, 22 Apr 2009 20:43:21 -0700
parents ad4e40228a6a
children
line wrap: on
line source
6655646: dynamic languages need dynamically linked call sites
Summary: invokedynamic instruction (JSR 292 RI)

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6655646

Features:
- enabled via -XX:+EnableInvokeDynamic

Notes:

If you get an error like this:
  Exception in thread "main" java.lang.VerifyError: (class: Foo, method: ...) Illegal instruction found at offset 39
then you need a JDK with a patch to the old verifier plugin, see ../jdk/indy.verify.patch
As a workaround, use this JVM flag to turn off the (unpatched) verifier:
  -Xverify:none
or else put your classes on the BCP: -Xbootclasspath/a:my/classes:my.jar