Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce order-sensitive task file inputs

Some task file input properties (such as Java classpaths) need to be treated in an order-sensitive fashion. If the same files are present, but in different order, the corresponding task should be out-of-date.

Fixes GRADLE-3508

+review REVIEW-6114

  1. … 27 more files in changeset.
Expose less about filtering classloaders

There's no need for the caller to know the specific type of classloader

being created.

+review REVIEW-6020

  1. … 4 more files in changeset.
Make `FilteringClassLoader` immutable

`SystemClassLoaderSpec` is moved to its own class so that it can be

included in `gradle-worker.jar`.

+review REVIEW-6020

  1. … 20 more files in changeset.
Revert "Make `FilteringClassLoader` immutable"

This reverts commit 18ee27f8561df18b19761ebd65f209eed88c19f5.

  1. … 15 more files in changeset.
Make `FilteringClassLoader` immutable

+review REVIEW-6020

  1. … 15 more files in changeset.
Remove unused `MutableURLClassLoader.addURL()` method

This effectively makes `MutableURLClassLoader` not publicly mutable,

thus the rename to `VisitableURLClassLoader`.

+review REVIEW-6020

  1. … 21 more files in changeset.
Annotate more task properties

Part of this is fixing missing annotations. Part is applying the new

`@Console` and `@Internal` annotations where appropriate.

+review REVIEW-5932

  1. … 80 more files in changeset.
Revert "Annotate more task properties"

This reverts commit 4b32689375b46bb01ace46d5255118683c7c13ed.

  1. … 68 more files in changeset.
Annotate more task properties

Part of this is fixing missing annotations. Part is applying the new

`@Console` and `@Internal` annotations where appropriate.

+review REVIEW-5932

  1. … 68 more files in changeset.
Removed assumption about how class decoration is implemented.

  1. … 1 more file in changeset.
Disable deprecation warning when calculating Scala compile options.

Changed compiler daemon implementation to be backed by a multi-request worker.

    • -0
    • +24
    ./internal/tasks/compile/daemon/CompilerDaemonProtocol.java
    • -0
    • +22
    ./internal/tasks/compile/daemon/CompilerDaemonWorker.java
Moved worker process classes into their own package.

  1. … 90 more files in changeset.
Changed the API for creating worker processes, so that the worker action must always be supplied.

Also introduced a couple of interfaces to present the API.

  1. … 31 more files in changeset.
Removed the now unused 'app-in-isolated-classloader' worker process ClassLoader strategy.

This strategy is more flexible in terms of process reuse than the 'app-in-system-classloader', but it's flexibility we're not using at this stage.

  1. … 10 more files in changeset.
Add @Override where missing in production software model sources

Prior to this change, the affected submodules had 2044 occurrences of

the @Override annotation. With this commit, there are now 3492

occurrences. This suggests some divergence in IDE settings, either

across developers, across time, or both. At the moment, it appears that

IDEA (15 CE) is configured correctly to add @Override automatically.

This same refactoring should probably be done globally acrosse the

Gradle codebase, but has been constrained here to software model-related

submodules (a) because it is what the author is responsible for and (b)

because significant refactoring of type hierarchies is underway there

right now--the kind of work most likely to benefit from the compiler

checks that proper use of @Override affords.

Should this same refactoring be applied globally, it would be worth

looking into enforcing consistent use of @Override via checkstyle or

similar at the same time.

    • -0
    • +1
    ./internal/tasks/compile/daemon/CompileResult.java
  1. … 412 more files in changeset.
Moved `ArgWriter` to baseServices project, so that it can be used from more places.

+review REVIEW-5806

  1. … 9 more files in changeset.
Revert "Disable java.net.URL cache for Compiler Daemons"

This reverts commit fe65dc18b4fab82d01bd98792302c97bc6284559.

+review REVIEW-5748

Disable java.net.URL cache for Compiler Daemons

- disabled only in continuous build

- fixes GRADLE-3370

+review REVIEW-5748

Apply Groovy memory leak prevention to in-process Groovy compilation.

[JDK9] Uses application in system classloader

fix leftcurly and rightcurly checkstyle issues when using latest checkstyle version

  1. … 15 more files in changeset.
Allow Logger and LogLevel through in logging class loader of InProcessCompilerDaemonFactory to fix some casting errors.

+review REVIEW-5417

Added a caching ClassLoader in ClassLoader graph.

  1. … 1 more file in changeset.
Revert "Checkstyle"

This reverts commit cc94e43aeb583a956fd51ea7c91c6f5ee1744e50.

  1. … 16 more files in changeset.
Checkstyle

  1. … 16 more files in changeset.
Reuse slf4j classes loaded by the compiler's classloader in the compilation worker class loader when compiling in process

+review REVIEW-5417

  1. … 1 more file in changeset.
Require NativeServices to be initialized prior to use

+review REVIEW-5378

  1. … 40 more files in changeset.
Making PropertyAccessor generic

+review REVIEW-5337

  1. … 5 more files in changeset.
Jvm target: re-add setters for source/target compatibility