Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document differences between Java and JVM targets. #459

Open
indolering opened this issue Apr 26, 2020 · 5 comments
Open

Document differences between Java and JVM targets. #459

indolering opened this issue Apr 26, 2020 · 5 comments

Comments

@indolering
Copy link
Contributor

indolering commented Apr 26, 2020

I read that the JVM target, "gets rid of issues with incompatibility between Haxe and Java type parameters."

It would be best if any compatibility issues with Java and differences between the two targets were detailed in section 12.8.

@Simn
Copy link
Member

Simn commented Apr 26, 2020

I wouldn't really know what to document in that regard. The Java target generates .java files, the JVM target skips that step and makes a .jar. Not sure what other kind of information end users really need to learn about.

@indolering
Copy link
Contributor Author

Me neither! Maybe @waneck can pipe in?

@RblSb
Copy link
Member

RblSb commented Apr 30, 2020

Simn says that JVM target relies on some API which is unavailable on some android devices ten months ago. Simn, can you give more details about this?

@Simn
Copy link
Member

Simn commented Apr 30, 2020

That was when it was using MethodHandle, which is no longer the case. @ibilon tested it on various android versions and concluded that it seems to work fine.

@indolering
Copy link
Contributor Author

I left a comment on the original blog post about the type incompatibility, but it would still be good to include any differences between the targets. Even if it is just that the JVM target doesn't require OpenJDK to compile everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants