Remove problematic ClasspathFingerprintingStrategy and ZipHasher fallback strategy#34150
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d674eb0 to
4513448
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4513448 to
dab88f2
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1660e8f to
edf433d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
❓
Is this debug message still accurate?
There was a problem hiding this comment.
Yes, this message is still ok. We still fallback to full zip hash, we just don't use a fallback ZipHasher in some cases
There was a problem hiding this comment.
❓
Do you intend to call this fixture setup method it from other tests? Otherwise, I would inline it/merge with the setup code below
|
The following builds have passed: |
|
@bot-gradle test this |
This comment has been minimized.
This comment has been minimized.
|
The following builds have failed: |
There was a problem hiding this comment.
📝
This was unused, apparently since this PR got merged:
abstratt
left a comment
There was a problem hiding this comment.
LGTM, awesome job creating the reproducer
There was a problem hiding this comment.
💅 This seems like it was moved for no reason, to keep diffs clean I would prefer to keep it where it was. But it's not a huge deal.
Due to a bug in ZipHasher when we use a fallback we could potentially poison fingerprint cache. We could fix it, but since this method is not used anymore we can just remove it.
8fedd8f to
98dc6ee
Compare
Pull Request is not mergeable
Relates to #32464
Due to a bug in ZipHasher it can happen that when we use a fallback ZipHasher we could potentially poison fingerprint cache. See #32464 (comment).
We could fix it, but since fallback is not used anymore we can just remove it.
This happens only with remote Kotlin libraries with inline function that are present on build script and Java compile classpath.
This PR also adds a test that fails with 8.14.3.