8031359: Invocable.getInterface() works incorrectly if interface has default methods
Reviewed-by: attila, hannesw
Error
at func (test/script/basic/JDK-8017950.js:33)
at f (test/script/basic/JDK-8017950.js:40)
at g (test/script/basic/JDK-8017950.js:44)
at <program> (test/script/basic/JDK-8017950.js:47)