Commit Graph

6 Commits

Author SHA1 Message Date
Tagir Valeev
aa6829d7c1 [java-tests] IDEA-333831 Separate mock JDK and JetBrains annotations for testing
Also: avoid manual mocking of Java 10 classes in StreamCollector10Inlining test, use mockJDK11 instead
Also: rewrite SliceTestCase and its inheritors to LightJavaCodeInsightFixtureTestCase, as annotations.jar is not included into project created by DaemonAnalyzerTestCase
Also: 'mutates' attribute of @Contract annotation is resolvable now, as we can use newer jetbrains-annotations library.
Also: documentation tests now don't generate links to JetBrains annotations, which corresponds to the actual behavior in production

GitOrigin-RevId: e460826893c1277cb2b78b18aae9d5aca97d8333
2023-10-05 11:24:29 +00:00
Roman Shevchenko
ba664a833a [java] fixes "non-root module on classpath" false positive (IDEA-197572) 2018-08-21 17:53:25 +03:00
Roman Shevchenko
c1340c48ad [java] upgrade module path: resolve (IDEA-189693)
Uses relative location of files on module dependency list to disambiguate upgradeable modules.
2018-07-19 14:51:58 +02:00
Roman Shevchenko
31b5699978 [java] removes incorrect accessibility error (IDEA-187250)
... when IDEA thought that a class is in an inaccessible JDK module, while in fact there is an upgrade on the classpath.
2018-07-19 10:36:12 +02:00
Roman Shevchenko
378bd98996 [java] improves mandatory module path detection; more package accessibility tests 2018-07-11 13:19:13 +02:00
Anna.Kozlova
e7edc56bc6 welcome mock jdk 9 (IDEA-168823) 2017-03-07 14:57:35 +01:00