<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Andrew,<div><br></div><div>To be honest, I think splitting up java.desktop might be impossible.</div><div>The APIs in this module have dependencies on each other, and I can't figure out how to split it up without breaking compatibility.</div><div><br></div><div>For example, javax.imageio.ImageIO has several APIs that return a java.awt.image.BufferedImage, </div><div>and BufferedImage::createGraphics() returns a java.awt.Graphics2D.</div><div>Considering that a package cannot be split into multiple JPMS modules, this means that java.awt, java.awt.image, </div><div>and javax.imageio are tightly linked. Such coupling is everywhere in java.desktop. I think splitting it is just a delusion. </div><div>I don't understand why so many people expect it. I think creating a new module containing a new API is the pragmatic choice.</div><div><br></div><div>Glavo</div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Apr 20, 2025 at 1:56 AM Andrew Thompson <<a href="mailto:lordpixel@mac.com">lordpixel@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Reading this thread as an outsider, the things that keep coming up over and over again is that java.desktop needs to be modularized. <br>
This sounds like painstaking slow work which would doubtless requires many long interactions to get approvals and not offer much glory.<br>
<br>
But is that where the value really is?<br>
<br>
Andrew<br>
</blockquote></div>