equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
78 $JAR ${TESTTOOLVMOPTS} -cfm "${TESTCLASSES}"/ClassUnloadTest.jar "${MANIFEST}" \ |
78 $JAR ${TESTTOOLVMOPTS} -cfm "${TESTCLASSES}"/ClassUnloadTest.jar "${MANIFEST}" \ |
79 -C "${TESTCLASSES}" ClassUnloadTest.class |
79 -C "${TESTCLASSES}" ClassUnloadTest.class |
80 |
80 |
81 # Finally we run the test |
81 # Finally we run the test |
82 (cd "${TESTCLASSES}"; \ |
82 (cd "${TESTCLASSES}"; \ |
83 $JAVA ${TESTVMOPTS} -Xverify:none -Xlog:class+unload \ |
83 $JAVA ${TESTVMOPTS} -Xlog:class+unload \ |
84 -javaagent:ClassUnloadTest.jar ClassUnloadTest "${OTHERDIR}" Bar.jar) |
84 -javaagent:ClassUnloadTest.jar ClassUnloadTest "${OTHERDIR}" Bar.jar) |