Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setDefaultUseCaches (0.25 sec)

  1. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy

            URL url = new URL("jar:file://valid_jar_url_syntax.jar!/")
            URLConnection urlConnection = url.openConnection()
            def original = urlConnection.getDefaultUseCaches()
            urlConnection.setDefaultUseCaches(false)
    
            try {
                URL[] urls = [new URL("jar:${jar.toURI().toURL()}!/")] as URL[]
                URLClassLoader ucl = new URLClassLoader(urls)
                if (ucl instanceof Closeable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/BuildActionCrossVersionSpec.groovy

                // sun.net.www.protocol.jar.JarURLConnection leaves the JarFile instance open if URLConnection caching is enabled.
                new URL("jar:file://valid_jar_url_syntax.jar!/").openConnection().setDefaultUseCaches(false)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java

            try {
                URL url = new URL("jar:file://valid_jar_url_syntax.jar!/");
                URLConnection urlConnection = url.openConnection();
                urlConnection.setDefaultUseCaches(false);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        static Package[] getPackages(ClassLoader classLoader) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top