Jfoenix: IllegalAccessException for JFXTextField / JFXPasswordField with JDK12

Created on 21 Apr 2019  路  7Comments  路  Source: sshahine/JFoenix

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.

JDK 12 Bug 9.x wontfix

Most helpful comment

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.

All 7 comments

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

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

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

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

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.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rfenters95 picture rfenters95  路  4Comments

RodrigoSantiago picture RodrigoSantiago  路  3Comments

goxr3plus picture goxr3plus  路  3Comments

imgx64 picture imgx64  路  5Comments

SkaaRJik picture SkaaRJik  路  4Comments