author | ykantser |
Thu, 07 May 2015 09:11:49 +0200 | |
changeset 30376 | 2ccf2cf7ea48 |
parent 23010 | 6dadb192ad81 |
child 31907 | cafb1bf49cfb |
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 |
# |
30376
2ccf2cf7ea48
8078896: Add @modules as needed to the jdk_svc tests
ykantser
parents:
23010
diff
changeset
|
2 |
# Copyright (c) 2008, 2015, 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 |
# |
30376
2ccf2cf7ea48
8078896: Add @modules as needed to the jdk_svc tests
ykantser
parents:
23010
diff
changeset
|
29 |
# @modules java.instrument |
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
30 |
# @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
|
31 |
# @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
|
32 |
# |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
33 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
34 |
make_a_JAR() { |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
35 |
# 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
|
36 |
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
|
37 |
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
|
38 |
boot_cp_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
39 |
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
|
40 |
can_redef_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
41 |
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
|
42 |
can_retrans_line="" |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
43 |
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
|
44 |
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
|
45 |
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
|
46 |
# 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
|
47 |
# explicitly delete these. |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
48 |
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
|
49 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
50 |
while [ $# != 0 ] ; do |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
51 |
case "$1" in |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
52 |
defaults) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
53 |
# 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
|
54 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
55 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
56 |
boot_cp_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
57 |
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
|
58 |
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
|
59 |
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
|
60 |
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
|
61 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
62 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
63 |
boot_cp_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
64 |
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
|
65 |
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
|
66 |
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
|
67 |
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
|
68 |
# 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
|
69 |
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
|
70 |
has_leading_blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
71 |
# 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
|
72 |
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
|
73 |
" 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
|
74 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
75 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
76 |
boot_cp_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
77 |
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
|
78 |
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
|
79 |
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
|
80 |
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
|
81 |
# 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
|
82 |
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
|
83 |
has_trailing_blank |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
84 |
# 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
|
85 |
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
|
86 |
"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
|
87 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
88 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
89 |
boot_cp_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
90 |
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
|
91 |
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
|
92 |
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
|
93 |
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
|
94 |
" 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
|
95 |
# 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
|
96 |
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
|
97 |
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
|
98 |
# 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
|
99 |
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
|
100 |
" 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
|
101 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
102 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
103 |
boot_cp_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
104 |
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
|
105 |
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
|
106 |
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
|
107 |
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
|
108 |
# 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
|
109 |
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
|
110 |
# 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
|
111 |
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
|
112 |
"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
|
113 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
114 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
115 |
can_redef_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
116 |
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
|
117 |
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
|
118 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
119 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
120 |
can_redef_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
121 |
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
|
122 |
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
|
123 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
124 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
125 |
can_redef_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
126 |
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
|
127 |
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
|
128 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
129 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
130 |
can_redef_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
131 |
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
|
132 |
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
|
133 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
134 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
135 |
can_redef_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
136 |
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
|
137 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
138 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
139 |
can_redef_line6) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
140 |
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
|
141 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
142 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
143 |
can_redef_line7) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
144 |
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
|
145 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
146 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
147 |
can_redef_line8) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
148 |
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
|
149 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
150 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
151 |
can_redef_line9) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
152 |
# 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
|
153 |
# 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
|
154 |
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
|
155 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
156 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
157 |
can_redef_line10) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
158 |
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
|
159 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
160 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
161 |
can_redef_line11) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
162 |
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
|
163 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
164 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
165 |
can_retrans_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
166 |
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
|
167 |
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
|
168 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
169 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
170 |
can_retrans_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
171 |
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
|
172 |
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
|
173 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
174 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
175 |
can_retrans_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
176 |
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
|
177 |
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
|
178 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
179 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
180 |
can_retrans_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
181 |
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
|
182 |
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
|
183 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
184 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
185 |
can_retrans_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
186 |
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
|
187 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
188 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
189 |
can_retrans_line6) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
190 |
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
|
191 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
192 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
193 |
can_retrans_line7) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
194 |
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
|
195 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
196 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
197 |
can_retrans_line8) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
198 |
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
|
199 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
200 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
201 |
can_retrans_line9) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
202 |
# 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
|
203 |
# 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
|
204 |
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
|
205 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
206 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
207 |
can_retrans_line10) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
208 |
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
|
209 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
210 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
211 |
can_retrans_line11) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
212 |
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
|
213 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
214 |
|
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_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
216 |
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
|
217 |
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
|
218 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
219 |
|
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_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
221 |
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
|
222 |
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
|
223 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
224 |
|
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_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
226 |
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
|
227 |
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
|
228 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
229 |
|
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_line4) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
231 |
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
|
232 |
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
|
233 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
234 |
|
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_line5) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
236 |
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
|
237 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
238 |
|
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_line6) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
240 |
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
|
241 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
242 |
|
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_line7) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
244 |
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
|
245 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
246 |
|
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_line8) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
248 |
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
|
249 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
250 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
251 |
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
|
252 |
# 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
|
253 |
# 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
|
254 |
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
|
255 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
256 |
|
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_line10) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
258 |
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
|
259 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
260 |
|
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_line11) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
262 |
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
|
263 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
264 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
265 |
premain_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
266 |
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
|
267 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
268 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
269 |
premain_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
270 |
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
|
271 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
272 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
273 |
premain_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
274 |
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
|
275 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
276 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
277 |
version_line1) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
278 |
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
|
279 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
280 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
281 |
version_line2) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
282 |
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
|
283 |
;; |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
284 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
285 |
version_line3) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
286 |
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
|
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 |
*) |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
290 |
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
|
291 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
292 |
esac |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
293 |
shift |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
294 |
done |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
295 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
296 |
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
|
297 |
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
|
298 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
299 |
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
|
300 |
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
|
301 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
302 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
303 |
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
|
304 |
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
|
305 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
306 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
307 |
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
|
308 |
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
|
309 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
310 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
311 |
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
|
312 |
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
|
313 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
314 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
315 |
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
|
316 |
${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
|
317 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
318 |
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
|
319 |
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
|
320 |
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
|
321 |
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
|
322 |
} |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
323 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
324 |
if [ "${TESTJAVA}" = "" ] |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
325 |
then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
326 |
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
|
327 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
328 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
329 |
|
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
330 |
if [ "${COMPILEJAVA}" = "" ] |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
331 |
then |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
332 |
COMPILEJAVA="${TESTJAVA}" |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
333 |
fi |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
334 |
echo "COMPILEJAVA=${COMPILEJAVA}" |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
335 |
|
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
336 |
if [ "${TESTSRC}" = "" ] |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
337 |
then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
338 |
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
|
339 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
340 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
341 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
342 |
if [ "${TESTCLASSES}" = "" ] |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
343 |
then |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
344 |
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
|
345 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
346 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
347 |
|
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
348 |
JAR="${COMPILEJAVA}/bin/jar" |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
349 |
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
|
350 |
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
|
351 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
352 |
# 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
|
353 |
# 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
|
354 |
# by default |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
355 |
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
|
356 |
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
|
357 |
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
|
358 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
359 |
# 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
|
360 |
# 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
|
361 |
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
|
362 |
> ExampleForBootClassPath.java |
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
11989
diff
changeset
|
363 |
"$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
|
364 |
mv ExampleForBootClassPath.class \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
365 |
$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
|
366 |
mv ExampleForBootClassPath.java \ |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
367 |
$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
|
368 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
369 |
AGENT=ManifestTestAgent |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
370 |
# 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
|
371 |
# 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
|
372 |
# 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
|
373 |
${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
|
374 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
375 |
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
|
376 |
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
|
377 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
378 |
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
|
379 |
echo |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
380 |
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
|
381 |
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
|
382 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
383 |
"${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
|
384 |
-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
|
385 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
386 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
387 |
cat output.log |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
388 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
389 |
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
|
390 |
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
|
391 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
392 |
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
|
393 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
394 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
395 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
396 |
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
|
397 |
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
|
398 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
399 |
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
|
400 |
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
|
401 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
402 |
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
|
403 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
404 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
405 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
406 |
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
|
407 |
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
|
408 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
409 |
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
|
410 |
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
|
411 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
412 |
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
|
413 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
414 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
415 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
416 |
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
|
417 |
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
|
418 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
419 |
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
|
420 |
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
|
421 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
422 |
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
|
423 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
424 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
425 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
426 |
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
|
427 |
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
|
428 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
429 |
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
|
430 |
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
|
431 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
432 |
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
|
433 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
434 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
435 |
|
11989
65cceb7f6ac7
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
sla
parents:
10150
diff
changeset
|
436 |
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
|
437 |
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
|
438 |
result=$? |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
439 |
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
|
440 |
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
|
441 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
442 |
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
|
443 |
touch $FAIL_MARKER |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
444 |
fi |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
445 |
|
10150
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
446 |
#clean up any problematic directories |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
447 |
if [ -n "$to_be_deleted" ]; then |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
448 |
echo "Test removing [$to_be_deleted]" |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
449 |
rm -rf "$to_be_deleted" |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
450 |
fi |
dee4cb73adc3
7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
chegar
parents:
5506
diff
changeset
|
451 |
|
273
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
452 |
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
|
453 |
echo |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
454 |
done << EOF |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
455 |
defaults |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
456 |
version_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
457 |
version_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
458 |
version_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
459 |
premain_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
460 |
premain_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
461 |
premain_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
462 |
boot_cp_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
463 |
boot_cp_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
464 |
boot_cp_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
465 |
boot_cp_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
466 |
boot_cp_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
467 |
can_redef_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
468 |
can_redef_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
469 |
can_redef_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
470 |
can_redef_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
471 |
can_redef_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
472 |
can_redef_line6 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
473 |
can_redef_line7 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
474 |
can_redef_line8 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
475 |
can_redef_line10 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
476 |
can_redef_line11 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
477 |
can_retrans_line1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
478 |
can_retrans_line2 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
479 |
can_retrans_line3 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
480 |
can_retrans_line4 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
481 |
can_retrans_line5 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
482 |
can_retrans_line6 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
483 |
can_retrans_line7 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
484 |
can_retrans_line8 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
485 |
can_retrans_line10 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
486 |
can_retrans_line11 |
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_line1 |
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_line2 |
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_line3 |
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_line4 |
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_line5 |
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_line6 |
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_line7 |
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_line8 |
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_line10 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
496 |
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
|
497 |
EOF |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
498 |
|
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
499 |
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
|
500 |
exit 1 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
501 |
else |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
502 |
exit 0 |
3d51c181a2e5
6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
dcubed
parents:
diff
changeset
|
503 |
fi |