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

[Bug]: java.io.IO methods from JEP 477 aren't supported #34

Open
cassandrus opened this issue Oct 16, 2024 · 2 comments
Open

[Bug]: java.io.IO methods from JEP 477 aren't supported #34

cassandrus opened this issue Oct 16, 2024 · 2 comments

Comments

@cassandrus
Copy link

What happened?

I can't use preview feature "Implicitly Declared Classes and Instance Main Methods (Third Preview)":
image

I understand that perhaps you don't use implicit class under the hood, but playground looks like implicit class and IMO it should work like implicit class (even if needs to be simulated). More to say, playground is the place to try java, so it should support features for newbies and fast prototyping.

OS

Windows

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge, Brave, Other

Contact Details (optional)

No response

Additional information

Leave blank

@JosePaumard
Copy link

Hello, indeed the Playground doesn't use implicit classes, it is based on JShell. So unfortunately this feature will not work.
Sorry for the inconvenience.

@denismakogon
Copy link

Hi there from Playground team. @cassandrus! I want to inform you that methods from IO will be available in the upcoming Java Playground release. We already have a solution, we just need a little bit of time to present this to public audience.

I'll post and update to this ticket when we will deploy new changes.

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

No branches or pull requests

3 participants