<Swing Dev> RFR JDK-8241291: JCK test javax_swing/text/DefaultStyledDocument/ElementSpec/ESpecCtor.html fails
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Fri Mar 20 03:15:16 UTC 2020
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?
>
More information about the swing-dev
mailing list