Searched refs:task (Results 126 - 150 of 393) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/api/6406133/
H A DT6406133.java90 task = tool.getTask(pw, fm, listener, null, null, compilationUnits);
91 task.setProcessors(Arrays.asList(processor));
92 task.setLocale(locale); //6443132
93 task.call();
/openjdk10/langtools/test/tools/javac/file/
H A DT7068451.java83 CompilationTask task = compiler.getTask(null, fm, null, opts, null,
85 task.setProcessors(Collections.singleton(new Proc("first")));
86 check("compilation", task.call());
96 task = compiler.getTask(null, fm, null, opts, null,
98 task.setProcessors(Collections.singleton(new Proc("second")));
99 check("compilation", task.call());
107 task = compiler.getTask(null, fm, null, opts, null,
109 task.setProcessors(Collections.singleton(new Proc("second")));
110 check("compilation", task.call());
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DScheduledExecutorSubclassTest.java78 private final RunnableScheduledFuture<V> task; field in class:ScheduledExecutorSubclassTest.CustomTask
80 CustomTask(RunnableScheduledFuture<V> task) { this.task = task; } argument
81 public boolean isPeriodic() { return task.isPeriodic(); }
84 task.run();
86 public long getDelay(TimeUnit unit) { return task.getDelay(unit); }
88 return task.compareTo(((CustomTask)t).task);
91 return task
109 decorateTask(Runnable r, RunnableScheduledFuture<V> task) argument
113 decorateTask(Callable<V> c, RunnableScheduledFuture<V> task) argument
[all...]
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DJlinkTask.java88 new Option<JlinkTask>(false, (task, opt, arg) -> {
89 task.options.help = true;
91 new Option<JlinkTask>(true, (task, opt, arg) -> {
94 task.options.modulePath.clear();
99 .forEach(task.options.modulePath::add);
101 new Option<JlinkTask>(true, (task, opt, arg) -> {
104 task.options.limitMods.clear();
110 task.options.limitMods.add(mn);
113 new Option<JlinkTask>(true, (task, opt, arg) -> {
119 task
[all...]
/openjdk10/hotspot/test/runtime/modules/
H A DCompilerUtils.java73 JavaCompiler.CompilationTask task
77 return task.call();
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DCPrinterDialogPeer.java56 Runnable task = () -> {
61 new Thread(null, task, "PrintDialog", 0, false).start();
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DLayoutQueue.java79 * Add a task that is not needed immediately because
81 * @param task the task to add to the queue
83 public synchronized void addTask(Runnable task) { argument
98 tasks.addElement(task);
103 * Used by the worker thread to get a new task to execute.
104 * @return a task from the queue
/openjdk10/jdk/test/java/rmi/reliability/benchmark/bench/rmi/
H A DBenchServerImpl.java78 * Execute given task.
80 public Object execute(BenchServer.Task task) throws Exception { argument
81 return task.execute();
/openjdk10/jdk/test/javax/swing/text/html/parser/
H A DTest8017492.java43 Runnable task = new Runnable() {
62 // run task with different AppContext
63 Thread thread = new Thread(new ThreadGroup("$$$"), task);
/openjdk10/langtools/test/tools/javac/api/8007344/
H A DTest.java105 JavacTask task = javac.getTask(out, fm, null, null, null, files);
106 AnnoProc ap = new AnnoProc(DocTrees.instance(task));
107 task.setProcessors(Arrays.asList(ap));
108 task.call();
115 out.println("Test task listener");
116 JavacTask task = javac.getTask(out, fm, null, null, null, files);
117 TaskListnr tl = new TaskListnr(DocTrees.instance(task));
118 task.addTaskListener(tl);
119 task.call();
/openjdk10/langtools/test/tools/javac/api/7086261/
H A DT7086261.java72 JavaCompiler.CompilationTask task =
74 task.call();
/openjdk10/langtools/test/tools/javac/6440583/
H A DT6440583.java50 JavacTask task = tool.getTask(null, fm, null, null, null, files);
52 Iterable<? extends Tree> trees = task.parse();
/openjdk10/langtools/test/tools/javac/classfiles/attributes/LocalVariableTable/T8136453/
H A DT8136453.java54 JavacTask task = (JavacTask) compiler.getTask(null, null, null, opts, null, null);
55 TypeElement t = task.getElements().getTypeElement("T");
/openjdk10/langtools/src/jdk.compiler/share/classes/jdk/internal/shellsupport/doc/
H A DJavadocHelper.java190 private String getResolvedDocComment(JavacTask task, TreePath el) throws IOException { argument
191 DocTrees trees = DocTrees.instance(task);
198 () -> superTypeForInheritDoc(task, element.getEnclosingElement()).iterator();
202 if (task.getElements().overrides(executableElement, supMethod, clazz)) {
203 Pair<JavacTask, TreePath> source = getSourceElement(task, supMethod);
217 DocCommentTree docCommentTree = parseDocComment(task, docComment);
259 missingThrows.remove(getThrownException(task, el, docCommentTree, (ThrowsTree) dt));
268 DocTree syntheticTag = parseBlockTag(task, "@param " + missingParam + " {@inheritDoc}");
274 DocTree syntheticTag = parseBlockTag(task, "@throws " + missingThrow + " {@inheritDoc}");
280 DocTree syntheticTag = parseBlockTag(task, "
488 superTypeForInheritDoc(JavacTask task, Element type) argument
509 parseBlockTag(JavacTask task, String blockTag) argument
515 parseDocComment(JavacTask task, String javadoc) argument
529 getThrownException(JavacTask task, TreePath rootOn, DocCommentTree comment, ThrowsTree tt) argument
615 fillElementCache(JavacTask task, CompilationUnitTree cut) argument
[all...]
/openjdk10/langtools/test/tools/javac/api/6733837/
H A DT6733837.java63 task = tool.getTask(sw, fm, null, null, null, files);
65 ((JavacTask)task).analyze();
/openjdk10/nashorn/samples/
H A Djavafoovars.js60 // create a new compilation task
61 var task = compiler.getTask(null, fileMgr, null, null, null, compUnits);
74 for each (var cu in task.parse()) {
H A Dgetclassnpe.js66 // create a new compilation task
67 var task = compiler.getTask(null, fileMgr, null, null, null, compUnits);
102 for each (var cu in task.parse()) {
/openjdk10/langtools/test/tools/javac/processing/6348499/
H A DT6348499.java63 JavacTask task = tool.getTask(out, fm, dl, opts, null, files);
64 task.call();
/openjdk10/langtools/test/tools/javac/processing/rounds/
H A DCompleteOnClosed.java58 CompilationTask task = compiler.getTask(null, null, collector, options, null, files);
59 task.call();
/openjdk10/langtools/test/tools/javac/tree/
H A DPrettySimpleStringTest.java53 JavacTask task = tool.getTask(null, fm, null, null, null,
55 Iterable<? extends CompilationUnitTree> trees = task.parse();
H A DT6963934.java47 JavacTask task = (JavacTask) compiler.getTask(null, fileManager, null, null, null,
49 CompilationUnitTree tree = task.parse().iterator().next();
/openjdk10/langtools/test/tools/javac/processing/6378728/
H A DT6378728.java76 CompilationTask task =
83 if (!task.call())
/openjdk10/test/lib/jdk/test/lib/compiler/
H A DCompilerUtils.java82 JavaCompiler.CompilationTask task
86 return task.call();
/openjdk10/hotspot/src/share/vm/logging/
H A DlogPrefix.hpp71 LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, task)) \
80 LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task)) \
81 LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task, start)) \
82 LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task, stats)) \
83 LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task, time)) \
/openjdk10/jdk/src/java.base/linux/classes/sun/nio/ch/
H A DEPollPort.java144 void executeOnHandlerTask(Runnable task) { argument
148 offerTask(task);
278 // handle wakeup to execute task or shutdown
280 Runnable task = pollTask();
281 if (task == null) {
285 // run task (may throw error/exception)
287 task.run();

Completed in 353 milliseconds

1234567891011>>