author | alanb |
Fri, 11 Jan 2013 20:19:55 +0000 | |
changeset 15254 | 3997a6f357cb |
parent 11989 | 65cceb7f6ac7 |
child 23010 | 6dadb192ad81 |
permissions | -rw-r--r-- |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
1 |
# |
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
2 |
# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
4 |
# |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
8 |
# |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
9 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
12 |
# version 2 for more details (a copy is included in the LICENSE file that |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
13 |
# accompanied this code). |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
14 |
# |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
15 |
# You should have received a copy of the GNU General Public License version |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
16 |
# 2 along with this work; if not, write to the Free Software Foundation, |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
17 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
18 |
# |
5506 | 19 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 |
# or visit www.oracle.com if you need additional information or have any |
|
21 |
# questions. |
|
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
22 |
# |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
23 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
24 |
# @test |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
25 |
# @bug 6274276 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
26 |
# @summary JLI JAR manifest processing should ignore leading and trailing white space. |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
27 |
# @author Daniel D. Daugherty |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
28 |
# |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
29 |
# @run build ManifestTestApp ExampleForBootClassPath |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
30 |
# @run shell/timeout=900 ManifestTest.sh |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
31 |
# |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
32 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
33 |
make_a_JAR() { |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
34 |
# version_line and premain_line are required |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
35 |
version_line="Manifest-Version: 1.0" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
36 |
premain_line="Premain-Class: ${AGENT}" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
37 |
boot_cp_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
38 |
expect_boot_cp_line="ExampleForBootClassPath was not loaded." |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
39 |
can_redef_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
40 |
expect_redef_line="isRedefineClassesSupported()=false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
41 |
can_retrans_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
42 |
expect_retrans_line="isRetransformClassesSupported()=false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
43 |
can_set_nmp_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
44 |
expect_set_nmp_line="isNativeMethodPrefixSupported()=false" |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
45 |
# some tests create directories with spaces in their name, |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
46 |
# explicitly delete these. |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
47 |
to_be_deleted="" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
48 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
49 |
while [ $# != 0 ] ; do |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
50 |
case "$1" in |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
51 |
defaults) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
52 |
# just use the defaults for the test |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
53 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
54 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
55 |
boot_cp_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
56 |
boot_cp_line="Boot-Class-Path: no_white_space" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
57 |
expect_boot_cp_line="ExampleForBootClassPath was loaded." |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
58 |
mkdir -p no_white_space |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
59 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class no_white_space |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
60 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
61 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
62 |
boot_cp_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
63 |
boot_cp_line="Boot-Class-Path: has_leading_blank" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
64 |
expect_boot_cp_line="ExampleForBootClassPath was loaded." |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
65 |
to_be_deleted=" has_leading_blank" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
66 |
mkdir -p has_leading_blank " has_leading_blank" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
67 |
# the good class is in the directory without the blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
68 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
69 |
has_leading_blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
70 |
# the bad class is in the directory with the blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
71 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class.bad \ |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
72 |
" has_leading_blank/ExampleForBootClassPath.class" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
73 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
74 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
75 |
boot_cp_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
76 |
boot_cp_line="Boot-Class-Path: has_trailing_blank " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
77 |
expect_boot_cp_line="ExampleForBootClassPath was loaded." |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
78 |
to_be_deleted="has_trailing_blank " |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
79 |
mkdir -p has_trailing_blank "has_trailing_blank " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
80 |
# the good class is in the directory without the blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
81 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
82 |
has_trailing_blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
83 |
# the bad class is in the directory with the blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
84 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class.bad \ |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
85 |
"has_trailing_blank /ExampleForBootClassPath.class" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
86 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
87 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
88 |
boot_cp_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
89 |
boot_cp_line="Boot-Class-Path: has_leading_and_trailing_blank " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
90 |
expect_boot_cp_line="ExampleForBootClassPath was loaded." |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
91 |
to_be_deleted=" has_leading_and_trailing_blank " |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
92 |
mkdir -p has_leading_and_trailing_blank \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
93 |
" has_leading_and_trailing_blank " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
94 |
# the good class is in the directory without the blanks |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
95 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
96 |
has_leading_and_trailing_blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
97 |
# the bad class is in the directory with the blanks |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
98 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class.bad \ |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
99 |
" has_leading_and_trailing_blank /ExampleForBootClassPath.class" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
100 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
101 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
102 |
boot_cp_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
103 |
boot_cp_line="Boot-Class-Path: has_embedded blank" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
104 |
expect_boot_cp_line="ExampleForBootClassPath was loaded." |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
105 |
to_be_deleted="has_embedded blank" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
106 |
mkdir -p has_embedded "has_embedded blank" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
107 |
# the good class is in the first blank separated word |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
108 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class has_embedded |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
109 |
# the bad class is in the directory with the blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
110 |
cp -p $OUT_OF_THE_WAY/ExampleForBootClassPath.class.bad \ |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
111 |
"has_embedded blank/ExampleForBootClassPath.class" |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
112 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
113 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
114 |
can_redef_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
115 |
can_redef_line="Can-Redefine-Classes: true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
116 |
expect_redef_line="isRedefineClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
117 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
118 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
119 |
can_redef_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
120 |
can_redef_line="Can-Redefine-Classes: true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
121 |
expect_redef_line="isRedefineClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
122 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
123 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
124 |
can_redef_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
125 |
can_redef_line="Can-Redefine-Classes: true " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
126 |
expect_redef_line="isRedefineClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
127 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
128 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
129 |
can_redef_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
130 |
can_redef_line="Can-Redefine-Classes: true " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
131 |
expect_redef_line="isRedefineClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
132 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
133 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
134 |
can_redef_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
135 |
can_redef_line="Can-Redefine-Classes: false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
136 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
137 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
138 |
can_redef_line6) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
139 |
can_redef_line="Can-Redefine-Classes: false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
140 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
141 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
142 |
can_redef_line7) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
143 |
can_redef_line="Can-Redefine-Classes: false " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
144 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
145 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
146 |
can_redef_line8) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
147 |
can_redef_line="Can-Redefine-Classes: false " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
148 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
149 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
150 |
can_redef_line9) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
151 |
# this line makes the jar command unhappy and that's |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
152 |
# not what we're testing so skip this case |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
153 |
can_redef_line="Can-Redefine-Classes:" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
154 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
155 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
156 |
can_redef_line10) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
157 |
can_redef_line="Can-Redefine-Classes: " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
158 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
159 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
160 |
can_redef_line11) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
161 |
can_redef_line="Can-Redefine-Classes: " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
162 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
163 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
164 |
can_retrans_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
165 |
can_retrans_line="Can-Retransform-Classes: true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
166 |
expect_retrans_line="isRetransformClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
167 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
168 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
169 |
can_retrans_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
170 |
can_retrans_line="Can-Retransform-Classes: true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
171 |
expect_retrans_line="isRetransformClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
172 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
173 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
174 |
can_retrans_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
175 |
can_retrans_line="Can-Retransform-Classes: true " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
176 |
expect_retrans_line="isRetransformClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
177 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
178 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
179 |
can_retrans_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
180 |
can_retrans_line="Can-Retransform-Classes: true " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
181 |
expect_retrans_line="isRetransformClassesSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
182 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
183 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
184 |
can_retrans_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
185 |
can_retrans_line="Can-Retransform-Classes: false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
186 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
187 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
188 |
can_retrans_line6) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
189 |
can_retrans_line="Can-Retransform-Classes: false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
190 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
191 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
192 |
can_retrans_line7) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
193 |
can_retrans_line="Can-Retransform-Classes: false " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
194 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
195 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
196 |
can_retrans_line8) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
197 |
can_retrans_line="Can-Retransform-Classes: false " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
198 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
199 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
200 |
can_retrans_line9) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
201 |
# this line makes the jar command unhappy and that's |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
202 |
# not what we're testing so skip this case |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
203 |
can_retrans_line="Can-Retransform-Classes:" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
204 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
205 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
206 |
can_retrans_line10) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
207 |
can_retrans_line="Can-Retransform-Classes: " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
208 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
209 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
210 |
can_retrans_line11) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
211 |
can_retrans_line="Can-Retransform-Classes: " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
212 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
213 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
214 |
can_set_nmp_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
215 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
216 |
expect_set_nmp_line="isNativeMethodPrefixSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
217 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
218 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
219 |
can_set_nmp_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
220 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
221 |
expect_set_nmp_line="isNativeMethodPrefixSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
222 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
223 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
224 |
can_set_nmp_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
225 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: true " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
226 |
expect_set_nmp_line="isNativeMethodPrefixSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
227 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
228 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
229 |
can_set_nmp_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
230 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: true " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
231 |
expect_set_nmp_line="isNativeMethodPrefixSupported()=true" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
232 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
233 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
234 |
can_set_nmp_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
235 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
236 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
237 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
238 |
can_set_nmp_line6) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
239 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: false" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
240 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
241 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
242 |
can_set_nmp_line7) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
243 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: false " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
244 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
245 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
246 |
can_set_nmp_line8) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
247 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: false " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
248 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
249 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
250 |
can_set_nmp_line9) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
251 |
# this line makes the jar command unhappy and that's |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
252 |
# not what we're testing so skip this case |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
253 |
can_set_nmp_line="Can-Set-Native-Method-Prefix:" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
254 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
255 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
256 |
can_set_nmp_line10) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
257 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
258 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
259 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
260 |
can_set_nmp_line11) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
261 |
can_set_nmp_line="Can-Set-Native-Method-Prefix: " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
262 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
263 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
264 |
premain_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
265 |
premain_line="Premain-Class: ${AGENT}" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
266 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
267 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
268 |
premain_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
269 |
premain_line="Premain-Class: ${AGENT} " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
270 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
271 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
272 |
premain_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
273 |
premain_line="Premain-Class: ${AGENT} " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
274 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
275 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
276 |
version_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
277 |
version_line="Manifest-Version: 1.0" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
278 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
279 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
280 |
version_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
281 |
version_line="Manifest-Version: 1.0 " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
282 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
283 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
284 |
version_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
285 |
version_line="Manifest-Version: 1.0 " |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
286 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
287 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
288 |
*) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
289 |
echo "ERROR: invalid test token" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
290 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
291 |
esac |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
292 |
shift |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
293 |
done |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
294 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
295 |
echo "${version_line}" > ${AGENT}.mf |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
296 |
echo "${premain_line}" >> ${AGENT}.mf |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
297 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
298 |
if [ -n "$boot_cp_line" ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
299 |
echo "${boot_cp_line}" >> ${AGENT}.mf |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
300 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
301 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
302 |
if [ -n "$can_redef_line" ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
303 |
echo "${can_redef_line}" >> ${AGENT}.mf |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
304 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
305 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
306 |
if [ -n "$can_retrans_line" ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
307 |
echo "${can_retrans_line}" >> ${AGENT}.mf |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
308 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
309 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
310 |
if [ -n "$can_set_nmp_line" ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
311 |
echo "${can_set_nmp_line}" >> ${AGENT}.mf |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
312 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
313 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
314 |
rm -f ${AGENT}.jar |
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
315 |
${JAR} ${TESTTOOLVMOPTS} cvfm ${AGENT}.jar ${AGENT}.mf ${AGENT}.class |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
316 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
317 |
echo "$expect_boot_cp_line" > expect_boot_cp_line |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
318 |
echo "$expect_redef_line" > expect_redef_line |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
319 |
echo "$expect_retrans_line" > expect_retrans_line |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
320 |
echo "$expect_set_nmp_line" > expect_set_nmp_line |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
321 |
} |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
322 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
323 |
if [ "${TESTJAVA}" = "" ] |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
324 |
then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
325 |
echo "TESTJAVA not set. Test cannot execute. Failed." |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
326 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
327 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
328 |
|
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
329 |
if [ "${COMPILEJAVA}" = "" ] |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
330 |
then |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
331 |
COMPILEJAVA="${TESTJAVA}" |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
332 |
fi |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
333 |
echo "COMPILEJAVA=${COMPILEJAVA}" |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
334 |
|
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
335 |
if [ "${TESTSRC}" = "" ] |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
336 |
then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
337 |
echo "TESTSRC not set. Test cannot execute. Failed." |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
338 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
339 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
340 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
341 |
if [ "${TESTCLASSES}" = "" ] |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
342 |
then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
343 |
echo "TESTCLASSES not set. Test cannot execute. Failed." |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
344 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
345 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
346 |
|
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
347 |
JAR="${COMPILEJAVA}/bin/jar" |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
348 |
JAVAC="${COMPILEJAVA}"/bin/javac |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
349 |
JAVA="${TESTJAVA}"/bin/java |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
350 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
351 |
# Now that ManifestTestApp.class is built, we move |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
352 |
# ExampleForBootClassPath.class so that it cannot be found |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
353 |
# by default |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
354 |
OUT_OF_THE_WAY=out_of_the_way |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
355 |
mkdir $OUT_OF_THE_WAY |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
356 |
mv "${TESTCLASSES}/ExampleForBootClassPath.class" $OUT_OF_THE_WAY |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
357 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
358 |
# create a bad version of ExampleForBootClassPath.class |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
359 |
# so we can tell when the wrong version is run |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
360 |
sed 's/return 15/return 42/' "${TESTSRC}"/ExampleForBootClassPath.java \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
361 |
> ExampleForBootClassPath.java |
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
362 |
"$JAVAC" ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} ExampleForBootClassPath.java |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
363 |
mv ExampleForBootClassPath.class \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
364 |
$OUT_OF_THE_WAY/ExampleForBootClassPath.class.bad |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
365 |
mv ExampleForBootClassPath.java \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
366 |
$OUT_OF_THE_WAY/ExampleForBootClassPath.java.bad |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
367 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
368 |
AGENT=ManifestTestAgent |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
369 |
# We compile the agent in the working directory instead of with |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
370 |
# a build task because we construct a different agent JAR file |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
371 |
# for each test case. |
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
372 |
${JAVAC} ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . ${TESTSRC}/${AGENT}.java |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
373 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
374 |
FAIL_MARKER=fail_marker |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
375 |
rm -f $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
376 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
377 |
while read token; do |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
378 |
echo |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
379 |
echo "===== begin test case: $token =====" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
380 |
make_a_JAR "$token" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
381 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
382 |
"${JAVA}" ${TESTVMOPTS} -javaagent:${AGENT}.jar \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
383 |
-classpath "${TESTCLASSES}" ManifestTestApp > output.log 2>&1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
384 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
385 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
386 |
cat output.log |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
387 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
388 |
if [ "$result" = 0 ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
389 |
echo "PASS: ManifestTestApp exited with status of 0." |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
390 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
391 |
echo "FAIL: ManifestTestApp exited with status of $result" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
392 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
393 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
394 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
395 |
MESG="Hello from ${AGENT}!" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
396 |
grep -s "$MESG" output.log > /dev/null |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
397 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
398 |
if [ "$result" = 0 ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
399 |
echo "PASS: found '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
400 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
401 |
echo "FAIL: did NOT find '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
402 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
403 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
404 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
405 |
MESG=`cat expect_boot_cp_line | tr -d '\n\r'` |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
406 |
grep -s "$MESG" output.log > /dev/null |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
407 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
408 |
if [ "$result" = 0 ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
409 |
echo "PASS: found '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
410 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
411 |
echo "FAIL: did NOT find '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
412 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
413 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
414 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
415 |
MESG=`cat expect_redef_line | tr -d '\n\r'` |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
416 |
grep -s "$MESG" output.log > /dev/null |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
417 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
418 |
if [ "$result" = 0 ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
419 |
echo "PASS: found '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
420 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
421 |
echo "FAIL: did NOT find '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
422 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
423 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
424 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
425 |
MESG=`cat expect_retrans_line | tr -d '\n\r'` |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
426 |
grep -s "$MESG" output.log > /dev/null |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
427 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
428 |
if [ "$result" = 0 ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
429 |
echo "PASS: found '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
430 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
431 |
echo "FAIL: did NOT find '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
432 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
433 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
434 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
435 |
MESG=`cat expect_set_nmp_line | tr -d '\n\r'` |
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
436 |
grep -s "$MESG" output.log > /dev/null |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
437 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
438 |
if [ "$result" = 0 ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
439 |
echo "PASS: found '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
440 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
441 |
echo "FAIL: did NOT find '$MESG' in the test output" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
442 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
443 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
444 |
|
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
445 |
#clean up any problematic directories |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
446 |
if [ -n "$to_be_deleted" ]; then |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
447 |
echo "Test removing [$to_be_deleted]" |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
448 |
rm -rf "$to_be_deleted" |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
449 |
fi |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
450 |
|
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
451 |
echo "===== end test case: $token =====" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
452 |
echo |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
453 |
done << EOF |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
454 |
defaults |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
455 |
version_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
456 |
version_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
457 |
version_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
458 |
premain_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
459 |
premain_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
460 |
premain_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
461 |
boot_cp_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
462 |
boot_cp_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
463 |
boot_cp_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
464 |
boot_cp_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
465 |
boot_cp_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
466 |
can_redef_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
467 |
can_redef_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
468 |
can_redef_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
469 |
can_redef_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
470 |
can_redef_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
471 |
can_redef_line6 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
472 |
can_redef_line7 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
473 |
can_redef_line8 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
474 |
can_redef_line10 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
475 |
can_redef_line11 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
476 |
can_retrans_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
477 |
can_retrans_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
478 |
can_retrans_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
479 |
can_retrans_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
480 |
can_retrans_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
481 |
can_retrans_line6 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
482 |
can_retrans_line7 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
483 |
can_retrans_line8 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
484 |
can_retrans_line10 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
485 |
can_retrans_line11 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
486 |
can_set_nmp_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
487 |
can_set_nmp_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
488 |
can_set_nmp_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
489 |
can_set_nmp_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
490 |
can_set_nmp_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
491 |
can_set_nmp_line6 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
492 |
can_set_nmp_line7 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
493 |
can_set_nmp_line8 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
494 |
can_set_nmp_line10 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
495 |
can_set_nmp_line11 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
496 |
EOF |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
497 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
498 |
if [ -f $FAIL_MARKER ]; then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
499 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
500 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
501 |
exit 0 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
502 |
fi |