You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
From Java 16 it is deprecated to load java modules from the class path. If you do you will get a warning that I guess eventually will be an error.
Describe the solution you'd like
An option to make relative paths to modules loadable in accordance with the new java module system. We need a nicer UX than the alternative described below.
Describe alternatives you've considered
A workaround may be to use something similar to
Is your feature request related to a problem? Please describe.
From Java 16 it is deprecated to load java modules from the class path. If you do you will get a warning that I guess eventually will be an error.
Describe the solution you'd like
An option to make relative paths to modules loadable in accordance with the new java module system. We need a nicer UX than the alternative described below.
Describe alternatives you've considered
A workaround may be to use something similar to
The example above is from a Discord discussion here: https://discord.com/channels/632150470000902164/901153021638082660/1286265411385425981
This is ugly as the path is hard-coded into the build and will not work if the repo is cloned elsewhere etc.
Additional context
This is relevant for e.g. JavaFX and I have a minimal JavaFX app here that needs this:
https://github.com/bjornregnell/minimal-scala-with-javafx
and at the time of writing it produces this warning:
More details on the warning here:
https://stackoverflow.com/questions/67854139
scala/scala-dev#529
https://users.scala-lang.org/t/scala-jdk-11-and-jpms/6102/33
The text was updated successfully, but these errors were encountered: