Home
last modified time | relevance | path

Searched refs:testMode (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesGeneralTest.java609 public void testGetter(int testMode) throws Throwable { in testGetter() argument
613 testGetter(positive, lookup, c[0], c[1], testMode); in testGetter()
615 testGetter(positive, lookup, c[0], c[1], testMode | TEST_NPE); in testGetter()
619 System.out, testMode); in testGetter()
623 null, testMode); in testGetter()
628 Object fieldRef, Object value, int testMode) throws Throwable { in testGetter() argument
629 testAccessor(positive, lookup, fieldRef, value, testMode); in testGetter()
639 int testMode = testMode0 & ~(TEST_SETTER | TEST_BOUND | TEST_NPE); in testAccessor() local
663 if (!testModeMatches(testMode, isStatic)) return; in testAccessor()
664 if (f == null && testMode == TEST_UNREFLECT) return; in testAccessor()
[all …]
DMethodHandlesTest.java618 static boolean testModeMatches(int testMode, boolean isStatic) {
619 switch (testMode) {
624 throw new InternalError("testMode="+testMode);