Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add new hasher tests for `Hashing#hash` consistency

Add new hasher tests for `Hashing#hash` consistency

Report subsecond build duration in ms

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

  1. … 1 more file in changeset.
Remove Either

    • -81
    • +0
    ./org/gradle/internal/EitherTest.groovy
  1. … 1 more file in changeset.
Fix classcycle

    • -0
    • +41
    ./org/gradle/api/file/internal/FilePathUtilTest.groovy
    • -41
    • +0
    ./org/gradle/internal/file/FilePathUtilTest.groovy
  1. … 6 more files in changeset.
Make CodeNarc happy

    • -7
    • +7
    ./org/gradle/internal/EitherTest.groovy
Add Either data type

    • -0
    • +81
    ./org/gradle/internal/EitherTest.groovy
  1. … 2 more files in changeset.
Add Either data type

    • -0
    • +81
    ./org/gradle/internal/EitherTest.groovy
  1. … 2 more files in changeset.
Add Either data type

    • -0
    • +81
    ./org/gradle/internal/EitherTest.groovy
  1. … 2 more files in changeset.
Fix a bunch of tests and do some cleanup

    • -0
    • +47
    ./org/gradle/util/internal/ReachableTypesTest.groovy
    • -0
    • +79
    ./org/gradle/util/internal/ReachableTypesTestHelper.java
  1. … 34 more files in changeset.
Detangle caching and look-up in TypeInspector

    • -0
    • +44
    ./org/gradle/internal/reflect/DefaultTypeInspectorTest.groovy
  1. … 5 more files in changeset.
Move TypeInspector to base-services

    • -0
    • +44
    ./org/gradle/internal/reflect/TypeInspectorTest.groovy
  1. … 6 more files in changeset.
Error when SetSystemProperties rule is used with tmpdir

    • -0
    • +56
    ./org/gradle/util/SetSystemPropertiesTest.groovy
  1. … 1 more file in changeset.
Error when SetSystemProperties rule is used with tmpdir

  1. … 1 more file in changeset.
Remove synchronization around all system property getters

  1. … 5 more files in changeset.
Cleanup for #8650 (#8663)

* Improve test for hasTypeVariable

* Move resolving type variables to model core

* Add more test coverage for resolving type variables

  1. … 5 more files in changeset.
Move resolving type variables to model core

  1. … 5 more files in changeset.
Revert "Move resolving to JavaReflectionUtil"

Using `TypeToken` in `JavaReflectionUtils` increases the size of the

toolingApi jar - let's not do this for now.

This reverts commit 45be1364fae34cf72fc0f3370dffddcf0254768e.

  1. … 2 more files in changeset.
Move resolving to JavaReflectionUtil

  1. … 2 more files in changeset.
Improve test for hasTypeVariable

Fix performance regression introduced by using TypeToken to resolve type variables (#8650)

Only use type token to resolve type variables if there are type variables to resolve.

    • -0
    • +35
    ./org/gradle/internal/reflect/JavaReflectionUtilTestMethods.java
  1. … 2 more files in changeset.
Change `DefaultServiceRegistry.getAll()` so that it does not return services from parents that have been decorated or overridden by the current registry.

Also change the interaction between parent and child registry so as to avoid assuming a particular parent implementation.

  1. … 13 more files in changeset.
Change `DefaultServiceRegistry.getAll()` so that it does not return services from parents that have been decorated or overridden by the current registry.

Also change the interaction between parent and child registry so as to avoid assuming a particular parent implementation.

  1. … 13 more files in changeset.
Fix equals/hashcode of mutable classloaders

When a parent was added to a MultiParentClassLoader, its hashcode

would change, meaning that it could no longer be found in any Sets

or Maps we put it in. This lead to severe memory leaks when used in

conjunction with configure-on-demand, where adding parents late is common.

These classloaders now use an identity hashcode and equals implementation.

  1. … 1 more file in changeset.
Change implementation of `getScriptName` to append only on Windows

  1. … 1 more file in changeset.
Change implementation of `getSharedLibraryName` and `getLinkLibraryName` to append only on macOS

    • -6
    • +19
    ./org/gradle/internal/os/OperatingSystemTest.groovy
Change implementation of `getStaticLibraryName` to append only on UNIX

Change implementation of `getSharedLibraryName` and `getLinkLibraryName` to append only on UNIX

    • -6
    • +19
    ./org/gradle/internal/os/OperatingSystemTest.groovy
  1. … 1 more file in changeset.
Add more coverage for `getExecutableName` on UNIX operating system

Add more coverage for `getScriptName` for UNIX operating system