changeset 56844:5cf915f418f2

8233658: Escape + in the expression describing Runtime.Version string Reviewed-by: naoto
author igerasim
date Wed, 06 Nov 2019 09:45:26 -0800
parents d6e682e8fcc3
children 38d4202154f2
files src/java.base/share/classes/java/lang/Runtime.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>