- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for getClassLoader (0.08 sec)
-
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
*/ @Test public void testGetClassLoader() throws Exception { assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader()))); assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader()))); final ClassLoader context = Thread.currentThread().getContextClassLoader(); try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
*/ private static final ClassLoader NO_VAR_HANDLE = getClassLoader(ImmutableSet.of("java.lang.invoke.VarHandle")); /** * This classloader disallows {@link java.lang.invoke.VarHandle} and {@link sun.misc.Unsafe}, * which will prevent us from selecting the {@code UnsafeAtomicHelper} strategy. */ private static final ClassLoader NO_UNSAFE = getClassLoader(ImmutableSet.of("java.lang.invoke.VarHandle", "sun.misc.Unsafe"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
*/ private static final ClassLoader NO_VAR_HANDLE = getClassLoader(ImmutableSet.of("java.lang.invoke.VarHandle")); /** * This classloader disallows {@link java.lang.invoke.VarHandle} and {@link sun.misc.Unsafe}, * which will prevent us from selecting the {@code UnsafeAtomicHelper} strategy. */ private static final ClassLoader NO_UNSAFE = getClassLoader(ImmutableSet.of("java.lang.invoke.VarHandle", "sun.misc.Unsafe"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
.addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader())) .addEqualityGroup( new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()), new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader())) .addEqualityGroup(new ResourceInfo(FILE, "x.txt", getClass().getClassLoader())) .testEquals(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
*/ public static ClassLoader getClassLoader(final Class<?> targetClass) { assertArgumentNotNull("targetClass", targetClass); final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); if (contextClassLoader != null) { return contextClassLoader; } final ClassLoader targetClassLoader = targetClass.getClassLoader();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
} private static ClassLoader getClassLoader(Set<String> blocklist) { String concurrentPackage = SettableFuture.class.getPackage().getName(); ClassLoader classLoader = AggregateFutureStateFallbackAtomicHelperTest.class.getClassLoader(); // we delegate to the current classloader so both loaders agree on classes like TestCase
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
throw new ClIllegalArgumentException("field", "ECL0094", asArray(clazz.getName(), clazz.getClassLoader(), fieldClass.getName(), fieldClass.getClassLoader(), field.getName(), valueClass == null ? null : valueClass.getName(), valueClass == null ? null : valueClass.getClassLoader(), value, targetClass == null ? null : targetClass.getName(),
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
} return urls.build().toArray(new URL[0]); } /** Returns the URLs in the class path. */ static URL[] getClassPathUrls() { return ClassPathUtil.class.getClassLoader() instanceof URLClassLoader ? ((URLClassLoader) ClassPathUtil.class.getClassLoader()).getURLs() : parseJavaClassPath(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
throw e; } catch (final Exception e) { return null; } finally { final GroovyClassLoader loader = groovyShell.getClassLoader(); loader.clearCache(); } } @Override protected String getName() { return Constants.DEFAULT_SCRIPT; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.1K bytes - Viewed (1)