hxjava icon indicating copy to clipboard operation
hxjava copied to clipboard

Fail to generate java source if import thx.promise.Promise

Open hypergeome opened this issue 3 years ago • 0 comments

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

hypergeome avatar Nov 05 '22 10:11 hypergeome