Mercurial > hg > jdk9-shenandoah > langtools
changeset 2902:a28b7f42dae9 jdk9-b63
8079191: remove remaining references to "cp -p" from langtools/test
Reviewed-by: vromero
author | jjg |
---|---|
date | Thu, 30 Apr 2015 17:35:03 -0700 |
parents | d63911765771 |
children | 9a3b6f762972 1f483cea54fb ac6a4f3c143b |
files | test/tools/javac/Paths/Diagnostics.sh test/tools/javac/Paths/MineField.sh |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/tools/javac/Paths/Diagnostics.sh Thu Apr 30 17:21:28 2015 -0700 +++ b/test/tools/javac/Paths/Diagnostics.sh Thu Apr 30 17:35:03 2015 -0700 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2015, 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 @@ -186,7 +186,7 @@ # Class-Path attribute followed in extdirs or endorseddirs #---------------------------------------------------------------- Sys mkdir jars -Sys cp -p classesRefRef.jar jars/. +Sys cp classesRefRef.jar jars/. Warning "$javac" ${TESTTOOLVMOPTS} -Xlint -extdirs jars Main.java Warning "$javac" ${TESTTOOLVMOPTS} -Xlint -endorseddirs jars Main.java
--- a/test/tools/javac/Paths/MineField.sh Thu Apr 30 17:21:28 2015 -0700 +++ b/test/tools/javac/Paths/MineField.sh Thu Apr 30 17:35:03 2015 -0700 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2015, 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 @@ -323,7 +323,7 @@ In GooClass Failure "$java" ${TESTVMOPTS} -cp ".." Main # Unspecified classpath defaults to "." -Sys mkdir OneDir; Sys cp -p Main.java GooClass/Lib.class OneDir/. +Sys mkdir OneDir; Sys cp Main.java GooClass/Lib.class OneDir/. In OneDir Success "$javac" ${TESTTOOLVMOPTS} Main.java In OneDir Success "$java" ${TESTVMOPTS} Main