JFoenix
JFoenix copied to clipboard
JDK 12 incompatible
Hi: Today JDK 12 is released and one interesting change is they make javafx.scene.control.skin.TextFieldSkin members private thus for JFoenix we will get some exception like: java.lang.IllegalAccessException: class com.jfoenix.skins.JFXTextFieldSkin cannot access a member of class javafx.scene.control.skin.TextFieldSkin with modifiers "private" at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:355)
so any ideas how we should fix this problem?
and I guess this problem has something to do with this issue: https://bugs.openjdk.java.net/browse/JDK-8207942
Hi, we did face the relevant problem with the same component JFXTextFieldSkin while launching the application.
Here is the exception. Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.jfoenix.skins.JFXTextFieldSkin.updateTextPos(JFXTextFieldSkin.java:109) at com.jfoenix.skins.JFXTextFieldSkin.layoutChildren(JFXTextFieldSkin.java:93) at javafx.scene.control.Control.layoutChildren(Control.java:601)
java.version : 12 java.vm.version : 12+33
we use java fx bundle 12
Thought this is relevant. Let me know if this needs to be created as a new issue
I tried looking into it but @jfoenixadmin it seems that the branch JFoenix-9.0.0
hasn't been kept up to date since August 2018 :-(
I tried updating it but went over my head.
@micheljung no worries, I'll do the merge now. However I'm not sure this will fix the compatibility with JDK 12
Same problem here with jfoenix 9.0.9 Has anybody figured out how to fix it?
I am also having a problem with jfoenix 9.0.9 and JDK 12
@jfoenixadmin not sure if you saw this already:
https://stackoverflow.com/a/55892520
@TheRedSpy15 that's how we are using reflection to access private fields. however I suspect that the field either renamed or removed thus causing this issue.
I am facing this issue as well java.lang.IllegalAccessException: class com.jfoenix.skins.JFXTextAreaSkin cannot access a member of class javafx.scene.control.skin.TextAreaSkin
@jfoenixadmin when will get a fix for this :(
is this fixed??
Not fixed yet
Am also faced with the same issue
java.lang.IllegalAccessException: class com.jfoenix.skins.JFXTextFieldSkin cannot access a member of class javafx.scene.control.skin.TextFieldSkin with modifiers "private"
did any one resolve this issue ?
Any fix?
any fix ?
Are there any plans for making JFoenix compatible with versions of Java greater than 11?
any fix to the access block to JFXTextfield and JFXPassword in jdk12?
@jfoenixadmin We need some kind of a fix for this bug please, I don't want to downgrade to jdk11 just for this issue :(
Same here. Won't use the library as I am on JDK 14 / JavaFX 12
Same here
class com.jfoenix.skins.JFXTextFieldSkin
cannot access a member of class
javafx.scene.control.skin.TextFieldSkin
(in module javafx.controls) with modifiers "private"
I am on JDK 14 and JavaFx 14, May be I have to downgrade to JDK 11?
@viewv yes currently that is the only solution
any fix ?
please fix it.
PLEASE!!!!!!!!
It's dead Jim
no news on the subject?
Hallelujah, I'm pushing the fix today to JFoenix 9 branch :p, I'll update the maven jars later today to x.x.10
Amazing!! Regards, Ngacho.
"A painting is never finished-It simply stops in interesting places." Paul Gauguin.
On Thu, 4 Jun 2020 at 11:12, JFoeniX [email protected] wrote:
Hallelujah, I'm pushing the fix today to JFoenix 9 branch :p
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jfoenixadmin/JFoenix/issues/955#issuecomment-638686054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMPONSMBBFRV7POAGFORR33RU5JP5ANCNFSM4G7ZDIJA .
Hallelujah, I'm pushing the fix today to JFoenix 9 branch :p, I'll update the maven jars later today to x.x.10
YOU ROCK! THANKS !!!