hg: jdk9/sandbox/jaxp: 8173111: Excessive recursion in EventFilterSupport when filtering over large number of XML events can cause StackOverflow

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Jan 24 16:45:44 UTC 2017


Changeset: 2d7bf6955c05
Author:    dfuchs
Date:      2017-01-24 16:34 +0000
URL:       http://hg.openjdk.java.net/jdk9/sandbox/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-sandbox-changes mailing list