8130351: JDK-8130127.js fails under cygwin: cygwin path pased to Java
Jjs uses jline which expects newline character to terminate interactive input Reviewed-by: sundar, jlaskey
This commit is contained in:
parent
43c9c49b29
commit
18a725ff0c
nashorn/test/script
@ -1,6 +0,0 @@
|
||||
|
||||
|
||||
|
||||
|
||||
hello
|
||||
|
4
nashorn/test/script/currently-failing/JDK-8130127.js → nashorn/test/script/nosecurity/JDK-8130127.js
4
nashorn/test/script/currently-failing/JDK-8130127.js → nashorn/test/script/nosecurity/JDK-8130127.js
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -51,5 +51,5 @@ print($EXEC(jjsCmd, null))
|
||||
print($EXEC(jjsCmd, undefined))
|
||||
print($EXEC(jjsCmd, ""))
|
||||
|
||||
print($EXEC(jjs, "print('hello')"))
|
||||
print($EXEC(jjs, "print('hello')\n"))
|
||||
|
7
nashorn/test/script/nosecurity/JDK-8130127.js.EXPECTED
Normal file
7
nashorn/test/script/nosecurity/JDK-8130127.js.EXPECTED
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
jjs> print('hello')
|
||||
hello
|
||||
jjs>
|
Loading…
x
Reference in New Issue
Block a user