8033528: assert(0 <= i && i < length()) failed: index out of bounds

Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.

Reviewed-by: twisti, hseigel
This commit is contained in:
Coleen Phillimore 2014-02-07 18:30:27 -05:00
parent 3d76a6654e
commit 2759eb10ae
6 changed files with 43 additions and 20 deletions

View file

@ -26,8 +26,9 @@
* @test
* @bug 8032024
* @bug 8025937
* @bug 8033528
* @summary [JDK 8] Test invokespecial and invokeinterface with the same JVM_CONSTANT_InterfaceMethodref
* @run main InvokespecialInterface
* @run main/othervm -XX:+StressRewriter InvokespecialInterface
*/
import java.util.function.*;
import java.util.*;