Conversation
|
"Brute force" adding to many places also does not help: diff --git a/build.gradle b/build.gradle
index 553a0c29da..9667908ebc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -394,7 +394,9 @@ compileJava {
// TODO: Remove access to internal api
addExports = [
// Fix for https://github.com/JabRef/jabref/issues/11188
+ 'javafx.base/com.sun.javafx.event' : 'org.controlsfx.controls',
'javafx.base/com.sun.javafx.event' : 'org.jabref',
+ 'javafx.base/com.sun.javafx.event' : 'org.jabref.merged.module',
'javafx.controls/com.sun.javafx.scene.control' : 'org.jabref',
'org.controlsfx.controls/impl.org.controlsfx.skin' : 'org.jabref'
@@ -406,6 +408,7 @@ run {
// TODO: Remove access to internal api
moduleOptions {
addExports = [
+ 'javafx.base/com.sun.javafx.event' : 'org.jabref',
'javafx.controls/com.sun.javafx.scene.control' : 'org.jabref',
'org.controlsfx.controls/impl.org.controlsfx.skin' : 'org.jabref',
@@ -424,6 +427,7 @@ run {
]
addOpens = [
+ 'javafx.base/com.sun.javafx.event' : 'org.jabref',
'javafx.controls/javafx.scene.control' : 'org.jabref',
'org.controlsfx.controls/org.controlsfx.control.textfield' : 'org.jabref',
'javafx.controls/com.sun.javafx.scene.control' : 'org.jabref', |
|
The exception in line wrapped form:
|
|
needs to be added to the run below as well |
You mean the |
|
The secret was to use |
|
|
||
| applicationDefaultJvmArgs = | ||
| // Fix for https://github.com/JabRef/jabref/issues/11188 | ||
| ['--add-exports=javafx.base/com.sun.javafx.event=org.jabref.merged.module'] |
There was a problem hiding this comment.
seems like we need to add all runStuff here
'> java.lang.reflect.InaccessibleObjectException: Unable to make protected javafx.collections.ObservableList javafx.scene.Parent.getChildren() accessible: module javafx.graphics does not "opens javafx.scene" to module org.jabref.merged.module
from #11198
|
And we seem to need more?! |
|
Last commit was because of |
|
Current issue - when buld locally, it works, when build on the CI, it does not work. |
|
The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build. |
|
Unable to compile on windows after this PR. Log |
|
@LoayGhreeb I got it, too. Should be fixed at #11208. Please check latest main :) |
|
yes, it's fixed. Although those "WARNING" messages are still showing up, but I think it's fine. |
I filed #11209 to avoid the messages. |
Currently does not fix the issue (tried out locally using jPackage).
I have no clue how to continue.
It is also not about
forceMerge, because the issue reporter says he used the release version (where our update of #11170) is not included.Idea from sshahine/JFoenix#1133 (comment)
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if applicable)