Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for faultyClassLoader (0.32 sec)

  1. platforms/core-runtime/daemon-protocol/src/testFixtures/groovy/org/gradle/tooling/internal/provider/AbstractClassGraphSpec.groovy

            return new TestClassLoader(parent, classpath)
        }
    
        /**
         * Returns an URLClassloader containing URLs with un-encoded whitespaces.
         */
        ClassLoader faultyClassLoader(ClassLoader parent = ClassLoader.systemClassLoader.parent, List<File> classpath) {
            return new URLClassLoader(classpath.collect { it.toURL() } as URL[], parent)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

            action.execute(null)
        }
    
        @Issue("https://github.com/gradle/gradle/issues/1180")
        def "determines action and tooling API classpath when classpath entries contain spaces"() {
            def cl = faultyClassLoader(toolingApiClassPath + isolatedClasses(CustomAction, CustomModel))
            def actionClass = cl.loadClass(CustomAction.name)
    
            expect:
            def classpath = classpathFor(actionClass)
    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