GROOVY-6617: joint compiler fails to compile groovy class implemented java interface