On Mon, 20 Dec 2021 09:57:14 GMT, Masanori Yano <my...@openjdk.org> wrote:

> Could you please review the 8276694 bug fixes?
> 
> A message specific for this exception should be printed instead of an 
> internal error. This fix adds a new check to output an appropriate exception 
> message when the regular expression ends with an unescaped backslash. This 
> fix also checks the position of the cursor to rule out other syntax errors at 
> the middle position of the regular expression.

This pull request has now been integrated.

Changeset: 3aaa0982
Author:    Masanori Yano <my...@openjdk.org>
Committer: Ian Graves <igra...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/3aaa0982d8c1735208a331b0097a5aea4a1fef5a
Stats:     12 lines in 2 files changed: 11 ins; 0 del; 1 mod

8276694: Pattern trailing unescaped backslash causes internal error

Reviewed-by: jlaskey

-------------

PR: https://git.openjdk.java.net/jdk/pull/6891

Reply via email to