Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for urlConnection (0.11 sec)

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

            // This is to prevent the jar file being held open
            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[]
    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/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java

                // To determine the dependencies of the class, load up the byte code and look for CONSTANT_Class entries in the constant pool
    
                ClassReader reader;
                URLConnection urlConnection = resource.openConnection();
                if (urlConnection instanceof JarURLConnection) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/gradle-cli-main/src/main/java/org/gradle/internal/jvm/GradleVersionNumberLoader.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.jvm;
    
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.Properties;
    
    import static java.lang.String.format;
    
    public class GradleVersionNumberLoader {
    
        private static final String RESOURCE_NAME = "org/gradle/build-receipt.properties";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top