Skip to content

Commit

Permalink
8276686: Malformed Javadoc inline tags in JDK source in /java/util/re…
Browse files Browse the repository at this point in the history
…gex/Pattern.java

Reviewed-by: iris, bpb, lancea
  • Loading branch information
Ian Graves committed Feb 22, 2022
1 parent 022d807 commit 41355e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/util/regex/Pattern.java
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
* <p> Backslashes within string literals in Java source code are interpreted
* as required by
* <cite>The Java Language Specification</cite>
* as either Unicode escapes (section {@jls 3.3}) or other character escapes (section {@jls 3.10.6})
* as either Unicode escapes (section {@jls 3.3}) or other character escapes (section {@jls 3.10.6}).
* It is therefore necessary to double backslashes in string
* literals that represent regular expressions to protect them from
* interpretation by the Java bytecode compiler. The string literal
Expand Down

1 comment on commit 41355e2

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.