Searched defs:javap (Results 1 - 25 of 44) sorted by relevance

12

/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 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);
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 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 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 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 DT4777949.java27 import com.sun.tools.javap.*;
32 * @summary Warn javap usage on package with simple name
58 javap(Arrays.asList("-classpath", classPath), Arrays.asList(className));
84 List<Diagnostic<? extends JavaFileObject>> javap(List<String> args, List<String> classes) { method in class:T4777949
95 error("javap failed unexpectedly");
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 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 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 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 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 DT6622260.java27 * @summary javap prints negative bytes incorrectly in hex
41 String output = javap(classFile);
180 String javap(File f) { method in class:T6622260
183 int rc = com.sun.tools.javap.Main.run(new String[] { "-v", f.getPath() }, out);
185 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 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.");
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DContext.java26 package com.sun.tools.javap;
H A DInternalError.java26 package com.sun.tools.javap;
H A DMain.java26 package com.sun.tools.javap;
H A DMessages.java26 package com.sun.tools.javap;
31 * Access to javap messages.
H A DInstructionDetailWriter.java26 package com.sun.tools.javap;
H A DJavapFileManager.java26 package com.sun.tools.javap;
37 * javap's implementation of JavaFileManager.
/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);
/openjdk7/langtools/test/tools/javac/6627362/
H A DT6627362.java60 javap(new PrintWriter(sw, true), jpArgs);
77 javap(new PrintWriter(sw, true), jpArgs);
88 void javap(PrintWriter out, String... args) throws Exception { method in class:T6627362
89 int rc = com.sun.tools.javap.Main.run(args, out);
91 throw new Error("javap failed: " + Arrays.asList(args) + ": " + rc);
/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);

Completed in 991 milliseconds

12