Revisiting JDK-4512189: ZipConstants leaking into public APIs
Eirik Bjørsnøs
eirbjo at gmail.com
Tue Nov 28 18:59:02 UTC 2023
>
> But keeping this "peculiarity" afloat does not come for free either.
>
Let me add that keeping the constants also incurs a maintenance cost: The
fact that these constants are "effectively and accidentally public" is
unusual, but needs to be understood and enforced by maintainers. Their
names, values and location need to stay constant, regardless of needs to
improve and evolve our code base.
Eirik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20231128/a932ef9f/attachment.htm>
More information about the core-libs-dev
mailing list