On Sat, 1 Oct 2022 20:29:23 GMT, Markus KARG <d...@openjdk.org> wrote:
> This PR implements JDK-8294696. This change leaks a reference to the internal buffer to the wrapped class so I think we have to be cautious and make sure that it doesn't introduce any security concerns. Also you've changed the check for a mark in a subtle way - the spec is very clear that -1 is the value when there is no mark position, values less than -1 are not defined. ------------- PR: https://git.openjdk.org/jdk/pull/10525