Not exactly. We are still copying the internal data before exposing to
the user/external world in ElementSpec.getArray() so user does not get
hold of our internal data structures.
Regards
Prasanta
On 20-Mar-20 6:22 AM, Sergey Bylokhov wrote:
Fix is to copy the full text into ElementSpec.data and store the
correct offset.
It fixes the JCK issue and also 8241078 regression testcase. All JCK
javax_swing/text/DefaultStyledDocument/ testcases pass after this fix.
But this will break JDK-8173123, isn't it?