Searched refs:found (Results 1 - 25 of 248) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/sun/misc/
H A DRegexpTarget.java37 * value from found() back to its caller.
40 Object found(String remainder); method in interface:RegexpTarget
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DSyntaxException.java46 public SyntaxException(int lineno, String expected, String found) { argument
49 + ", Found " + found;
52 public SyntaxException(int lineno, String expected, Token found) { argument
55 + ", Found " + found.toMessage();
58 public SyntaxException(int lineno, Token expected, Token found) { argument
61 + ", Found " + found.toMessage();
64 public SyntaxException(int lineno, Set expected, Token found) { argument
80 msg.append("\', Found " + found.toMessage());
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/
H A DBootClassPathMinus.java37 boolean found = false;
40 found = true;
43 if (!found) {
/openjdk7/langtools/test/tools/javac/processing/model/util/
H A DBinaryName.java54 CharSequence found = elements.getBinaryName(t);
55 if (expected.contentEquals(found)) {
56 System.out.println(expected + " == " + found);
59 System.out.println(expected + " != " + found + " [FAIL]");
/openjdk7/langtools/test/tools/javac/
H A DT6351767.java62 boolean found = false;
67 System.err.println("found " + jfo.toUri());
69 found = true;
71 if (!found)
72 error("expected file, java/lang/Object.class, not found");
74 found = false;
80 System.err.println("found " + jfo.toUri());
82 found = true;
84 if (!found)
85 error("expected file, java/lang/Object.class, not found");
[all...]
/openjdk7/langtools/test/tools/javac/processing/model/element/
H A DTestTypeParameter.java44 int found = (new Scanner()).scan(roundEnv.getRootElements(), null);
45 if (found == expect) {
46 note("generic elements found and verified: " + found);
49 + ", found " + found);
60 found += check(e, e.getTypeParameters());
61 return found;
67 found += check(e, e.getTypeParameters());
68 return found;
71 int found; field in class:TestTypeParameter.Scanner
[all...]
/openjdk7/langtools/test/tools/javac/tree/
H A DJavacTreeScannerTest.java81 * The set of nodes found by the scanner are compared
82 * against the set of nodes found by reflection.
88 found = new HashSet<JCTree>();
93 if (found.equals(expect)) {
95 return found.size();
98 error(sourcefile, "differences found");
100 if (found.size() != expect.size())
101 error("Size mismatch; found: " + found.size() + ", expected: " + expect.size());
105 missing.removeAll(found);
153 Set<JCTree> found; field in class:JavacTreeScannerTest.ScanTester
[all...]
H A DSourceTreeScannerTest.java83 * The set of nodes found by the scanner are compared
84 * against the set of nodes found by reflection.
90 found = new HashSet<Tree>();
95 if (found.equals(expect)) {
97 return found.size();
100 error(sourcefile.getName() + ": differences found");
102 if (found.size() != expect.size())
103 error("Size mismatch; found: " + found.size() + ", expected: " + expect.size());
107 missing.removeAll(found);
166 Set<Tree> found; field in class:SourceTreeScannerTest.ScanTester
[all...]
/openjdk7/jdk/test/java/util/TimeZone/
H A DDaylightTimeTest.java46 boolean found = findDSTTransition(tz, now);
47 if (observes != found) {
55 found = findDSTTransition(tz, now);
56 if (observes != found) {
58 tz.getID(), found, now);
/openjdk7/jdk/test/java/nio/file/DirectoryStream/
H A DDriveLetter.java54 boolean found = false;
59 found = true;
64 if (!found)
65 throw new RuntimeException("Temporary file not found???");
/openjdk7/langtools/test/tools/javac/api/
H A DT6395981.java48 Set<SourceVersion> found = compiler.getSourceVersions();
49 Set<SourceVersion> notExpected = EnumSet.copyOf(found);
51 if (!found.contains(version))
52 throw new AssertionError("Expected source version not found: " + version);
/openjdk7/langtools/test/tools/javac/generics/
H A DT6869075.java61 static void equals(String found, String req) { argument
62 if (!found.equals(req)) {
64 " - found: " + found + ")");
/openjdk7/langtools/test/tools/javadoc/enum/docComments/
H A DMain.java72 private static boolean checkComment(String found, String expected) { argument
74 System.out.println("found: \"" + found + "\"");
75 return expected.equals(found);
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/
H A DTest6860438.java51 boolean found = false;
56 found = true;
59 check(found == present, "MultiUIDefaults.entrySet()");
64 boolean found = false;
67 found = true;
70 check(found == present, error);
/openjdk7/jdk/test/java/io/Writer/
H A DAppend.java60 throw new RuntimeException("No append method found");
66 boolean found = false;
69 found = true;
74 if (found && !io)
76 if (!found && io)
/openjdk7/langtools/test/tools/javac/api/6431435/
H A DT6431435.java57 int found = 0;
59 found++;
60 //System.err.println(name + " " + found + " " + o);
62 if (found == expect)
64 System.err.println(name + ": found " + found + " -- expected " + expect);
/openjdk7/langtools/test/tools/javac/policy/test1/
H A DTest1b.java114 found(m.group(1), name);
132 int found = (names == null ? 0 : names.size());
133 if (found == 0 || found == expect) {
134 System.err.println("Found " + found + " files for " + prefix + ": OK");
137 error("Found " + found + " files for " + prefix + ": expected 0 or " + expect + " " + names);
140 void found(String prefix, String name) { method in class:Test1b
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DComment.java204 ListBuffer<Tag> found = new ListBuffer<Tag>();
211 found.append(tag);
214 return found.toArray(new Tag[found.length()]);
221 ListBuffer<ThrowsTag> found = new ListBuffer<ThrowsTag>();
224 found.append((ThrowsTag)next);
227 return found.toArray(new ThrowsTag[found.length()]);
250 ListBuffer<ParamTag> found = new ListBuffer<ParamTag>();
255 found
[all...]
/openjdk7/jdk/test/java/rmi/activation/CommandEnvironment/
H A DSetChildEnv.java151 String found = watcher.found;
152 if (found == null) {
154 while (found == null && --fudge > 0) {
156 found = watcher.found;
158 if (found == null) {
164 System.err.println("debugExec found: <<" + found + ">>");
166 int q = found
212 public String found; field in class:SetChildEnv.DebugExecWatcher
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DImplementedMethods.java82 * Search for the method in the array of interfaces. If found check if it is
92 MethodDoc found = Util.findMethod(interfaceType.asClassDoc(), method);
93 if (found != null) {
94 removeOverriddenMethod(found);
95 if (!overridingMethodFound(found)) {
96 methlist.add(found);
97 interfaces.put(found, interfaceType);
105 * is overridden by the method as parameter. If found, remove the
124 * Search in the already found methods' list and check if it contains
/openjdk7/langtools/test/tools/javac/literals/
H A DBinaryLiterals.java110 throw new Exception(errors + " errors found");
113 void test(int expect, int found) { argument
115 if (found != expect)
116 error("test " + count + "\nexpected: 0x" + Integer.toHexString(expect) + "\n found: 0x" + Integer.toHexString(found));
119 void test(long expect, long found) { argument
121 if (found != expect)
122 error("test " + count + "\nexpected: 0x" + Long.toHexString(expect) + "\n found: 0x" + Long.toHexString(found));
/openjdk7/jdk/test/com/sun/jdi/
H A DClassesByName.java35 * loaded class list can be found with classesByName..
66 List found = vm().classesByName(name);
67 if (found.contains(cls)) {
/openjdk7/langtools/test/tools/javac/6917288/
H A DGraphicalInstallerTest.java83 Set<String> found = new TreeSet<String>(Arrays.asList(dir.list()));
85 if (found.equals(expect))
87 for (String f: found) {
89 error("Unexpected file found: " + f);
92 if (!found.contains(e))
93 error("Expected file not found: " + e);
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassDeclaration.java49 * CS_NOTFOUND - no class definition could be found
117 private boolean found = false; field in class:ClassDeclaration
133 if (found) {
155 found = true;
160 found = true;
/openjdk7/langtools/test/tools/javap/classfile/
H A DT6887895.java42 Set<String> found = new TreeSet<String>();
50 System.out.println("found: " + name + " " + baseName);
52 found.add(baseName);
64 if (!found.equals(expect)) {
65 System.err.println("found: " + found);
67 throw new Exception("unexpected values found");

Completed in 72 milliseconds

12345678910