- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for UnknownImplementationSnapshot (0.29 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/UnknownImplementationSnapshot.java
if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } UnknownImplementationSnapshot that = (UnknownImplementationSnapshot) o; return classIdentifier.equals(that.classIdentifier) && unknownReason.equals(that.unknownReason); } @Override public HashCode getClassLoaderHash() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java
protected ImplementationSnapshot readAdditionalData(String classIdentifier, Decoder decoder) throws Exception { UnknownImplementationSnapshot.UnknownReason unknownReason = UnknownImplementationSnapshot.UnknownReason.values()[decoder.readSmallInt()]; return new UnknownImplementationSnapshot(classIdentifier, unknownReason); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ValidateStep.java
if (implementation instanceof UnknownImplementationSnapshot) { UnknownImplementationSnapshot unknownImplSnapshot = (UnknownImplementationSnapshot) implementation; workValidationContext.visitPropertyProblem(problem -> problem .forProperty(propertyName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshot.java
if (classLoaderHash == null) { return new UnknownImplementationSnapshot(classIdentifier, UnknownReason.UNKNOWN_CLASSLOADER); } if (isLambda) { return serializedLambdaFor(value) .<ImplementationSnapshot>map(it -> new LambdaImplementationSnapshot(classLoaderHash, it)) .orElseGet(() -> new UnknownImplementationSnapshot(classIdentifier, UnknownReason.UNTRACKED_LAMBDA)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
expect: ImplementationSnapshot copy = written as ImplementationSnapshot copy.classIdentifier == original.classIdentifier copy.classLoaderHash == null copy.unknownReason == UnknownImplementationSnapshot.UnknownReason.UNKNOWN_CLASSLOADER } def "serializes implementation properties with untracked lambda"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/ImplementationSnapshotTest.groovy
HashCode classloaderHash = TestHashCodes.hashCodeFrom(1234) expect: def snapshot = ImplementationSnapshot.of(className, classloaderHash) (snapshot instanceof UnknownImplementationSnapshot) == lambda where: className | lambda 'SomeClassName' | false 'SomeClassName$1$2$5' | false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:07 UTC 2023 - 5.4K bytes - Viewed (0)