开启Gradle Configuration cache 报错:Configuration cache state could not be cached: field `queue` of `java.util.WeakHashMap`
- Dominant language
- Kotlin
- Stars
- 5.1k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
- Java version
openjdk 17.0.15
- Gradle version
8.9
- Android Gradle plugin version
8.5.1
- Booster version
5.0.0
- Stack traces
* What went wrong:
Configuration cache state could not be cached: field `queue` of `java.util.WeakHashMap` bean found in field `values` of `org.jetbrains.kotlin.gradle.utils.StoredPropertyStorage` bean found in field `storage` of `org.gradle.internal.extensibility.DefaultExtraPropertiesExtension` bean found in field `extraProperties` of `com.android.build.gradle.internal.services.ProjectServices` bean found in field `projectServices` of `com.android.build.gradle.internal.services.VariantServicesImpl` bean found in field `variantServices` of `com.android.build.api.variant.impl.BundleConfigImpl` bean found in field `bundleConfig` of `com.android.build.api.variant.impl.ApplicationVariantImpl` bean found in field `__variant__` of task `:app:transformReleaseClassesWithBooster` of type `com.didiglobal.booster.gradle.BoosterTransformTask`: error writing value of type 'java.lang.ref.ReferenceQueue'
> Unable to make field private volatile java.lang.ref.Reference java.lang.ref.ReferenceQueue.head accessible: module java.base does not "opens java.lang.ref" to unnamed module @6434e3ac
Contributor guide
Assessment
This issue has not been assessed yet.