Commit Graph

97094 Commits

Author SHA1 Message Date
Pavel Kunyavskiy 4f8dad3e4b [K/N] Fix notification order in finalizers
In before thread waiting for finalizers done could be unsuspended
before statistics about finalization is written.
Probably it doesn't affect real code, but it can lead to test failures.
2022-12-20 21:44:38 +00:00
Mikhail Glukhikh fc95889115 Move isCompilingAgainstJdk8OrLater to JvmBackendContext
This should solve multi-thread synchronization problem
Probably #KT-55483 Fixed
2022-12-20 21:41:43 +00:00
Evgeniy.Zhelenskiy ac28c0a286 [IR] Allow inline modifier for functions returning MFVC without warning
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>

#KT-1179
2022-12-20 21:26:56 +00:00
Pavel Kunyavskiy 4928e284f6 Make LateinitIntrinsicApplicabilityChecker warning for Native and JS
This checker was enabled only on JVM by mistake.
It's now fixed, but we don't want to make it an error in minor release.
So it will be an warning in 1.8.20 and an error in 1.9.0

^KT-27002
2022-12-20 20:06:52 +00:00
Pavel Kunyavskiy 17e9a6a781 [klib] Fix serialization of missing annotations
^KT-42490
^KT-44625
2022-12-20 20:06:51 +00:00
Dmitrii Gridin 90d702ed27 [SLC] symbolAnnotationsUtils: use AnnotationTarget and ElementType to reduce custom strings
^KT-55481
2022-12-20 19:52:15 +00:00
Dmitrii Gridin 3c0f3777c6 [SLC] symbolAnnotationsUtils: reuse DEFAULT_VALUE_PARAMETER
^KT-55481
2022-12-20 19:52:14 +00:00
Dmitrii Gridin 65426f6b40 [LC] KotlinClassInnerStuffCache: drop unused code
^KT-55497
2022-12-20 19:52:14 +00:00
Dmitrii Gridin c77401d823 [SLC] drop redundant 'final' modifier from synthetic enum members
^KT-55502 Fixed
2022-12-20 19:52:14 +00:00
Dmitrii Gridin 8bbe60e96c [AA] add more tests on companion members 2022-12-20 19:52:13 +00:00
Dmitrii Gridin 0f29edec15 [SLC] LazyModifiersBox: fix typo 2022-12-20 19:52:13 +00:00
Dmitrii Gridin bb51d62e0a [SLC] support static properties (e.g. Enum.entries)
^KT-55496
^KTIJ-23530
2022-12-20 19:52:13 +00:00
Dmitrii Gridin 643b74fa28 [AA FIR] support symbol pointers for static properties
^KT-55487
2022-12-20 19:52:12 +00:00
Dmitrii Gridin e39dc9b768 [LC] fix signature of 'Enum.valueOf()'
* drop @NotNull annotation from parameter
* add NullPointerException to throws

^KT-55497 Fixed
2022-12-20 19:52:12 +00:00
Dmitrii Gridin 7d0c093da7 [SLC] generate static enum methods from symbols
^KT-55496 Fixed
2022-12-20 19:52:11 +00:00
Dmitrii Gridin c28e9d5253 [LC] add tests for enum classes
^KT-55496
^KTIJ-23530
2022-12-20 19:52:11 +00:00
Dmitrii Gridin e476150025 [AA FIR] support symbol restoring for static members
^KT-55487 Fixed
2022-12-20 19:52:10 +00:00
Dmitrii Gridin f3c7972d20 [SLC] implement java annotations for annotation classes
^KT-55481 Fixed
2022-12-20 19:52:10 +00:00
Dmitrii Gridin 1e1525bae5 [SLC] implement light class for RepeatableContainer
^KT-55470 Fixed
2022-12-20 19:52:10 +00:00
Artem Kobzar cd0ae20c38 [K/JS] Capture stackTrace before the init function call ^Fixed KT-55315 2022-12-20 18:15:02 +00:00
Alexander Korepanov 48daf0befe [JS IR] Take into account file annotations for calculating symbol hashes
^KT-55367 Fixed
2022-12-20 16:04:14 +00:00
Alexander Korepanov 4136189114 [JS IR] Check all signatures of dependent file in IC graph
It is important to check all signatures, because signatures
 can be simultaneously moved between files and modified.
2022-12-20 16:04:14 +00:00
Igor Chevdar 04fcf25ae0 [K/N] Merged CachedLibraries.Dependency into DependenciesTracker 2022-12-20 14:24:55 +00:00
Igor Chevdar c1bc6682fa [K/N] Merged two ways of overriding llvm globals 2022-12-20 14:24:55 +00:00
Igor Chevdar 9732100764 [K/N][IR][codegen] Introduced DependenciesTracker 2022-12-20 14:24:54 +00:00
Igor Chevdar c88ac7cc86 [K/N][IR][codegen] Build per-file dependencies for caches 2022-12-20 14:24:54 +00:00
Igor Chevdar a058fcb628 [K/N][runtime] Do not export ImmutableBlob type info
It's not used by the native runtime
2022-12-20 14:24:54 +00:00
Gleb Lukianets 454e9a6379 [K/N] Fix infinite loop in ObjCExportScope
Merge-request: KT-MR-8024
Merged-by: Gleb Lukianets <Gleb.Lukianets@jetbrains.com>
2022-12-20 12:53:54 +00:00
Mikhail Glukhikh 7a7d93828e Fix MutableOrEmptyList implementation details 2022-12-20 11:04:28 +00:00
Mikhail Glukhikh 761a0f8248 K2: introduce & use (for annotation creation) smartPlus for lists 2022-12-20 11:04:27 +00:00
Mikhail Glukhikh f33f87e3d4 K2: drop unused qualifier in FirJavaTypeRef 2022-12-20 11:04:27 +00:00
Mikhail Glukhikh e9fbeb9be2 K2: use MutableOrEmptyList for context receivers on declaration site 2022-12-20 11:04:27 +00:00
Mikhail Glukhikh d20d63786b K2: use MutableOrEmptyList for type arguments 2022-12-20 11:04:26 +00:00
Mikhail Glukhikh a48610000d K2: introduce & use MutableOrEmptyList.EMPTY singleton 2022-12-20 11:04:26 +00:00
Mikhail Glukhikh ddc786364f K2: use MutableOrEmptyList for context receivers 2022-12-20 11:04:26 +00:00
Mikhail Glukhikh dff71a9602 K2: use MutableOrEmptyList for nonFatalDiagnostics 2022-12-20 11:04:25 +00:00
Mikhail Glukhikh 582b640bec K2: use MutableOrEmptyList for annotations storage in FIR elements 2022-12-20 11:04:25 +00:00
Mikhail Glukhikh be5394e211 Fix minor formatting issue in generated FIR tree 2022-12-20 11:04:24 +00:00
Pavel Kunyavskiy 1cf2f102a2 [K/N] Performance infra fixes 2022-12-20 09:07:20 +00:00
Pavel Kunyavskiy 9f5165dc97 [K/N] Update gradle in performance infra 2022-12-20 09:07:19 +00:00
Pavel Kunyavskiy 2767e95c99 [K/N] Performance infra migration tools 2022-12-20 09:07:19 +00:00
Pavel Punegov b9b2713a96 [K/N][perf] Rewrite UI part to kts 2022-12-20 09:07:18 +00:00
Pavel Punegov 315b59e0d6 [K/N][perf] Rewrite performance server's build
Rewrite to KTS and use JS-IR backend
2022-12-20 09:07:18 +00:00
Pavel Kunyavskiy 09b7c483dd [K/N] Switch to http basic auth in performance infra
^KT-52473
2022-12-20 09:07:17 +00:00
Bogdan Mukvich e97ecc13b0 Cleanup pre-push hook
KTI-673
2022-12-20 08:53:41 +00:00
Dmitriy Novozhilov d75160250d [FIR] Drop transformExtensionReceiver and transformDispatchReceiver from FirQualifiedAccess
After removal of `StoreReceiver` transformers those methods are not used
  anymore, so it's ok to remove them at all
2022-12-20 08:12:10 +00:00
Dmitriy Novozhilov 02e327277e [FIR] Report VAL_REASSIGNMENT on assign to non-local vals
In this commit reporting on member properties in init section of class
  is not supported (see KT-55528)

^KT-55493 Fixed
2022-12-20 08:12:09 +00:00
Dmitriy Novozhilov e87a064cdd [FIR] Report VARIABLE_EXPECTED on assign to this 2022-12-20 08:12:09 +00:00
Dmitriy Novozhilov 9ccbf8639d [FIR] Add dispatchReceiverType to FirAnonymousInitializer
This is needed to add ability to quickly find class to which initializer
  belongs
2022-12-20 08:12:09 +00:00
Dmitriy Novozhilov edd7468d5b [FIR] Get rid of StoreType transformer 2022-12-20 08:12:08 +00:00