Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upJDK 12 incompatible #955
JDK 12 incompatible #955
Comments
and I guess this problem has something to do with this issue: |
Hi, we did face the relevant problem with the same component JFXTextFieldSkin while launching the application. Here is the exception. java.version : 12 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 I tried updating it but went over my head. |
@micheljung no worries, I'll do the merge now. |
Same problem here with jfoenix 9.0.9 |
I am also having a problem with jfoenix 9.0.9 and JDK 12 |
@jfoenixadmin not sure if you saw this already: |
@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 |
@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
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 ***@***.***> 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
<#955 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMPONSMBBFRV7POAGFORR33RU5JP5ANCNFSM4G7ZDIJA>
.
|
YOU ROCK! THANKS !!! |
Thank you. This is the most important lib in the fx world. Never let her die. |
I've tested the fix on JDK 14 / JavaFX 14, @seinecle can you verify it's working on your environment? supposedly it should work, but it's better to test |
I'm crazy to test. But I am hoping to upload the version for the maven. |
it's on maven |
cc @jfoenixadmin > I've tested the fix on JDK 14 / JavaFX 14, @seinecle can you verify it's working on your environment? supposedly it should work, but it's better to test In Netbeans in a modular project it gets me a warning that the module com.jfoenix is not found. I am a noob but can it be due to the module-info file in the lib? |
error: java.lang.reflect.InaccessibleObjectException: Unable to make boolean java.lang.reflect.AccessibleObject.setAccessible0(boolean) accessible: module java.base does not "opens java.lang.reflect" to module com.jfoenix |
@rruffer which JDK version are you using? |
14 |
it's weird, I mean i do get a warning that the library is using reflection but not an error. |
aha I see, try adding |
not work for me. See my code: https://github.com/rruffer/library-fx |
@rruffer, I took a look at your code and i noticed you are using maven. I have a question, how did you add the |
Same issue: |
@jfoenixadmin thx! I use Maven and not sure where I can add it but will investigate |
@jfoenixadmin I am using eclipse. Right click on the project. I'm going to run as. Run configuration. Tab Arguments and vm arguments. |
@jfoenixadmin with --add-opens java.base/java.lang.reflect=ALL-UNNAMED work for me |
Yes but for a packaged app? |
I haven't packed it yet. but I usually use launch4j or create a .bat to pass the arguments and start the application. There is this way to configure maven too. But I still haven't tested it by packaging: https://github.com/openjfx/javafx-maven-plugin
|
@jfoenixadmin works for me! |
chengenzhao commentedMar 20, 2019
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?