hg: nashorn/jdk9/nashorn: 8031359: Invocable.getInterface() works incorrectly if interface has default methods

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Thu Jan 9 05:53:54 PST 2014


Changeset: d1d4d669373c
Author:    sundar
Date:      2014-01-09 19:23 +0530
URL:       http://hg.openjdk.java.net/nashorn/jdk9/nashorn/rev/d1d4d669373c

8031359: Invocable.getInterface() works incorrectly if interface has default methods
Reviewed-by: attila, hannesw

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
+ test/script/basic/JDK-8031359.js
+ test/script/basic/JDK-8031359.js.EXPECTED
! test/src/jdk/nashorn/api/scripting/InvocableTest.java



More information about the nashorn-dev mailing list