hxjava
hxjava copied to clipboard
Fail to generate java source if import thx.promise.Promise
Below is a simple main that hxjava that fail to generate java source although jvm works because the import of https://lib.haxe.org/p/thx.promise
package;
import java.Lib;
import thx.promise.Promise;
class Main
{
static function main()
{
trace("Hello World");
}
}
haxe -cp src -java D:/testJava/TestJava/bin -main Main -lib msignal -lib thx.promise will inform Stack overflow and nothing is generated.
But if we ignore java generation and target jvm directly, it works haxe -cp src -java D:/testJava/TestJava/bin -main Main -lib msignal -lib thx.promise -D jvm