hg: jdk9/dev/jaxp: 8173111: Excessive recursion in EventFilterSupport when filtering over large number of XML events can cause StackOverflow
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Tue Jan 24 16:40:48 UTC 2017
Changeset: 2d7bf6955c05
Author: dfuchs
Date: 2017-01-24 16:34 +0000
URL: http://hg.openjdk.java.net/jdk9/dev/jaxp/rev/2d7bf6955c05
8173111: Excessive recursion in EventFilterSupport when filtering over large number of XML events can cause StackOverflow
Summary: This fix replaces un unwanted recursion in the XML streams event filtering support by a simple loop (in nextEvent/nextTag).
Reviewed-by: aefimov, clanger, lancea, rriggs
! src/java.xml/share/classes/com/sun/xml/internal/stream/EventFilterSupport.java
+ test/javax/xml/jaxp/unittest/stream/EventsTest/EventFilterSupportTest.java
More information about the jdk9-dev-changes
mailing list