RFR(S): 8034087: XML parser may overwrite element content if that content falls onto the border of an entity scanner buffer
volker.simonis at gmail.com
Tue Feb 11 17:00:41 UTC 2014
you're right. I initially didn't saw the test because I just looked at
the change in the jaxp repository.
If it will be approved, I'll put the test in the same directory like
the other test (i.e. test/javax/xml/jaxp/parsers/8027359).
And yes, my plan was to get approval for both, the tests and the fix,
when asking for the permission to downport to jdk8u-dev and jdk7u-dev.
On Tue, Feb 11, 2014 at 5:44 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 11/02/2014 14:57, Volker Simonis wrote:
>> after opening this bug yesterday for an issue found by my colleague
>> Steffen Schreiber we realized that this is actually a duplicate of
>> "8027359: XML parser returns incorrect parsing results"
>> While there's no need now to submit a patch anymore, we'd
>> nevertheless like to contribute at least our test case for this issue:
>> The webrev is against jdk9-client but we'd like to also downport this
>> test to jdk7 and jdk8 to track that the fix for 8027359 will be
>> correctly downported to these releases as well.
>> I will sponsor this change if somebody would be so kind to review it.
> I'll leave it to Joe Wang to comment on the test but just to mention that
> jdk9/dev is probably a better forest to aim for because that is where the
> XML (and its tests) usually go. Also I wonder if it might be better to put
> it in the same directory as the test that Joe pushed with the change?
> If you are getting approval to push to jdk8u-dev and jdk7u-dev then it might
> be better to request a backport of Joe's change at the same time.
More information about the core-libs-dev