VFS: reset KOTLIN_IS_COMPILED_FILE_ATTRIBUTE

This commit resets mentioned file attribute from Kotlin binary files.
It finalizes the fix 929b6dd9 - users might have mistakenly set 'false'
value left on their file systems.
This commit is contained in:
Andrei Klunnyi
2021-05-18 15:28:39 +03:00
parent 5a0f113e6d
commit f0a6d9f33f
@@ -105,7 +105,7 @@ class IDEKotlinBinaryClassCache {
)
private val KOTLIN_IS_COMPILED_FILE_ATTRIBUTE: String = "kotlin-is-binary-compiled".apply {
ServiceManager.getService(FileAttributeService::class.java)?.register(this, 1)
ServiceManager.getService(FileAttributeService::class.java)?.register(this, 2)
}
private val KOTLIN_BINARY_DATA_KEY = Key.create<SoftReference<KotlinBinaryData>>(KOTLIN_IS_COMPILED_FILE_ATTRIBUTE)