8233658: Escape + in the expression describing Runtime.Version string
authorigerasim
Wed, 06 Nov 2019 09:45:26 -0800
changeset 58952 5cf915f418f2
parent 58951 d6e682e8fcc3
child 58953 38d4202154f2
8233658: Escape + in the expression describing Runtime.Version string Reviewed-by: naoto
src/java.base/share/classes/java/lang/Runtime.java
--- a/src/java.base/share/classes/java/lang/Runtime.java	Wed Nov 06 09:45:04 2019 -0800
+++ b/src/java.base/share/classes/java/lang/Runtime.java	Wed Nov 06 09:45:26 2019 -0800
@@ -896,7 +896,7 @@
      * <blockquote><pre>
      *     $VNUM(-$PRE)?\+$BUILD(-$OPT)?
      *     $VNUM-$PRE(-$OPT)?
-     *     $VNUM(+-$OPT)?
+     *     $VNUM(\+-$OPT)?
      * </pre></blockquote>
      *
      * <p> where: </p>