groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix previous commit.

    • -3
    • +2
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -16
    • +11
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -6
    • +4
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 4 more files in changeset.
Record the ClassLoader associated with each class that is serialized to the instant execution cache, and use this to make class lookup on deserialize faster and to deal correctly with multiple classes with the same name.

Move some ClassLoader lifecycling from Groovy DSL script compilation to `ClassLoaderScope`, so that the scope takes care of creating and caching the script ClassLoader.

    • -3
    • +2
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -16
    • +11
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -6
    • +4
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 27 more files in changeset.
Record the ClassLoader associated with each class that is serialized to the instant execution cache, and use this to make class lookup on deserialize faster and to deal correctly with multiple classes with the same name.

Move some ClassLoader lifecycling from Groovy DSL script compilation to `ClassLoaderScope`, so that the scope takes care of creating and caching the script ClassLoader.

    • -3
    • +2
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -16
    • +11
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -6
    • +4
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 27 more files in changeset.
Refactor HTTP deprecation logic to use HttpRedirectVerifier

    • -3
    • +3
    ./scripts/TextResourceScriptSourceTest.java
  1. … 60 more files in changeset.
Polish test

    • -23
    • +23
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
Polish test

    • -23
    • +23
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
Use Deleter when removing the output for Groovy script compilation

    • -6
    • +11
    ./scripts/internal/BuildScriptTransformerSpec.groovy
    • -1
    • +6
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
  1. … 2 more files in changeset.
Use Deleter when removing the output for Groovy script compilation

    • -6
    • +11
    ./scripts/internal/BuildScriptTransformerSpec.groovy
    • -1
    • +6
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
  1. … 2 more files in changeset.
Revert "Reinstate "Let instant execution reuse classloaders when loading""

    • -7
    • +2
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -14
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -8
    • +4
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 33 more files in changeset.
Revert "Revert "Let instant execution reuse classloaders when loading""

    • -2
    • +7
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -10
    • +14
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +8
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 33 more files in changeset.
Revert "Let instant execution reuse classloaders when loading"

    • -7
    • +2
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -14
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -8
    • +4
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 33 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -2
    • +2
    ./scripts/TextResourceScriptSourceTest.java
  1. … 90 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +4
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -10
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +4
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -10
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +4
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -10
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +4
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -10
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +4
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -10
    • +10
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -2
    • +2
    ./scripts/TextResourceScriptSourceTest.java
  1. … 90 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Artificially create a class loader scope for Groovy script classes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +6
    ./scripts/DefaultScriptCompilerFactoryTest.groovy
    • -8
    • +12
    ./scripts/internal/DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 11 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

    • -2
    • +2
    ./scripts/TextResourceScriptSourceTest.java
  1. … 90 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -1
    • +1
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 34 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -1
    • +1
    ./scripts/internal/FileCacheBackedScriptClassCompilerTest.groovy
  1. … 34 more files in changeset.