On Thu, 20 Feb 2025 18:25:13 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> Although, there's no time where such a modification will be allowed Exactly, it will throw exception every time a built-In profile is passed unlike IllegalStateException which is thrown only during an inappropriate time for instance when you are trying to add an element to the queue when it is already full. Plus setData() already throws IAE for other invalid argument cases. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23606#discussion_r1964161347