# HG changeset patch # User mli # Date 1464140491 25200 # Node ID 6bb9dce6c3a9206f6e02dbd586d92940410237cd # Parent 0553095041d71db11db43f98b090b14defd46f0d 8151904: test/java/lang/StackWalker/VerifyStackTrace.java needs to handle update releases Reviewed-by: dfuchs, mchung diff -r 0553095041d7 -r 6bb9dce6c3a9 jdk/test/java/lang/StackWalker/VerifyStackTrace.java --- a/jdk/test/java/lang/StackWalker/VerifyStackTrace.java Tue May 24 13:51:35 2016 -0700 +++ b/jdk/test/java/lang/StackWalker/VerifyStackTrace.java Tue May 24 18:41:31 2016 -0700 @@ -202,7 +202,7 @@ // synthetic frames introduced by lambdas & method handles return produced.replaceAll(":[1-9][0-9]*\\)", ":00)") .replaceAll("-internal/", "/").replaceAll("-ea/", "/") - .replaceAll("java.base@[0-9]+/", "java.base/") + .replaceAll("java.base@(\\d+\\.){0,3}(\\d+)/", "java.base/") .replaceAll("/[0-9]+\\.run", "/xxxxxxxx.run") .replaceAll("/[0-9]+\\.invoke", "/xxxxxxxx.invoke") .replaceAll("\\$[0-9]+", "\\$??");