RFR: 8240844: Remove dependency on java.desktop from javafx.base
Marius Hanl
mhanl at openjdk.org
Mon Nov 3 17:53:43 UTC 2025
On Mon, 3 Nov 2025 17:19:17 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> 3. Removing the direct dependency on `java.desktop` from `javafx.graphics`, making it a `requires static` will almost certainly not be accepted as long as the implementation depends on it. I'll add more details when I review.
I agree, this change has the biggest 'risk'. Still, I would like to bring this up for discussion, as there is a huge benefit (much higher than I thought).
I have already considered discussing this on the mailing list, but I would like to know first whether this change might be out of question, as we would not need to discuss it in that case.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1958#issuecomment-3481791768
More information about the openjfx-dev
mailing list