- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 129 for forName (0.11 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} private fun loomThreadFactory(): ThreadFactory { val ofVirtual = Thread::class.java.getMethod("ofVirtual").invoke(null) return Class.forName("java.lang.Thread\$Builder") .getMethod("factory") .invoke(ofVirtual) as ThreadFactory } private fun isLoom(): Boolean { return getPlatformSystemProperty() == LOOM_PROPERTY }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
static Method newStringUnsafeMethod = null; static { try { final Class<?> sharedSecretsClass = Class.forName("sun.misc.SharedSecrets"); javaLangAccess = sharedSecretsClass.getDeclaredMethod("getJavaLangAccess").invoke(null); final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess"); newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null); @SuppressWarnings("unchecked") Class<WillBeUnloadedException> shadowClass = (Class<WillBeUnloadedException>) Class.forName(WillBeUnloadedException.class.getName(), false, shadowLoader); assertNotSame(shadowClass, WillBeUnloadedException.class); getChecked(immediateFuture("foo"), shadowClass); return new WeakReference<>(shadowLoader);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} catch (final LinkageError e) { // drop through... } } try { // last chance - classic model return Class.forName(name); } catch (final Exception e) { throw new TypeNotPresentException(name, e); } catch (final LinkageError e) { throw new TypeNotPresentException(name, e); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} } protected boolean isSupportedCharset(final String charsetName) { if (charsetName == null) { return false; } try { Charset.forName(charsetName); } catch (final Exception e) { return false; } return true; } protected String loadCharset(final InputStream inputStream) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* this class loader, but at least the world doesn't end. */ static class DirectLoader implements FinalizerLoader { @Override public Class<?> loadFinalizer() { try { return Class.forName(FINALIZER_CLASS_NAME); } catch (ClassNotFoundException e) { throw new AssertionError(e); } } } /** Looks up Finalizer.startFinalizer(). */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 11 20:51:36 UTC 2024 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
* </p> * * @return ログアダプタのファクトリ */ protected static LoggerAdapterFactory getLoggerAdapterFactory() { // TODO try { Class.forName("org.apache.commons.logging.LogFactory"); return new JclLoggerAdapterFactory(); } catch (final Throwable ignore) { return new JulLoggerAdapterFactory(); } } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} }; public abstract boolean isExpectedType(Throwable cause); } private static boolean annotatedTypeExists() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException e) { return false; } return true; } private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
} } } private static final boolean ANNOTATED_TYPE_EXISTS = initAnnotatedTypeExists(); private static boolean initAnnotatedTypeExists() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException e) { return false; } return true; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
private static final Logger logger = LoggerFactory.getLogger(AbstractCrawlerService.class); private static final String ID_SEPARATOR = "."; private static final Charset UTF_8 = Charset.forName("UTF-8"); protected static final String ID = "id"; protected static final String SESSION_ID = "sessionId"; protected static final String URL = "url";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0)