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

IllegalAccessException for JFXTextField / JFXPasswordField with JDK12 #986

Closed
jonathansim97 opened this issue Apr 21, 2019 · 7 comments
Closed
Labels

Comments

@jonathansim97
Copy link

I found the same problem as the issue raised here where using JFXTextField and/or JFXPasswordField returns an IllegalAccessException especially on JFXTextFieldSkin trying to access a member of class javafx.scene.control.skin.TextFieldSkin which seems to be private.

I can open the FXML file using Scene Builder by Gluon (outside of InteliJ) but I can't build it with the built in Scene Builder within InteliJ.

Anyone can help me please?

Thanks in advance.

@jonathansim97 jonathansim97 changed the title IllegalAccessException for JFXTextField / JFXPasswprdFoe;d with JDK12 IllegalAccessException for JFXTextField / JFXPasswordField with JDK12 Apr 21, 2019
@jonathansim97
Copy link
Author

Been browsing a while and found this as well, the issue doesn't seem to be solved there either.

@MohamedOthman1
Copy link

I have the same error . Is there any solution ? @jonathansim97

@AlanBateman
Copy link

Came up on SO here:
https://stackoverflow.com/questions/55889654/illegalaccessexception-for-jfxtextfield-with-java-sdk-12

@cmf-cv
Copy link

cmf-cv commented May 3, 2019

Same problem here, a fix would be awesome. :-)

@jonathansim97
Copy link
Author

As @AlanBateman suggested, back down to JDK 11.0.2, it is more stable anyway and it supports long time management. It works for me on JDK 11.0.2

@AlanBateman
Copy link

My comment was not a suggestion to go back to 11.0.2, it was instead just a link to a post on StackOverflow where the issue is being discussed. As I understand it, JFoenix has code that is hacking a private/undocumented field in jlr.Field and that hack breaks in JDK 12.

@jfoenixadmin jfoenixadmin added the JDK 12 Java 12 compatibility issues label May 22, 2019
@stale
Copy link

stale bot commented Nov 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

6 participants