< prev index next > test/hotspot/jtreg/runtime/cds/appcds/methodHandles/CDSMHTest_generate.sh
Print this page
#!/bin/bash
! # Copyright (c) 2020, 2025, 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#!/bin/bash
! # Copyright (c) 2020, 2026, 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
for i in ${testnames}
do
fname="$i$name_suffix"
cat << EOF > $fname
/*
! * Copyright (c) 2020, 2025, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
for i in ${testnames}
do
fname="$i$name_suffix"
cat << EOF > $fname
/*
! * Copyright (c) 2020, 2026, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
if test "$w" == "AOT"; then
cat << EOF >> $fname
* @requires vm.cds.supports.aot.class.linking
* @comment work around JDK-8345635
- * @requires !vm.jvmci.enabled
EOF
fi
cat << EOF >> $fname
* @comment Some of the tests run excessively slowly with -Xcomp. The original
< prev index next >