Searched refs:expected (Results 326 - 350 of 358) sorted by relevance

<<1112131415

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DXMLSerializer.java593 // the version of childAsXXX where it produces @xsi:type if the expected type name
609 * @param expected
616 public final void childAsXsiType( Object child, String fieldName, JaxBeanInfo expected, boolean nillable) throws SAXException, IOException, XMLStreamException { argument
627 boolean asExpected = child.getClass()==expected.jaxbType;
628 JaxBeanInfo actual = expected;
647 if(actual==expected)
655 expected.jaxbType.getName(),
938 * This method is used by {@link MimeTypedTransducer} to set the expected MIME type
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DConstantPool.java67 return "unexpected entry at #" + index + " -- expected tag " + expected_tag + ", found " + found_tag;
717 int expected = CONSTANT_Methodref;
723 expected = actual;
725 return (CPRefInfo) cp.get(reference_index, expected);
/openjdk7/jdk/test/java/lang/invoke/
H A DMethodHandlesTest.java139 Object expected = logEntry(name, args);
141 if (expected.equals(actual) && verbosity < 9) return;
143 System.out.println("expected: "+expected);
145 System.out.println("ex. types: "+getClasses(expected));
147 assertEquals("previous method call", expected, actual);
519 if (!positive) return; // negative test failed as expected
605 if (!positive) return; // negative test failed as expected
685 if (!positive) return; // negative test failed as expected
730 if (!positive) return; // negative test failed as expected
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCryptoPolicyParser.java145 throw new ParsingException(st.lineno(), "expected grant " +
171 ParsingException(st.lineno(), "expected permission entry");
398 throw new ParsingException("expected "+expect+", read end of file");
704 super("line "+line+": expected '"+expect+"', found '"+actual+"'");
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/
H A DDigestMD5Client.java659 byte[] expected = generateResponseValue("",
662 if (!Arrays.equals(expected, fromServer)) {
/openjdk7/jdk/test/java/nio/file/WatchService/
H A DBasic.java51 static void takeExpectedKey(WatchService watcher, WatchKey expected) { argument
57 // not expected
60 if (key != expected)
432 throw new RuntimeException("key not expected");
445 throw new RuntimeException("key not expected");
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djdphuff.c145 int expected = (coef_bit_ptr[coefi] < 0) ? 0 : coef_bit_ptr[coefi]; local
146 if (cinfo->Ah != expected)
/openjdk7/jdk/test/javax/rmi/ssl/
H A DSocketFactoryTest.java93 public static void testEquals(Object a, Object b, boolean expected) { argument
95 if (found != expected)
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DDigestAuthentication.java409 String expected = computeDigest(false, username,passwd,realm,
416 if (!rspauth.equals (expected)) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DPreprocessor.java204 int[] expected = {Token.StringLiteral, Token.LessThan};
205 throw ParseException.syntaxError (scanner, expected, token.type);
526 int[] expected = {Token.Literal, Token.LeftParen};
527 throw ParseException.syntaxError (scanner, expected, token.type);
/openjdk7/jdk/test/java/nio/file/Files/
H A DTemporaryFiles.java42 throw new RuntimeException("Not in expected directory");
61 // check file is in expected directory
98 // check directory is in expected directory
140 throw new RuntimeException("IllegalArgumentException expected");
141 } catch (IllegalArgumentException expected) { }
174 throw new RuntimeException("NullPointerException expected");
178 throw new RuntimeException("NullPointerException expected");
182 throw new RuntimeException("NullPointerException expected");
186 throw new RuntimeException("NullPointerException expected");
190 throw new RuntimeException("NullPointerException expected");
[all...]
/openjdk7/jdk/test/java/util/Arrays/
H A DSorting.java105 } catch (NullPointerException expected) {
124 } catch (NullPointerException expected) {
143 } catch (NullPointerException expected) {
162 } catch (NullPointerException expected) {
181 } catch (NullPointerException expected) {
200 } catch (NullPointerException expected) {
219 } catch (NullPointerException expected) {
1775 " as expected: fromIndex = " + (m + 1) +
1783 " as expected: fromIndex = " + (-m));
1790 " as expected
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java2832 private void failExpecting(String expected, int p) argument
2835 fail("Expected " + expected, p);
2838 private void failExpecting(String expected, String prior, int p) argument
2841 fail("Expected " + expected + " following " + prior, p);
3202 fail ("scope id expected");
3296 private int takeIPv4Address(int start, int n, String expected) argument
3301 failExpecting(expected, start);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DGenerateOopMap.java1535 void checkType (CellTypeState expected, CellTypeState actual) { argument
1536 if (!expected.equalKind(actual)) {
1538 actual.toChar() + " expected: " +
1539 expected.toChar() + ")");
1545 CellTypeState expected = in[i];
1547 checkType(expected, actual);
1680 // We actually expected ref or pc, but we only report that we expected a ref. It does not
1683 r_or_p.toChar() + ", expected: {pr})");
1814 CellTypeState expected
[all...]
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DWrapper.java371 private static ClassCastException newClassCastException(Class<?> actual, Class<?> expected) { argument
372 return new ClassCastException(actual + " is not compatible with " + expected);
469 T result = (T) x; // unchecked warning is expected here
488 T result = (T) wrap(x); // unchecked warning is expected here
510 Class<T> result = (Class<T>) type; // unchecked warning is expected here
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandleImpl.java894 private static boolean checkCallerClass(Class<?> expected, Class<?> expected2) { argument
898 if (actual != expected && actual != expected2)
899 throw new InternalError("found "+actual.getName()+", expected "+expected.getName()
900 +(expected == expected2 ? "" : ", or else "+expected2.getName()));
/openjdk7/jdk/make/tools/src/build/tools/dtdbuilder/
H A DDTDParser.java99 error("expected", "'" + new String(str) + "'");
295 error("expected", "identifier");
395 error("expected", "identifier");
412 error("expected", "entity value");
742 error("expected", "section status keyword");
774 error("expected", "public identifier");
794 error("expected", "identifier");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/
H A DArrayElementProperty.java141 // item is not of the expected type.
178 protected abstract void serializeItem(JaxBeanInfo expected, ItemT item, XMLSerializer w) throws SAXException, AccessorException, IOException, XMLStreamException; argument
/openjdk7/jdk/test/java/lang/StrictMath/
H A DCubeRootTests.java45 static int testCubeRootCase(double input, double expected) { argument
49 double minus_expected = -expected;
52 StrictMath.cbrt(input), expected);
/openjdk7/jdk/test/sun/nio/cs/
H A DTestISO2022JP.java537 * Tests the roundtrip integrity and expected encoding
603 byte[] expected = { (byte)0x1b, (byte)0x24, (byte)0x42,
607 for (int i = 0; i < expected.length; i++) {
608 if (encoded[i] != expected[i])
H A DTestMS5022X.java633 * Tests the roundtrip integrity and expected encoding
741 byte[] expected = { (byte)0x1b, (byte)0x24, (byte)0x42,
745 for (int i = 0; i < expected.length; i++) {
746 if (encoded[i] != expected[i])
/openjdk7/hotspot/src/share/vm/oops/
H A DgenerateOopMap.cpp1624 void GenerateOopMap::check_type(CellTypeState expected, CellTypeState actual) { argument
1625 if (!expected.equal_kind(actual)) {
1626 verify_error("wrong type on stack (found: %c expected: %c)", actual.to_char(), expected.to_char());
1632 CellTypeState expected =*in++; local
1634 check_type(expected, actual);
1801 CellTypeState expected = monitor_pop(); local
1802 if (!actual.is_lock_reference() || !expected.equal(actual)) {
1865 ? (bt == T_OBJECT) : true, "expected object type");
1880 // We actually expected re
[all...]
H A DgenerateOopMap.hpp391 void check_type (CellTypeState expected, CellTypeState actual);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DCheck.java2763 final Type expected; field in class:Check.ConversionWarner
2764 public ConversionWarner(DiagnosticPosition pos, String uncheckedKey, Type found, Type expected) { argument
2768 this.expected = expected;
2778 Check.this.warnUnchecked(pos(), "prob.found.req", diags.fragment(uncheckedKey), found, expected);
2794 public Warner castWarner(DiagnosticPosition pos, Type found, Type expected) { argument
2795 return new ConversionWarner(pos, "unchecked.cast.to.type", found, expected);
2798 public Warner convertWarner(DiagnosticPosition pos, Type found, Type expected) { argument
2799 return new ConversionWarner(pos, "unchecked.assign", found, expected);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaValidator.java1798 String expected = expectedStr(next);
1801 new Object[] { element.rawname, expected });
3215 String expected = expectedStr(fCurrentCM.whatCanGoHere(fCurrCMState));
3218 new Object[] { element.rawname, expected });
3295 private String expectedStr(Vector expected) { argument
3297 int size = expected.size();
3301 ret.append(expected.elementAt(i).toString());

Completed in 126 milliseconds

<<1112131415