equal
deleted
inserted
replaced
1 #!/bin/bash |
1 #!/bin/bash |
2 # |
2 # |
3 # Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # |
5 # |
6 # This code is free software; you can redistribute it and/or modify it |
6 # This code is free software; you can redistribute it and/or modify it |
7 # under the terms of the GNU General Public License version 2 only, as |
7 # under the terms of the GNU General Public License version 2 only, as |
8 # published by the Free Software Foundation. |
8 # published by the Free Software Foundation. |
28 do |
28 do |
29 file=${module//./_}.java |
29 file=${module//./_}.java |
30 echo creating $file for $module... |
30 echo creating $file for $module... |
31 cat > $file <<EOF |
31 cat > $file <<EOF |
32 /* |
32 /* |
33 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
33 * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
34 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
34 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
35 * |
35 * |
36 * This code is free software; you can redistribute it and/or modify it |
36 * This code is free software; you can redistribute it and/or modify it |
37 * under the terms of the GNU General Public License version 2 only, as |
37 * under the terms of the GNU General Public License version 2 only, as |
38 * published by the Free Software Foundation. |
38 * published by the Free Software Foundation. |
64 * @modules $module |
64 * @modules $module |
65 * |
65 * |
66 * @build sun.hotspot.WhiteBox |
66 * @build sun.hotspot.WhiteBox |
67 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
67 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
68 * sun.hotspot.WhiteBox\$WhiteBoxPermission |
68 * sun.hotspot.WhiteBox\$WhiteBoxPermission |
69 * @run main/timeout=7200 sun.hotspot.tools.ctw.CtwRunner modules:$module |
69 * @run driver/timeout=7200 sun.hotspot.tools.ctw.CtwRunner modules:$module |
70 */ |
70 */ |
71 EOF |
71 EOF |
72 |
72 |
73 done |
73 done |