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

Which JRE classes are implemented? #30

Closed
sarsonj opened this issue Feb 6, 2019 · 2 comments
Closed

Which JRE classes are implemented? #30

sarsonj opened this issue Feb 6, 2019 · 2 comments
Labels

Comments

@sarsonj
Copy link

sarsonj commented Feb 6, 2019

Hi,

is there somewhere described, which standard JRE classes are already included, which are planned and which not?

For example I tried ByteBuffer and and I get:

The import java.nio.ByteBuffer cannot be resolved

so that it looks like it is not there. It would be nice to have overview what is there and what not.

Thanks!

Jindrich

@sarsonj sarsonj changed the title What JRE classes are implemented? Which JRE classes are implemented? Feb 6, 2019
@tbroyer
Copy link
Contributor

tbroyer commented Feb 6, 2019

The emulation library actually comes from GWT: https://github.com/gwtproject/gwt/tree/master/user/super/com/google/gwt/emul
When we don't forget about it, we generate a list of the emulated classes and methods at release time and publish it at http://www.gwtproject.org/doc/latest/RefJreEmulation.html

@niloc132
Copy link
Contributor

niloc132 commented Feb 6, 2019

java.nio.ByteBuffer is supported by PlayN, but PlayN hasnt done any updates to move from JSNI to JsInterop, so J2CL can't use it yet. I started the work in a branch some time ago (https://github.com/niloc132/playn/tree/jsinterop), but haven't completed it. Have been meaning to talk to them to see what approach they want to take with J2CL, and see if it might not make more sense to move java.nio.ByteBuffer and related classes to their own artifact (or into GWT's own JRE support).

I'm tracking this for some other work I'm doing at Vertispan/gwt-rpc#1.

@gkdn gkdn added the question label Mar 9, 2019
@gkdn gkdn closed this as completed Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants