[java] fixed issue #1631


git-svn-id: http://haxe.googlecode.com/svn/trunk@6486 f16182fa-f095-11de-8f43-4547254af6c6
[java] fixed issue #1674


git-svn-id: http://haxe.googlecode.com/svn/trunk@6487 f16182fa-f095-11de-8f43-4547254af6c6
pad missing args with null in createInstance (fixed issue #1736)

git-svn-id: http://haxe.googlecode.com/svn/trunk@6488 f16182fa-f095-11de-8f43-4547254af6c6