Skip to content

Commit

Permalink
Adjust max recursion nesting
Browse files Browse the repository at this point in the history
Otherwise this still triggered StackOverflow on some version of JDK

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912403 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
centic9 committed Sep 18, 2023
1 parent 88bbfbb commit c32699c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
public class WordToTextConverter extends AbstractWordConverter {
private static final Logger LOG = LogManager.getLogger(WordToTextConverter.class);

private static final int MAX_NESTED_CHILD_NODES = 500;
private static final int MAX_NESTED_CHILD_NODES = 400;

public static String getText( DirectoryNode root ) throws Exception
{
Expand Down

0 comments on commit c32699c

Please sign in to comment.