Searched refs:cu (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/test/java/rmi/server/Unmarshal/checkUnmarshalOnStopThread/
H A DCheckUnmarshalOnStopThread.java119 CheckUnmarshal cu = null;
127 cu = (CheckUnmarshal) UnicastRemoteObject.toStub(cuonst);
134 ensureConnectionsAreFreed(cu, true);
140 ensureConnectionsAreFreed(cu, true);
146 ensureConnectionsAreFreed(cu, false);
154 cu = null;
159 static void ensureConnectionsAreFreed(CheckUnmarshal cu, boolean getPill) argument
167 Object test = cu.ping();
169 cu.getPoisonPill();
171 cu
[all...]
/openjdk7/langtools/test/tools/javac/tree/
H A DClassTreeTest.java50 for (CompilationUnitTree cu: task.parse()) {
51 check(cu, "CLASS", Tree.Kind.CLASS);
52 check(cu, "INTERFACE", Tree.Kind.INTERFACE);
53 check(cu, "ENUM", Tree.Kind.ENUM);
54 check(cu, "ANNOTATION_TYPE", Tree.Kind.ANNOTATION_TYPE);
65 void check(CompilationUnitTree cu, String name, Tree.Kind k) { argument
83 ClassTree c = s.scan(cu, name);
H A DT6993305.java84 CompilationUnitTree cu; field in class:T6993305.TestScanner
94 cu = tree;
112 int reportedStart = (int) sourcePositions.getStartPosition(cu, tree);
/openjdk7/langtools/test/tools/javac/processing/model/element/
H A DTestAnonSourceNames.java65 public Void visitClass(ClassTree node, CompilationUnitTree cu) { argument
66 Element element = trees.getElement(trees.getPath(cu, node));
83 return super.visitClass(node, cu);
H A DTestResourceElement.java79 public Void visitVariable(VariableTree node, CompilationUnitTree cu) { argument
82 trvElement = trees.getElement(trees.getPath(cu, node));
84 return super.visitVariable(node, cu);
H A DTestResourceVariable.java118 public Void visitVariable(VariableTree node, CompilationUnitTree cu) { argument
119 Element element = trees.getElement(trees.getPath(cu, node));
127 return super.visitVariable(node, cu);
/openjdk7/langtools/test/tools/javac/api/6852595/
H A DT6852595.java60 CompilationUnitTree cu = compUnits.iterator().next();
61 ClassTree cdef = (ClassTree)cu.getTypeDecls().get(0);
63 TreePath path = TreePath.getPath(cu, vdef.init);
/openjdk7/jdk/test/java/net/CookieHandler/
H A DTestHttpCookie.java126 TestHttpCookie cu(int index, String cu) { argument
128 if (cookie == null || !cu.equals(cookie.getCommentURL())) {
129 raiseError("comment url", cookie.getCommentURL(), cu);
134 TestHttpCookie cu(String cu) { return cu(0, cu); } argument
262 .c("this is a coyote").cu("http://www.coyote.org").dsc(true)
277 .c("this is a coyote").cu("htt
[all...]
/openjdk7/langtools/test/tools/javac/T6956462/
H A DT6956462.java53 for (CompilationUnitTree cu : javacTask.parse()) {
54 cu.accept(new MyVisitor(javacTask), null);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTaskImpl.java303 for (CompilationUnitTree cu : trees) {
304 if (cu instanceof JCCompilationUnit) {
307 roots.append((JCCompilationUnit)cu);
308 notYetEntered.remove(cu.getSourceFile());
311 throw new IllegalArgumentException(cu.toString());
H A DJavacTool.java181 for (JavaFileObject cu : compilationUnits) {
182 if (cu.getKind() != JavaFileObject.Kind.SOURCE)
H A DJavacTrees.java236 JCCompilationUnit cu = (JCCompilationUnit) t;
237 if (cu.docComments != null) {
238 return cu.docComments.get(path.getLeaf());
/openjdk7/langtools/test/tools/javac/failover/
H A DCheckAttributedTree.java290 JCCompilationUnit cu = (JCCompilationUnit)t;
291 for (JCTree def : cu.defs) {
295 res.add(new Pair<>(cu, def));

Completed in 65 milliseconds