equal
deleted
inserted
replaced
79 |
79 |
80 pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.systemdictionary", "-verbose"}); |
80 pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.systemdictionary", "-verbose"}); |
81 output = CDSTestUtils.executeAndLog(pb, "jcmd-systemdictionary-verbose"); |
81 output = CDSTestUtils.executeAndLog(pb, "jcmd-systemdictionary-verbose"); |
82 try { |
82 try { |
83 output.shouldContain("Shared Dictionary"); |
83 output.shouldContain("Shared Dictionary"); |
84 output.shouldContain("Dictionary for class loader 0x"); |
84 output.shouldContain("Dictionary for loader data: 0x"); |
85 output.shouldContain("^java.lang.String"); |
85 output.shouldContain("^java.lang.String"); |
86 } catch (RuntimeException e) { |
86 } catch (RuntimeException e) { |
87 output.shouldContain("Unknown diagnostic command"); |
87 output.shouldContain("Unknown diagnostic command"); |
88 } |
88 } |
89 } |
89 } |