On Thu, 10 Sep 2026 14:55:01 GMT, Michael Strauß <[email protected]> wrote:
>> I want to ask a philosophical question: what can we do to avoid missing >> these kinds of dependencies in the future? >> >> Some kind of annotation? A comment in the base class? Maybe a test that >> inspects the classpath looking for specific subclasses and checks whether >> they are covered? >> >> What do you think? > >> I want to ask a philosophical question: what can we do to avoid missing >> these kinds of dependencies in the future? >> >> Some kind of annotation? A comment in the base class? Maybe a test that >> inspects the classpath looking for specific subclasses and checks whether >> they are covered? >> >> What do you think? > > I'm not sure there's a formalism that could help, we probably just have to > accept that we're going to make mistakes and sometimes miss things. Comments > can help, but then they also tend to go stale since they're not testable. In > general, I think that trying to achieve perfection on the first attempt is > the wrong goal to optimize for. @mstr2 I'll let @andy-goryachev-oracle and @Maran23 review the PR. I'll review the CSR once you create it. ------------- PR Comment: https://git.openjdk.org/jfx/pull/2303#issuecomment-5626107059
