test/hotspot/jtreg/serviceability/sa/ClhsdbCDSJstackPrintAll.java
author jgeorge
Tue, 05 Feb 2019 00:43:38 +0530
changeset 53635 247e5ca412f5
parent 51287 7b1ddbafa134
permissions -rw-r--r--
8215568: Refactor SA clhsdb tests to use ClhsdbLauncher Summary: Refactoring the SA tests which test clhsdb commands to use ClhsdbLauncher for uniformity and ease of maintainence Reviewed-by: jcbeyler, dholmes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
     1
/*
53635
247e5ca412f5 8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents: 51287
diff changeset
     2
 * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
49896
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;
51287
7b1ddbafa134 8208655: use JTreg skipped status in hotspot tests
iignatyev
parents: 50791
diff changeset
    40
import jtreg.SkippedException;
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    41
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    42
public class ClhsdbCDSJstackPrintAll {
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    43
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    44
    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
    45
        System.out.println("Starting ClhsdbCDSJstackPrintAll test");
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    46
        String sharedArchiveName = "ArchiveForClhsdbJstackPrintAll.jsa";
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    47
        LingeredApp theApp = null;
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    48
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    49
        try {
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    50
            CDSOptions opts = (new CDSOptions()).setArchiveName(sharedArchiveName);
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    51
            CDSTestUtils.createArchiveAndCheck(opts);
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    52
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    53
            ClhsdbLauncher test = new ClhsdbLauncher();
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    54
            List<String> vmArgs = Arrays.asList(
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    55
                "-XX:+UnlockDiagnosticVMOptions",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    56
                "-XX:SharedArchiveFile=" + sharedArchiveName,
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    57
                "-Xshare:auto");
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    58
            theApp = LingeredApp.startApp(vmArgs);
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    59
            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
    60
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    61
            // Ensure that UseSharedSpaces is turned on.
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    62
            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
    63
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    64
            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
    65
                                                    null, null);
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    66
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    67
            if (useSharedSpacesOutput == null) {
51287
7b1ddbafa134 8208655: use JTreg skipped status in hotspot tests
iignatyev
parents: 50791
diff changeset
    68
                LingeredApp.stopApp(theApp);
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    69
                // Attach permission issues.
51287
7b1ddbafa134 8208655: use JTreg skipped status in hotspot tests
iignatyev
parents: 50791
diff changeset
    70
                throw new SkippedException("Could not determine the UseSharedSpaces value");
49896
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
                LingeredApp.stopApp(theApp);
51287
7b1ddbafa134 8208655: use JTreg skipped status in hotspot tests
iignatyev
parents: 50791
diff changeset
    76
                throw new SkippedException("The CDS archive is not mapped");
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    77
            }
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    78
50093
55153a374d18 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents: 49896
diff changeset
    79
            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
    80
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    81
            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
    82
            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
    83
            expStrMap.put("jstack -v", List.of(
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    84
                "No deadlocks found",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    85
                "Common-Cleaner",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    86
                "Signal Dispatcher",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    87
                "Method*",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    88
                "LingeredApp.main"));
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    89
            unExpStrMap.put("jstack -v", List.of(
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    90
                "sun.jvm.hotspot.types.WrongTypeException",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    91
                "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
    92
            expStrMap.put("printall", List.of(
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    93
                "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
    94
                "_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
    95
                "_nofast_getfield",
55153a374d18 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents: 49896
diff changeset
    96
                "_nofast_putfield",
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    97
                "Constant Pool of",
53635
247e5ca412f5 8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
jgeorge
parents: 51287
diff changeset
    98
                "public static void main\\(java.lang.String\\[\\]\\)",
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
    99
                "Bytecode",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   100
                "invokevirtual",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   101
                "checkcast",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   102
                "Exception Table",
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   103
                "invokedynamic"));
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   104
            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
   105
                "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
   106
                "illegal code",
55153a374d18 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents: 49896
diff changeset
   107
                "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
   108
            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
   109
                "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
   110
                "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
   111
            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
   112
                "illegal code",
55153a374d18 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
jgeorge
parents: 49896
diff changeset
   113
                "Failure occurred at bci"));
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   114
            test.run(theApp.getPid(), cmds, expStrMap, unExpStrMap);
51287
7b1ddbafa134 8208655: use JTreg skipped status in hotspot tests
iignatyev
parents: 50791
diff changeset
   115
        } catch (SkippedException e) {
7b1ddbafa134 8208655: use JTreg skipped status in hotspot tests
iignatyev
parents: 50791
diff changeset
   116
            throw e;
49896
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   117
        } catch (Exception ex) {
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   118
            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
   119
        } finally {
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   120
            LingeredApp.stopApp(theApp);
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   121
        }
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   122
        System.out.println("Test PASSED");
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   123
    }
ec2dd30adbc1 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
jgeorge
parents:
diff changeset
   124
}