6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
authordcubed
Mon, 24 Mar 2008 15:26:24 -0700
changeset 275 9b31d45a4c80
parent 274 d0ca9ee56273
child 276 57cf064fc997
6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir Summary: Only copy Java source files from ilib and bootreporter. Reviewed-by: sspitsyn
jdk/test/java/lang/instrument/MakeJAR2.sh
--- a/jdk/test/java/lang/instrument/MakeJAR2.sh	Mon Mar 24 15:20:29 2008 -0700
+++ b/jdk/test/java/lang/instrument/MakeJAR2.sh	Mon Mar 24 15:26:24 2008 -0700
@@ -70,9 +70,11 @@
 cp ${TESTSRC}/${AGENT}.java .
 cp ${TESTSRC}/${APP}.java .
 rm -rf ilib
-cp -r ${TESTSRC}/ilib .
-mkdir bootpath
-cp -r ${TESTSRC}/bootreporter bootpath
+mkdir ilib
+cp ${TESTSRC}/ilib/*.java ilib
+rm -rf bootpath
+mkdir -p bootpath/bootreporter
+cp ${TESTSRC}/bootreporter/*.java bootpath/bootreporter
 
 cd bootpath
 ${JAVAC} bootreporter/*.java