required by jdk issue #2791 Forein function interface library, which takes care of calling conventions of different platforms.