java.util.Scanner is slower after updating to JDK 1.8.0_252 or later

Solution Verified - Updated -

Issue

  • We updated our JDK to JDK 1.8.0_252+ and we now see performance issues from java.util.Scanner calls

Environment

  • OpenJDK 1.8.0_252+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content