sghpjuikit / player

Audio player and management application.
22 stars 2 forks source link

Unknown modules opened #166

Closed xeruf closed 5 years ago

xeruf commented 5 years ago

I get an array of Warnings when I start the application:

WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-opens
WARNING: Unknown module: javafx.graphics specified to --add-opens
WARNING: Unknown module: javafx.web specified to --add-opens
WARNING: Unknown module: javafx.controls specified to --add-opens
WARNING: Unknown module: javafx.graphics specified to --add-opens
WARNING: Unknown module: javafx.graphics specified to --add-opens
WARNING: Unknown module: javafx.controls specified to --add-opens
sghpjuikit commented 5 years ago

Yes, I wrote about this on Zulip. I'd like to use Jigsaw kill switch for this.

sghpjuikit commented 5 years ago

This may be because javafx would like to have its modules on modelupath instead of classpath.

sghpjuikit commented 5 years ago

Bookmarks: https://stackoverflow.com/questions/46084751/how-to-express-dependency-in-maven-on-java-ee-features-for-transition-to-java-9/46086920#46086920 https://github.com/openjfx/javafx-gradle-plugin/blob/master/src/main/java/org/openjfx/gradle/tasks/ExecTask.java

sghpjuikit commented 5 years ago

Moreover

sghpjuikit commented 5 years ago

Most of the flags are because of the XStream library, which will be removed shortly. See #173

sghpjuikit commented 5 years ago

Down to 4 warnings. All related to custom workarounds for complicated design issues or internal javafx problems.

sghpjuikit commented 5 years ago

Fixed.

I removed all --add-opens. I know of at least 1 use which should still complain of illegal reflective access, but oddly enough - it no longer happens. Either way - fixed in 6616166