diff --git a/nashorn/test/script/basic/JDK-8025488.js b/nashorn/test/script/basic/JDK-8025488.js index a3697f411ba..8229b9facdb 100644 --- a/nashorn/test/script/basic/JDK-8025488.js +++ b/nashorn/test/script/basic/JDK-8025488.js @@ -40,4 +40,4 @@ MyError.prototype.toString = function() { } var e = new MyError(); -print(e.stack); +print(e.stack.replace(/\\/g, '/'));