Revert "IJ-CR-206665 [java] IDEA-384708 Java class resolution ignores test source root shadowing when class exists in both main and test sources"

This reverts commit 78f291632002d281bafb5af7a37ee721bb058e39.

GitOrigin-RevId: 40a99f4a0e58e81ade3efc946e71e50ae17aea62
This commit is contained in:
Mikhail Pyltsin
2026-06-09 11:04:58 +00:00
committed by intellij-monorepo-bot
parent cfaecc6595
commit a82884dffc
@@ -127,7 +127,7 @@
<registryKey key="java.functional.expression.search.fail.fast.in.dumb.mode" defaultValue="true"
description="When true (default), JavaFunctionalExpressionSearcher throws IndexNotReadyException immediately in dumb mode instead of waiting for smart mode. When false, falls back to the legacy behavior of waiting for smart mode."/>
<registryKey key="java.resolve.prefer.test.sources" defaultValue="false"
<registryKey key="java.resolve.prefer.test.sources" defaultValue="true"
description="When resolving from test code, prefer a same-FQN class from the module's test source root over the production one (matches javac test-source shadowing)."/>
</extensions>
</idea-plugin>