HaxeFoundation / HaxeFoundation/hxjava

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

Aperta
#38 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haxe
Stelle
46
Fork
14
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the Java-target command with the provided Main entry point and the thx.promise library, then compare it with the JVM-target command that succeeds. Trace the source-generation path around the reported stack overflow; done means Java source is generated successfully for this example without the overflow.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
compilers
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.