Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for instrument (0.23 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/JavaAgentFixture.groovy

            javaAgentProjectDir.file('build.gradle').text = buildScriptContent
        }
    
        String getJavaAgentClassContent() {
            return """
                import java.lang.instrument.Instrumentation;
    
                public class Agent {
                    public static void premain(String args, Instrumentation instrumentation){
                        ${agentAction}
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheInjectedClasspathInstrumentationStrategy.kt

        private val problems: ProblemsListener
    ) : AbstractInjectedClasspathInstrumentationStrategy() {
        override fun whenThirdPartyAgentPresent(): CachedClasspathTransformer.StandardTransform {
            // Report a problem and instrument anyway
            problems.onProblem(
                PropertyProblem(
                    PropertyTrace.Gradle,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/DefaultClassFileTransformer.java

     * limitations under the License.
     */
    
    package org.gradle.internal.instrumentation.agent;
    
    import org.gradle.internal.classloader.InstrumentingClassLoader;
    
    import javax.annotation.Nullable;
    import java.lang.instrument.ClassFileTransformer;
    import java.security.ProtectionDomain;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    class DefaultClassFileTransformer implements ClassFileTransformer {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage
    import org.gradle.test.fixtures.file.TestFile
    import spock.lang.Shared
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for triple-argument String and String collection {@code execute} extension:
     * <pre>
     *     "echo 123".execute(env, cwd)
     *     ["echo", "123"].execute(env, cwd)
     * </pre>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java

     */
    
    package org.gradle.internal.instrumentation.agent;
    
    import org.gradle.internal.UncheckedException;
    import org.slf4j.LoggerFactory;
    
    import javax.annotation.Nullable;
    import java.lang.instrument.ClassFileTransformer;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for triple-argument {@code ProcessGroovyMethods.execute}:
     * <pre>
     *     ProcessGroovyMethod.execute("echo 123", env, cwd)
     *     ProcessGroovyMethod.execute(["echo", "123"]", env, cwd)
     * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage
    import org.gradle.test.fixtures.file.TestFile
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for single-argument {@code ProcessGroovyMethods.execute} with static import (Groovy produces a special byte code in this case):
     * <pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    class ProcessInstrumentationInKotlinIntegrationTest extends AbstractProcessInstrumentationIntegrationTest {
        def "#title is intercepted in kotlin build script"(VarInitializer varInitializer) {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top