`requires static` versus service binding

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Jan 10 17:21:51 UTC 2025


On 2025-01-08 22:33, David Lloyd wrote:

> Thus I'm inclined to believe that this restriction does not serve any 
> practical benefit, and I hope it can be reconsideredto be respecified 
> as a compile-time-only check.

I agree. I was bitten by this as a Java developer in a hobby open source 
project, and even if at some point I understood why things where the way 
they are, I do not remember the reasoning, and I still find it confusing 
that it did not work as I expected it to, nor what steps I were supposed 
to take instead to resolve the problem at hand.

I understand that this is not a very common problem or a high-priority 
issue, and I would have accepted that it was down-prioritized to the 
point that it will take a long time to resolve, but the current "works 
as intended" approach is still a bit hard for me to swallow.

/Magnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20250110/31e49f05/attachment-0001.htm>


More information about the jigsaw-dev mailing list