Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getClassPathFor (0.26 sec)

  1. 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)
  2. 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)
Back to top