/openjdk7/jdk/test/java/rmi/server/Unmarshal/checkUnmarshalOnStopThread/ |
H A D | CheckUnmarshalOnStopThread.java | 119 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 D | ClassTreeTest.java | 50 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 D | T6993305.java | 84 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 D | TestAnonSourceNames.java | 65 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 D | TestResourceElement.java | 79 public Void visitVariable(VariableTree node, CompilationUnitTree cu) { argument 82 trvElement = trees.getElement(trees.getPath(cu, node)); 84 return super.visitVariable(node, cu);
|
H A D | TestResourceVariable.java | 118 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 D | T6852595.java | 60 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 D | TestHttpCookie.java | 126 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 D | T6956462.java | 53 for (CompilationUnitTree cu : javacTask.parse()) { 54 cu.accept(new MyVisitor(javacTask), null);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/ |
H A D | JavacTaskImpl.java | 303 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 D | JavacTool.java | 181 for (JavaFileObject cu : compilationUnits) { 182 if (cu.getKind() != JavaFileObject.Kind.SOURCE)
|
H A D | JavacTrees.java | 236 JCCompilationUnit cu = (JCCompilationUnit) t; 237 if (cu.docComments != null) { 238 return cu.docComments.get(path.getLeaf());
|
/openjdk7/langtools/test/tools/javac/failover/ |
H A D | CheckAttributedTree.java | 290 JCCompilationUnit cu = (JCCompilationUnit)t; 291 for (JCTree def : cu.defs) { 295 res.add(new Pair<>(cu, def));
|