IDEA-331436 JPS / IC: [Internal Error] java.lang.NoSuchFieldError: FILE_HASHING_STRATEGY

GitOrigin-RevId: 962590bf4eec2b2e19f81eff432bd969812da1e6
This commit is contained in:
Vladimir Krivosheev
2023-09-02 19:55:54 +00:00
committed by intellij-monorepo-bot
parent 3cac2e427c
commit 4bca768c3a
4 changed files with 28 additions and 1 deletions
+1
View File
@@ -42,6 +42,7 @@
<orderEntry type="library" name="aalto-xml" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.xmlDom" />
<orderEntry type="library" name="kotlinx-coroutines-core" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.trove" />
</component>
<component name="copyright">
<Base>
@@ -13,6 +13,7 @@ import com.intellij.util.containers.ContainerUtil;
import com.intellij.util.containers.JBIterable;
import com.intellij.util.containers.JBTreeTraverser;
import com.intellij.util.io.URLUtil;
import gnu.trove.TObjectHashingStrategy;
import org.intellij.lang.annotations.RegExp;
import org.jetbrains.annotations.*;
@@ -42,6 +43,24 @@ public class FileUtil extends FileUtilRt {
public static final int REGEX_PATTERN_FLAGS = SystemInfoRt.isFileSystemCaseSensitive ? 0 : Pattern.CASE_INSENSITIVE;
/**
* @deprecated use {@link com.intellij.util.containers.CollectionFactory#createFilePathSet()}, or other createFilePath*() methods from there
*/
@Deprecated
@ApiStatus.ScheduledForRemoval
public static final TObjectHashingStrategy<File> FILE_HASHING_STRATEGY =
new TObjectHashingStrategy<File>() {
@Override
public int computeHashCode(File object) {
return fileHashCode(object);
}
@Override
public boolean equals(File o1, File o2) {
return filesEqual(o1, o2);
}
};
private static final Logger LOG = Logger.getInstance(FileUtil.class);
@Contract(pure = true)
@@ -2,7 +2,9 @@
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library" exported="">
@@ -0,0 +1,5 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package gnu.trove;
final class FixIncrementalCompilation {
}