Hello!

The java.util.regex package contains a debugging utility PrintPattern which is used to display the internal representation structure of a compiled regex pattern.

When it prints a node that is linked to another node that has already been printed, it is supposed to print a link, but fails.

The error is due to ambigous overloading of print() method.

Would you please help review a trivial fix?

No regression test because the utility is not something officially supported.

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8235930
WEBREV: http://cr.openjdk.java.net/~igerasim/8235930/00/webrev/

--
With kind regards,
Ivan Gerasimov

Reply via email to