/openjdk7/langtools/test/tools/javac/processing/options/ |
H A D | TestImplicitNone.java | 50 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 D | T6873845.java | 27 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 D | TestPkgInfo.java | 94 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 D | T6668802.java | 66 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 D | Bug.java | 63 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 D | UnixMountEntry.java | 36 private byte[] opts; // mount options field in class:UnixMountEntry 68 optionsAsString = new String(opts);
|
/openjdk7/langtools/test/tools/javadoc/6958836/ |
H A D | Test.java | 60 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 D | DeleteOnClose.java | 63 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 D | T6920317.java | 152 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 D | WindowsUserDefinedFileAttributeView.java | 219 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 D | SchemaCompilerImpl.java | 87 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 D | T6608214.java | 51 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 D | BIContent.java | 52 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 D | GraphicalInstallerTest.java | 42 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 D | T6917288.java | 60 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 D | ArgTypeCompilerFactory.java | 51 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 D | Example.java | 199 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 D | RELAXNGCompiler.java | 74 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 D | ResolverConfigurationImpl.java | 43 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 D | Nulls.java | 60 Set<FileVisitOption> opts = new HashSet<>(1); 61 opts.add(null); 62 Files.walkFileTree(Paths.get("."), opts, Integer.MAX_VALUE,
|
H A D | MaxDepth.java | 38 Set<FileVisitOption> opts = Collections.emptySet(); 40 Files.walkFileTree(top, opts, maxDepth, new SimpleFileVisitor<Path>() {
|
/openjdk7/jdk/test/sun/jvmstat/testlibrary/ |
H A D | JavaProcess.java | 60 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 D | CopyMoveHelper.java | 104 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 D | T6430241.java | 77 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 D | T6348499.java | 57 Iterable<String> opts = Arrays.asList("-proc:only", 61 JavacTask task = tool.getTask(out, fm, dl, opts, null, files);
|