Searched refs:javap (Results 1 - 25 of 63) sorted by relevance

123

/openjdk7/langtools/test/tools/javap/
H A DT6587786.java38 javap("com.sun.javadoc.Doc", "com.sun.crypto.provider.ai");
39 javap("com.sun.crypto.provider.ai", "com.sun.javadoc.ClassDoc");
42 void javap(String... args) { method in class:T6587786
45 //sun.tools.javap.Main.entry(args);
46 int rc = com.sun.tools.javap.Main.run(args, out);
48 throw new Error("javap failed. rc=" + rc);
H A DExtPath.java28 * @summary javap cannot read multiple entries on the extension classpath
33 import com.sun.tools.javap.Main;
H A DT4501660.java41 String output = javap("-classpath", testClasses, "-help", "T4501660");
51 String javap(String... args) { method in class:T4501660
54 //sun.tools.javap.Main.entry(args);
55 int rc = com.sun.tools.javap.Main.run(args, out);
57 throw new Error("javap failed. rc=" + rc);
H A DT4876942.java27 * @summary javap invoked without args does not print help screen
39 String output = javap();
46 String javap(String... args) { method in class:T4876942
49 //sun.tools.javap.Main.entry(args);
50 int rc = com.sun.tools.javap.Main.run(args, out);
52 throw new Error("javap failed. rc=" + rc);
H A DT6715251.java30 * @summary javap should be consistent with javac and return 2 if given no arguments
52 int rc = javap(args);
59 int javap(String... args) { method in class:T6715251
62 int rc = com.sun.tools.javap.Main.run(args, pw);
H A DT6474890.java27 * @summary javap does not open .zip files in -classpath
47 javap("-classpath", zipFile.getPath(), className);
50 javap("-classpath", zipFile.getPath(), className);
85 String javap(String... args) { method in class:T6474890
88 //sun.tools.javap.Main.entry(args);
89 int rc = com.sun.tools.javap.Main.run(args, out);
91 throw new Error("javap failed. rc=" + rc);
H A DT4075403.java27 * @summary Use javap to inquire about a specific inner class
42 javap("Outer.Inner");
63 String javap(String className) { method in class:T4075403
66 int rc = com.sun.tools.javap.Main.run(new String[] { "-classpath", ".", className }, out);
68 throw new Error("javap failed. rc=" + rc);
H A DT4880663.java27 * @summary javap could output whitespace between class name and opening brace
28 * javap prints "extends java.lang.Object"
64 String javap(File classFile) { method in class:T4880663
67 int rc = com.sun.tools.javap.Main.run(new String[] { classFile.getPath() }, out);
69 throw new Error("javap failed. rc=" + rc);
76 String output = javap(classFile);
H A DT4880672.java28 * @summary javap does not output inner interfaces of an interface
49 String output = javap(className);
63 String javap(String className) { method in class:T4880672
68 int rc = com.sun.tools.javap.Main.run(args, out);
74 throw new Error("javap failed. rc=" + rc);
76 throw new Error("javap reported error.");
H A DT4975569.java27 * @summary javap doesn't print new flag bits
53 String output = javap(className);
67 String javap(String className) { method in class:T4975569
73 int rc = com.sun.tools.javap.Main.run(args, out);
75 throw new Error("javap failed. rc=" + rc);
H A DT6271787.java27 * @summary javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
43 "0 5 0 this LTest<TT;>;" // should consider decoding this in javap
66 String javap(File f) { method in class:T6271787
69 int rc = com.sun.tools.javap.Main.run(new String[] { "-v", f.getPath() }, out);
71 throw new Error("javap failed. rc=" + rc);
77 String output = javap(classFile);
H A DT6622216.java27 * @summary javap names some attributes incorrectly
40 String output = javap(classFile);
62 String javap(File f) { method in class:T6622216
65 int rc = com.sun.tools.javap.Main.run(new String[] { "-v", f.getPath() }, out);
67 throw new Error("javap failed. rc=" + rc);
H A DT6868539.java27 * @summary javap should use current names for constant pool entries,
42 String output = javap("T6868539");
74 String javap(String className) { method in class:T6868539
79 int rc = com.sun.tools.javap.Main.run(args, out);
81 throw new Error("javap failed. rc=" + rc);
H A DT4459541.java27 * @summary "javap -l" shows line numbers as signed short; they should be unsigned.
40 String output = javap(classFile);
89 String javap(File f) { method in class:T4459541
92 int rc = com.sun.tools.javap.Main.run(new String[] { "-l", f.getPath() }, out);
94 throw new Error("javap failed. rc=" + rc);
H A DT6622232.java27 * @summary javap gets whitespace confused
40 String output = javap(classFile);
42 // these are all examples of bad whitespace from old javap
73 String javap(File f) { method in class:T6622232
76 int rc = com.sun.tools.javap.Main.run(new String[] { "-v", f.getPath() }, out);
78 throw new Error("javap failed. rc=" + rc);
H A DT6729471.java28 * @summary javap does not output inner interfaces of an interface
89 String output = javap(className);
103 String javap(String className) { method in class:T6729471
108 int rc = com.sun.tools.javap.Main.run(args, out);
114 throw new Error("javap failed. rc=" + rc);
116 throw new Error("javap reported error.");
H A DT7004698.java27 * @summary javap does not output CharacterRangeTable attributes correctly
46 String out = javap("-v", classFile.getPath());
86 String javap(String... args) throws Exception { method in class:T7004698
89 int rc = com.sun.tools.javap.Main.run(args, pw);
95 throw new Exception("javap failed unexpectedly; rc=" + rc);
/openjdk7/langtools/make/test/lib/
H A Djavap.sh27 # @summary Verify the basic execution of the javap classes in classes.jar.
38 sun.tools.javap.Main \
39 -classpath . HelloWorld > javap.tmp
41 if diff ${TESTSRC}/../HelloWorld.javap.gold.txt javap.tmp ; then
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DInstructionDetailWriter.java26 package com.sun.tools.javap;
H A DInternalError.java26 package com.sun.tools.javap;
H A DMessages.java26 package com.sun.tools.javap;
31 * Access to javap messages.
H A DMain.java26 package com.sun.tools.javap;
H A DContext.java26 package com.sun.tools.javap;
/openjdk7/langtools/test/tools/javap/4870651/
H A DT4870651.java27 * @summary javap should recognize generics, varargs, enum;
28 * javap prints "extends java.lang.Object"
55 String javap(String className) { method in class:T4870651
60 int rc = com.sun.tools.javap.Main.run(args, out);
62 throw new Error("javap failed. rc=" + rc);
71 String output = javap(className);
/openjdk7/langtools/test/tools/javap/4111861/
H A DT4111861.java41 String out = javap("-classpath", ".", "-constants", "A");
60 String javap(String... args) throws Exception { method in class:T4111861
63 int rc = com.sun.tools.javap.Main.run(args, pw);
65 throw new Exception("javap failed, rc=" + rc);

Completed in 2843 milliseconds

123