- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for getClassLoader (0.08 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
// Load both resources try (InputStream is1 = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")) { assertNotNull("Mappings resource should exist", is1); mappings = new String(is1.readAllBytes(), StandardCharsets.UTF_8); } try (InputStream is2 = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest.json")) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
assertEquals("BAR", bar.getName()); assertFalse(bar.isAnnotationPresent(ExampleAnnotation.class)); } @J2ktIncompatible private URL[] getClassPathUrls() { ClassLoader classLoader = getClass().getClassLoader(); return classLoader instanceof URLClassLoader ? ((URLClassLoader) classLoader).getURLs() : parseJavaClassPath().toArray(new URL[0]); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
} // Make the proxy serializable to work with SerializableTester interfaceClasses.add(Serializable.class); Object dummy = Proxy.newProxyInstance( interfaceClasses.iterator().next().getClassLoader(), interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]), new DummyHandler(interfaceType)); @SuppressWarnings("unchecked") // interfaceType is T T result = (T) dummy;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
ClassLoader parentClassLoader = Thread.currentThread().getContextClassLoader(); if (parentClassLoader == null) { parentClassLoader = GroovyEngine.class.getClassLoader(); } classLoader = new GroovyClassLoader(parentClassLoader); final GroovyShell groovyShell = new GroovyShell(classLoader, new Binding(bindingMap));
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
} private String getDefaultMappings() throws IOException { try (final InputStream is = this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")) { if (is == null) { throw new IOException("Resource not found: suggest_indices/suggest/mappings-default.json"); }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
evaluator = mock(ExpressionEvaluator.class); listener = mock(ConfigurationListener.class); helper = new EnhancedCompositeBeanHelper(converterLookup, getClass().getClassLoader(), evaluator, listener); } @AfterEach void tearDown() { EnhancedCompositeBeanHelper.clearCaches(); } @Test void testSetPropertyWithSetter() throws Exception {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 8.7K bytes - Viewed (0)