author | goetz |
Fri, 20 Jul 2018 09:46:57 +0200 | |
changeset 51214 | 67736b4846a0 |
parent 50791 | b1e90a8a876c |
child 51287 | 7b1ddbafa134 |
permissions | -rw-r--r-- |
49896
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
1 |
/* |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
2 |
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
4 |
* |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
8 |
* |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
13 |
* accompanied this code). |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
14 |
* |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
18 |
* |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
21 |
* questions. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
22 |
*/ |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
23 |
|
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50093
diff
changeset
|
24 |
/** |
49896
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
25 |
* @test |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
26 |
* @bug 8174994 |
50093
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
27 |
* @summary Test the clhsdb commands 'jstack', 'printall', 'where' with CDS enabled |
50791
b1e90a8a876c
8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents:
50093
diff
changeset
|
28 |
* @requires vm.hasSA & vm.cds |
49896
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
29 |
* @library /test/lib |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
30 |
* @run main/othervm/timeout=2400 -Xmx1g ClhsdbCDSJstackPrintAll |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
31 |
*/ |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
32 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
33 |
import java.util.List; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
34 |
import java.util.Arrays; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
35 |
import java.util.Map; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
36 |
import java.util.HashMap; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
37 |
import jdk.test.lib.cds.CDSTestUtils; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
38 |
import jdk.test.lib.cds.CDSOptions; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
39 |
import jdk.test.lib.apps.LingeredApp; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
40 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
41 |
public class ClhsdbCDSJstackPrintAll { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
42 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
43 |
public static void main(String[] args) throws Exception { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
44 |
System.out.println("Starting ClhsdbCDSJstackPrintAll test"); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
45 |
String sharedArchiveName = "ArchiveForClhsdbJstackPrintAll.jsa"; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
46 |
LingeredApp theApp = null; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
47 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
48 |
try { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
49 |
CDSOptions opts = (new CDSOptions()).setArchiveName(sharedArchiveName); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
50 |
CDSTestUtils.createArchiveAndCheck(opts); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
51 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
52 |
ClhsdbLauncher test = new ClhsdbLauncher(); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
53 |
List<String> vmArgs = Arrays.asList( |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
54 |
"-XX:+UnlockDiagnosticVMOptions", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
55 |
"-XX:SharedArchiveFile=" + sharedArchiveName, |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
56 |
"-Xshare:auto"); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
57 |
theApp = LingeredApp.startApp(vmArgs); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
58 |
System.out.println("Started LingeredApp with pid " + theApp.getPid()); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
59 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
60 |
// Ensure that UseSharedSpaces is turned on. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
61 |
List<String> cmds = List.of("flags UseSharedSpaces"); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
62 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
63 |
String useSharedSpacesOutput = test.run(theApp.getPid(), cmds, |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
64 |
null, null); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
65 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
66 |
if (useSharedSpacesOutput == null) { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
67 |
// Attach permission issues. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
68 |
System.out.println("Could not determine the UseSharedSpaces value - test skipped."); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
69 |
LingeredApp.stopApp(theApp); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
70 |
return; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
71 |
} |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
72 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
73 |
if (!useSharedSpacesOutput.contains("true")) { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
74 |
// CDS archive is not mapped. Skip the rest of the test. |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
75 |
System.out.println("The CDS archive is not mapped - test skipped."); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
76 |
LingeredApp.stopApp(theApp); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
77 |
return; |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
78 |
} |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
79 |
|
50093
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
80 |
cmds = List.of("jstack -v", "printall", "where -a"); |
49896
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
81 |
|
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
82 |
Map<String, List<String>> expStrMap = new HashMap<>(); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
83 |
Map<String, List<String>> unExpStrMap = new HashMap<>(); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
84 |
expStrMap.put("jstack -v", List.of( |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
85 |
"No deadlocks found", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
86 |
"Common-Cleaner", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
87 |
"Signal Dispatcher", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
88 |
"Method*", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
89 |
"LingeredApp.main")); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
90 |
unExpStrMap.put("jstack -v", List.of( |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
91 |
"sun.jvm.hotspot.types.WrongTypeException", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
92 |
"No suitable match for type of address")); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
93 |
expStrMap.put("printall", List.of( |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
94 |
"aload_0", |
50093
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
95 |
"_nofast_aload_0", |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
96 |
"_nofast_getfield", |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
97 |
"_nofast_putfield", |
49896
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
98 |
"Constant Pool of", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
99 |
"public static void main(java.lang.String[])", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
100 |
"Bytecode", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
101 |
"invokevirtual", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
102 |
"checkcast", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
103 |
"Exception Table", |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
104 |
"invokedynamic")); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
105 |
unExpStrMap.put("printall", List.of( |
50093
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
106 |
"No suitable match for type of address", |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
107 |
"illegal code", |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
108 |
"Failure occurred at bci")); |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
109 |
expStrMap.put("where -a", List.of( |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
110 |
"Java Stack Trace for main", |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
111 |
"public static void main")); |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
112 |
unExpStrMap.put("where -a", List.of( |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
113 |
"illegal code", |
55153a374d18
8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents:
49896
diff
changeset
|
114 |
"Failure occurred at bci")); |
49896
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
115 |
test.run(theApp.getPid(), cmds, expStrMap, unExpStrMap); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
116 |
} catch (Exception ex) { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
117 |
throw new RuntimeException("Test ERROR " + ex, ex); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
118 |
} finally { |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
119 |
LingeredApp.stopApp(theApp); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
120 |
} |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
121 |
System.out.println("Test PASSED"); |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
122 |
} |
ec2dd30adbc1
8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff
changeset
|
123 |
} |