Searched refs:opts (Results 1 - 25 of 78) sorted by relevance

1234

/openjdk7/langtools/test/tools/javac/processing/options/
H A DTestImplicitNone.java50 List<String> opts = new ArrayList<String>();
53 opts.add("-d");
54 opts.add(classesDir.getPath());
55 opts.add("-processorpath");
56 opts.add(System.getProperty("test.classes"));
57 opts.add("-implicit:none");
58 opts.add("-processor");
59 opts.add(TestImplicitNone.class.getName());
62 compile(opts, files);
70 void compile(List<String> opts, Lis argument
[all...]
/openjdk7/langtools/test/tools/javac/
H A DT6873845.java27 test(opts(),
29 test(opts("-XDenableSunApiLintControl"),
31 test(opts("-XDenableSunApiLintControl", "-XDsuppressNotes"),
33 test(opts("-XDenableSunApiLintControl", "-Xlint:sunapi"),
35 test(opts("-XDenableSunApiLintControl", "-Xlint:all"),
37 test(opts("-XDenableSunApiLintControl", "-Xlint:all,-sunapi"),
41 List<String> opts(String... opts) { argument
42 return Arrays.asList(opts);
45 void test(List<String> opts, Strin argument
[all...]
H A DTestPkgInfo.java94 List<String> opts = new ArrayList<String>();
97 opts.add("-d");
98 opts.add(classesDir.getPath());
100 opts.add(ok.opt);
101 //opts.add("-verbose");
104 compile(opts, files);
135 void compile(List<String> opts, List<File> files) throws Exception { argument
136 System.err.println("javac: " + opts + " " + files);
138 args.addAll(opts);
H A DT6668802.java66 String[] opts = options.toArray(new String[options.size()]);
69 int rc = com.sun.tools.javac.Main.compile(opts, out);
/openjdk7/langtools/test/tools/javac/T7142672/
H A DBug.java63 List<String> opts = new ArrayList<String>();
64 opts.add("-proc:only");
65 opts.add("-processor");
66 opts.add("AnnoProcessor");
71 task2 = javac.getTask(pw, sjfm, dl, opts, Arrays.asList(name), null);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixMountEntry.java36 private byte[] opts; // mount options field in class:UnixMountEntry
68 optionsAsString = new String(opts);
/openjdk7/langtools/test/tools/javadoc/6958836/
H A DTest.java60 List<String> opts = new ArrayList<String>();
63 opts.addAll(list("-locale", "en_US"));
64 opts.addAll(list("-classpath", System.getProperty("test.src")));
65 opts.addAll(list("-d", testOutDir.getPath()));
66 opts.addAll(testOpts);
67 opts.add(pkg);
80 opts.toArray(new String[opts.size()]));
/openjdk7/jdk/test/java/nio/file/Files/
H A DDeleteOnClose.java63 Set<OpenOption> opts = new HashSet<>();
64 opts.add(WRITE);
65 opts.add(DELETE_ON_CLOSE);
66 secure.newByteChannel(file, opts).close();
/openjdk7/langtools/test/tools/javac/processing/
H A DT6920317.java152 List<String> opts = new ArrayList<String>();
158 opts.add("-processorpath");
161 opts.add(testClassPath);
162 opts.add("-processor");
163 opts.add(Processor.class.getName());
164 opts.add("-proc:only");
165 opts.add("-d");
166 opts.add(test_tmp.getPath());
167 //opts.add("-verbose");
188 opts
302 compile(File dir, String[] opts, File src) argument
311 compile(List<String> opts, List<File> files) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsUserDefinedFileAttributeView.java219 Set<OpenOption> opts = new HashSet<>();
220 opts.add(READ);
222 opts.add(WindowsChannelFactory.OPEN_REPARSE_POINT);
224 .newFileChannel(join(file, name), null, opts, 0L);
246 Set<OpenOption> opts = new HashSet<>();
247 opts.add(READ);
249 opts.add(WindowsChannelFactory.OPEN_REPARSE_POINT);
251 .newFileChannel(join(file, name), null, opts, 0L);
301 Set<OpenOption> opts = new HashSet<>();
303 opts
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DSchemaCompilerImpl.java87 protected final Options opts = new Options(); field in class:SchemaCompilerImpl
97 opts.compatibilityMode = Options.EXTENSION;
101 opts.debugMode = true;
102 opts.verbose = true;
108 return opts;
153 opts.target = version;
183 opts.entityResolver = entityResolver;
187 opts.defaultPackage2 = packageName;
191 opts.defaultPackage = packageName;
195 opts
[all...]
/openjdk7/langtools/test/tools/javac/api/6608214/
H A DT6608214.java51 List<String> opts = Arrays.asList("-bootclasspath", bootPath, "-Xjcov");
53 JavacTask ct = (JavacTask)tool.getTask(null, null, null,opts,null,files);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/
H A DBIContent.java52 this.opts = parent.parent.model.options;
61 private final Options opts; field in class:BIContent
74 if(v.equals("array")) return opts.getFieldRendererFactory().getArray();
76 return opts.getFieldRendererFactory().getList(
/openjdk7/langtools/test/tools/javac/6917288/
H A DGraphicalInstallerTest.java42 List<String> opts = Arrays.asList("-d", classes.getPath());
43 int rc = compile(opts, new File(testSrc, "GraphicalInstaller.java"));
64 int compile(List<String> opts, File... files) { argument
66 args.addAll(opts);
H A DT6917288.java60 List<String> opts = new ArrayList<String>();
61 opts.add("-d");
62 opts.add(classesDir.getPath());
65 int rc = compile(opts, f);
78 int compile(List<String> opts, File... files) { argument
80 args.addAll(opts);
/openjdk7/langtools/test/tools/javac/diags/
H A DArgTypeCompilerFactory.java51 public Example.Compiler getCompiler(List<String> opts, boolean verbose) { argument
54 if (opts == null || opts.isEmpty()) {
58 first = opts.get(0);
59 rest = opts.subList(1, opts.size()).toArray(new String[opts.size() - 1]);
94 boolean run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) { argument
98 System.err.println("run_jsr199: " + opts + " " + files);
108 JavacTaskImpl t = (JavacTaskImpl) tool.getTask(out, fm, null, opts, nul
127 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument
161 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument
[all...]
H A DExample.java199 List<String> opts = new ArrayList<String>();
200 opts.add("-d");
201 opts.add(classesDir.getPath());
203 opts.addAll(options);
208 opts.add("-classpath"); // avoid using -processorpath for now
209 opts.add(classesDir.getPath());
214 opts.add("-sourcepath");
215 opts.add(srcPathDir.getPath());
220 c.run(out, keys, raw, opts, srcFiles);
298 Compiler getCompiler(List<String> opts, boolea argument
302 getCompiler(List<String> opts, boolean verbose) argument
325 getCompiler(List<String> opts, boolean verbose) argument
336 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument
370 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument
441 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument
491 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/relaxng/
H A DRELAXNGCompiler.java74 final Options opts; field in class:RELAXNGCompiler
106 public static Model build(DPattern grammar, JCodeModel codeModel, Options opts ) {
107 RELAXNGCompiler compiler = new RELAXNGCompiler(grammar, codeModel, opts);
112 public RELAXNGCompiler(DPattern grammar, JCodeModel codeModel, Options opts) { argument
114 this.opts = opts;
115 this.model = new Model(opts,codeModel, NameConverter.smart,opts.classNameAllocator,null);
125 if(opts.defaultPackage2!=null)
126 pkg = codeModel._package(opts
[all...]
/openjdk7/jdk/src/windows/classes/sun/net/dns/
H A DResolverConfigurationImpl.java43 private final Options opts; field in class:ResolverConfigurationImpl
111 opts = new OptionsImpl();
133 return opts;
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DNulls.java60 Set<FileVisitOption> opts = new HashSet<>(1);
61 opts.add(null);
62 Files.walkFileTree(Paths.get("."), opts, Integer.MAX_VALUE,
H A DMaxDepth.java38 Set<FileVisitOption> opts = Collections.emptySet();
40 Files.walkFileTree(top, opts, maxDepth, new SimpleFileVisitor<Path>() {
/openjdk7/jdk/test/sun/jvmstat/testlibrary/
H A DJavaProcess.java60 public void addOptions(String[] opts) { argument
65 for (int i = 0; i < opts.length; i++) {
69 javaOptions.append(opts[i]);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DCopyMoveHelper.java104 CopyOptions opts = CopyOptions.parse(options);
105 LinkOption[] linkOptions = (opts.followLinks) ? new LinkOption[0] :
116 if (opts.replaceExisting) {
131 if (opts.copyAttributes) {
/openjdk7/langtools/test/tools/javac/api/
H A DT6430241.java77 void testCommandLine(boolean expectWarnings, String... opts) throws Exception { argument
78 System.err.println("test command line: " + Arrays.asList(opts));
80 String[] args = initArgs(opts);
102 void testSimpleAPI(boolean expectWarnings, String... opts) { argument
103 System.err.println("test simple API: " + Arrays.asList(opts));
105 String[] args = initArgs(opts);
172 * Initialize args for compilation with given opts.
173 * @return opts -d classesDir testFile
175 String[] initArgs(String[] opts) { argument
177 args.addAll(Arrays.asList(opts));
[all...]
/openjdk7/langtools/test/tools/javac/processing/6348499/
H A DT6348499.java57 Iterable<String> opts = Arrays.asList("-proc:only",
61 JavacTask task = tool.getTask(out, fm, dl, opts, null, files);

Completed in 140 milliseconds

1234