Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tryInstall (0.23 sec)

  1. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

                    return true
                }
    
                @Override
                boolean hasConfiguredToolchainRepositories() {
                    return true
                }
    
                File tryInstall(JavaToolchainSpec spec) {
                    installed = true
                    new File("/path/12")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentInitializer.java

         */
        public void maybeConfigureInstrumentationAgent() {
            if (agentStatus.isAgentInstrumentationEnabled()) {
                DefaultClassFileTransformer.tryInstall();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/DefaultClassFileTransformer.java

                // This is not something we want, so we notify the class loader about this.
                instrumentingLoader.transformFailed(className, th);
                return null;
            }
        }
    
        public static boolean tryInstall() {
            // Installing the same transformer multiple times is very problematic, so additional correctness check is worth it.
            if (!INSTALLED.compareAndSet(false, true)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top