HaxeFoundation / HaxeFoundation/hxjava

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

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.