- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 31 for NoSuchFieldException (0.24 seconds)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
Field field = DBFluteSystem.class.getDeclaredField("finalTimeZoneProvider"); field.setAccessible(true); return (DfFinalTimeZoneProvider) field.get(null); } catch (NoSuchFieldException e) { // Field might not exist in this version, return null return null; } catch (IllegalAccessException e) { // Cannot access field due to security restrictions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
} catch (Throwable reflectionFailure) { // sneaky checked exception // 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.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
@GwtCompatible @ReflectionSupport(value = ReflectionSupport.Level.FULL) // 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. // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
} private Field findField(Class<?> clazz, String fieldName) { while (clazz != null) { try { return clazz.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } return null; } private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
} } private Field getFieldIfExists(String fieldName) { try { return FessHtmlPath.class.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { return null; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
while (currentClass != null && errorCodeField == null) { try { errorCodeField = currentClass.getDeclaredField("errorCode"); } catch (NoSuchFieldException e) { currentClass = currentClass.getSuperclass(); } } if (errorCodeField != null) { errorCodeField.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
assertArgumentNotNull("clazz", clazz); assertArgumentNotEmpty("name", name); try { return clazz.getField(name); } catch (final NoSuchFieldException e) { throw new NoSuchFieldRuntimeException(clazz, name, e); } } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
android/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.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
val field = c.getDeclaredField(fieldName) field.isAccessible = true val value = field.get(instance) return if (!fieldType.isInstance(value)) null else fieldType.cast(value) } catch (_: NoSuchFieldException) { } c = c.superclass } // Didn't find the field we wanted. As a last gasp attempt, // try to find the value on a delegate. if (fieldName != "delegate") {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
private java.lang.reflect.Field findField(Class<?> clazz, String fieldName) { while (clazz != null) { try { return clazz.getDeclaredField(fieldName); } catch (final NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } throw new RuntimeException("Field not found: " + fieldName); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0)