Searched defs:compile (Results 1 - 25 of 68) sorted by relevance

123

/openjdk7/langtools/test/tools/javac/6403424/
H A DT6403424.java41 // first, compile A to the TMP directory
43 compile("-d", TMP.getPath(), A_java.getPath());
45 // now compile B, which references A,
48 compile("-classpath", TMP.getPath(),
56 private static void compile(String... args) { method in class:T6403424
57 System.err.println("compile: " + Arrays.asList(args));
/openjdk7/jdk/src/share/classes/javax/script/
H A DCompilable.java32 * The optional interface implemented by ScriptEngines whose methods compile scripts
53 public CompiledScript compile(String script) throws method in interface:Compilable
59 * <code>compile(String)</code> other than the way in which the source is
70 public CompiledScript compile(Reader script) throws method in interface:Compilable
/openjdk7/langtools/test/tools/javac/6668794/badClass/
H A DTest.java44 // compile q.A then move it to p.A
45 compile("A.java");
51 // compile B against p.A
52 String[] out = compile("B.java");
67 String[] compile(String file) { method in class:Test
75 System.err.println("compile: " + Arrays.asList(options));
78 int rc = com.sun.tools.javac.Main.compile(options, out);
/openjdk7/langtools/test/tools/javac/
H A DT6595666.java49 compile(1, "-d", ".", "-Xlint", "-Werror", srcFile.getPath());
53 compile(0, "-d", ".", "-Xlint", srcFile.getPath());
58 private static void compile(int rc, String... args) throws Exception { method in class:T6595666
59 System.err.println("compile: " + Arrays.asList(args));
62 int rc2 = com.sun.tools.javac.Main.compile(args, pw);
H A DT6873845.java18 String out = compile(Arrays.asList("-XDrawDiagnostics", "-X"));
51 compile(args); // to verify resource strings exist
53 String out = compile(args);
58 String compile(List<String> args) throws Exception{ method in class:T6873845
61 System.out.println("compile: " + args);
62 int rc = com.sun.tools.javac.Main.compile(args.toArray(new String[args.size()]), pw);
H A DT6999210.java44 compile("-d", classesDir.getPath(), c_java.getPath());
50 String out1 = compile(
58 String out2 = compile(
67 String out3 = compile(
80 String compile(String... args) throws Exception { method in class:T6999210
81 System.err.println("compile: " + Arrays.asList(args));
84 int rc = com.sun.tools.javac.Main.compile(args, pw);
/openjdk7/langtools/test/tools/javap/
H A DT7004698.java43 compile("-Xjcov", "-d", classesDir.getPath(), srcFile.getPath());
48 Pattern attrBody = Pattern.compile("[0-9a-f, ]+//[-0-9a-z:, ]+");
49 Pattern endOfAttr = Pattern.compile("(^$|[A-Z][A-Za-z0-9_]+:.*|})");
74 void compile(String... args) throws Exception { method in class:T7004698
77 int rc = com.sun.tools.javac.Main.compile(args, pw);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/
H A DMain.java37 * {@link #compile(java.lang.String[])}
38 * {@link #compile(java.lang.String[],java.io.PrintWriter)},
61 System.exit(compile(args));
73 public static int compile(String[] args) { method in class:Main
76 return compiler.compile(args);
91 public static int compile(String[] args, PrintWriter out) { method in class:Main
94 return compiler.compile(args);
/openjdk7/langtools/test/tools/javac/processing/6350124/
H A DT6350124.java45 // compile the annotation processor
46 compile("-cp", classpath,
49 // compile the test program, invoking the anotation processor
50 compile("-cp", classpath,
86 // note: jtreg @compile does not allow -d to be specified
87 static void compile(String... args) { method in class:T6350124
88 StringBuffer sb = new StringBuffer("compile:");
/openjdk7/langtools/test/tools/javac/synthesize/
H A DMain.java43 // compile with standard bootclasspath
44 compile(true, "Test.java");
46 // compile with various missing system classes
71 compile(false, files);
79 compile(false, files);
86 void compile(boolean stdBootClassPath, String... files) { method in class:Main
87 compile(stdBootClassPath, Arrays.asList(files));
90 void compile(boolean stdBootClassPath, List<String> files) { method in class:Main
109 int rc = com.sun.tools.javac.Main.compile(args.toArray(new String[args.size()]),
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DJavaCompilerHelper.java63 static boolean compile(String[] args, OutputStream out, ErrorReceiver receiver){ method in class:JavaCompilerHelper
72 "compile",
79 receiver.error(JavacompilerMessages.JAVACOMPILER_NOSUCHMETHOD_ERROR("getMethod(\"compile\", Class[])"), e2);
/openjdk7/langtools/test/tools/javac/6627362/
H A DT6627362.java51 // compile and disassemble E.java, check for reference to Object.clone()
55 compile(jcArgs);
66 // compile and disassemble E.java, using modified Object.java,
72 compile(jcArgs);
82 void compile(String... args) { method in class:T6627362
83 int rc = com.sun.tools.javac.Main.compile(args);
/openjdk7/langtools/test/tools/javac/6917288/
H A DGraphicalInstallerTest.java43 int rc = compile(opts, new File(testSrc, "GraphicalInstaller.java"));
64 int compile(List<String> opts, File... files) { method in class:GraphicalInstallerTest
71 int rc = com.sun.tools.javac.Main.compile(args.toArray(new String[args.size()]), pw);
/openjdk7/langtools/test/tools/javac/options/
H A DT7022337.java50 String out = compile(
66 String compile(String... args) throws Exception { method in class:T7022337
69 int rc = com.sun.tools.javac.Main.compile(args, pw);
/openjdk7/langtools/test/tools/javac/processing/options/
H A DTestImplicitNone.java62 compile(opts, files);
70 void compile(List<String> opts, List<File> files) throws Exception { method in class:TestImplicitNone
78 int rc = com.sun.tools.javac.Main.compile(args.toArray(new String[args.size()]), pw);
/openjdk7/langtools/test/tools/javac/util/
H A DT6597678.java56 compile(
62 void compile(String... args) throws Exception { method in class:T6597678
65 int rc = com.sun.tools.javac.Main.compile(args, pw);
/openjdk7/jaxp/src/javax/xml/xpath/
H A DXPath.java189 * <strong>at compile time</strong> will be used to resolve them.</p>
200 public XPathExpression compile(String expression) method in interface:XPath
/openjdk7/jdk/src/share/sample/nio/file/
H A DChmod.java115 public static Changer compile(String exprs) { method in class:Chmod
338 // compile the symbolic mode expressions
339 Changer changer = compile(args[argi++]);
/openjdk7/langtools/test/tools/javac/Paths/6638501/
H A DWsCompileExample.java59 System.out.println("----test compile 1-----");
67 System.out.println("----test compile 2-----");
106 boolean result = compilerHelper.compile(args);
127 public boolean compile(String[] args) { method in class:JavaCompilerHelper
147 "compile",
/openjdk7/langtools/test/tools/javac/classreader/
H A DT7031108.java64 /* Dummy source file to compile while running anno processor. */
73 // step 1: compile test classes
76 compile(comp, fm, null, null, pC);
82 compile(comp, fm, null, getClass().getName(), dummy);
88 compile(comp, fm, dc, getClass().getName(), dummy);
107 void compile(JavaCompiler comp, JavaFileManager fm, method in class:T7031108
110 System.err.println("compile processor:" + processor + ", files:" + Arrays.asList(files));
/openjdk7/langtools/test/tools/javac/file/
H A DT7018098.java59 compile(
68 compile(
80 void compile(String... args) throws Exception { method in class:T7018098
83 int rc = com.sun.tools.javac.Main.compile(args, pw);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DTopLevelElement.java64 public InstructionList compile(ClassGenerator classGen, method in class:TopLevelElement
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DMain.java107 int compile() { method in class:Main
151 int status = zic.compile();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/relaxng/
H A DRELAXNGCompiler.java65 * Schema to compile.
108 compiler.compile();
134 private void compile() { method in class:RELAXNGCompiler
/openjdk7/jdk/test/java/beans/PropertyEditor/
H A DMemoryClassLoader.java43 public Class<?> compile(String name, String content) { method in class:MemoryClassLoader
44 compile(new Source(name, content));
53 public void compile(Source... sources) { method in class:MemoryClassLoader

Completed in 158 milliseconds

123