Chapter 4. Known issues


Red Hat build of OpenJDK 11 might include known issues. Solutions might exist for some of these known issues.

XPath expressions

Red Hat build of OpenJDK 11 specifies new default limits for XPath expressions. If you find that your code is exceeding these limits, you can raise them by passing the following parameters to your Red Hat build of OpenJDK deployment or by setting the JAVA_TOOL_OPTIONS environment variable to use them:

  • -Djdk.xml.xpathExprGrpLimit, which defaults to 10
  • -Djdk.xml.xpathExprOpLimit, which defaults to 100
  • -Djdk.xml.xpathTotalOpLimit, which defaults to 10,000

These default limits restrict the number of expression groups, the number of operators in a single expression, and the total number of operators.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top