- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getClassPathFor (0.34 sec)
-
platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy
} private List<File> getToolingApiClassPath() { originalClassPath(BuildAction) } private List<URL> classpathFor(Class<?> cl) { List<URI> classpath = [] factory.getClassPathFor(cl, classpath) return classpath.collect { it.toURL() } } /** * A classloader that produces classes with CodeSource objects containing the full resource URL,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java
private final Map<Class<?>, Collection<URI>> classPathCache; public ClasspathInferer() { this.classPathCache = new MapMaker().weakKeys().makeMap(); } public void getClassPathFor(Class<?> targetClass, Collection<URI> dest) { lock.lock(); try { Collection<URI> classPath = classPathCache.get(targetClass); if (classPath == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java
return id; } // An application ClassLoader: Inspect class to collect up the classpath for it classpathInferer.getClassPathFor(target, classPath); candidates.add(target.getClassLoader()); return CLIENT_CLASS_LOADER_ID; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 10K bytes - Viewed (0)