Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for NoSuchFieldException (0.12 sec)

  1. android/guava/src/com/google/common/collect/Serialization.java

      static <T> FieldSetter<T> getFieldSetter(Class<T> clazz, String fieldName) {
        try {
          Field field = clazz.getDeclaredField(fieldName);
          return new FieldSetter<>(field);
        } catch (NoSuchFieldException e) {
          throw new AssertionError(e); // programmer error
        }
      }
    
      // Secret sauce for setting final fields; don't make it public.
      static final class FieldSetter<T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                | Error atomicReferenceFieldUpdaterFailure) {
              // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
              // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
              // For these users fallback to a suboptimal implementation, based on synchronized. This
              // will be a definite performance hit to those users.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        }
    
        /**
         * Test field types match expected types
         */
        @Test
        @DisplayName("Test field types are correct")
        public void testFieldTypes() throws NoSuchFieldException {
            // Verify field types
            assertEquals(byte.class, ServerData.class.getDeclaredField("sflags").getType());
            assertEquals(int.class, ServerData.class.getDeclaredField("sflags2").getType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top