[crac] RFR: Introduce per-Priority Context with different policies [v2]
Radim Vansa
duke at openjdk.org
Tue May 30 11:01:27 UTC 2023
On Tue, 30 May 2023 10:23:52 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
>> If you're speaking about querying Contexts, that means extending its API for traversing and fetching those. Alternatively, should the contexts report exceptions to a well-known resource this resource would become a part of the API.
>
> It is possible to add query method to JDK contextes without changing public context interface. The same way, the alternative won't require changes in the public API (it will be a convention between JDK contextexes and the well-known resource).
Sure, if we're talking only about JDKContext and this is used nowhere except in JDKContext the options are wider, and your proposed solution would work.
-------------
PR Review Comment: https://git.openjdk.org/crac/pull/74#discussion_r1210102573
More information about the crac-dev
mailing list