Steven Schäfer
c9b0cc5b32
JVM: Only produce inline SAM wrappers in public inline scope
2021-08-23 18:25:33 +02:00
Dmitry Petrov
00a335129b
JVM_IR indy-SAM: use '-Xsam-conversions=indy' if JVM 1.8+, LV 1.5+
2021-03-10 21:04:08 +03:00
Dmitry Petrov
02b5b931d4
Revert "JVM_IR indy-SAM: use '-Xsam-conversions=indy' if JVM 1.8+, LV 1.5+"
...
This reverts commit 679756ad
2021-03-10 07:39:29 +03:00
Dmitry Petrov
679756ad07
JVM_IR indy-SAM: use '-Xsam-conversions=indy' if JVM 1.8+, LV 1.5+
2021-03-09 23:16:11 +03:00
Dmitry Petrov
6d019d9544
JVM_IR indy-SAM on functional expression
2021-02-17 22:18:06 +03:00
Dmitry Petrov
6ba57abb8f
JVM don't use indy by default for SAM conversions (wait for KT-44844)
...
KT-44278 KT-26060 KT-42621
2021-02-12 16:52:32 +03:00
Dmitry Petrov
052f6929c9
JVM_IR indy SAM conversions: update tests
...
KT-44278 KT-26060 KT-42621
2021-02-12 16:52:30 +03:00
Dmitry Petrov
3ebeca5852
JVM_IR: use indy SAM conversions in jvmTarget 1.8+, fix bridges
...
KT-44278 KT-26060 KT-42621
2021-02-12 16:52:30 +03:00
Dmitriy Novozhilov
f61a318c9d
[Test] Migrate AbstractBytecodeTextTest to new test infrastructure
2021-01-25 17:11:21 +03:00
Steven Schäfer
7bfe2c0bbc
JVM IR: Update test expectation for testSamAdapterAndInlineOnce
...
...and remove redundant bytecode text tests.
2020-11-19 19:46:49 +01:00
Steven Schäfer
8574cb4466
JVM IR: Don't generate line numbers and null checks in SAM wrapper constructors
2020-11-19 19:46:49 +01:00
Steven Schäfer
68e2d0d245
JVM IR: Generate synthetic final implementation methods in SAM wrappers
2020-11-19 19:46:49 +01:00
Steven Schäfer
a475fa2a21
JVM IR: Use raw types in SAM wrappers
2020-11-19 19:46:49 +01:00
Steven Schäfer
999151abac
JVM IR: Generate SAM wrapper fields as synthetic final
2020-11-19 19:46:49 +01:00
Steven Schäfer
ec1d42e92b
JVM IR: Generate SAM wrapper classes as non-synthetic
2020-11-19 19:46:49 +01:00
Steven Schäfer
36711a768b
JVM IR: Use inline SAM wrappers inside of inline lambdas
2020-11-19 19:46:49 +01:00
Steven Schäfer
f2e0c1a930
JVM IR: Minor fix for nullable SAM wrappers
2019-10-18 17:22:58 +02:00
pyos
23d742237f
Add tests for merging SAM wrappers and references
2019-04-04 09:45:00 +02:00
pyos
e05c151a73
Remove explicit mention of an internal name from a test
2019-04-04 09:45:00 +02:00
Mads Ager
3a11322506
Enable bytecode text tests for the JVM_IR backend.
2018-12-21 16:20:45 +01:00
Alexander Udalov
f5ff3d2fa9
Remove directives that have no effect from bytecode text tests
...
All bytecode text tests are run with stdlib in the classpath and only
for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND,
IGNORE_BACKEND are not needed
2018-12-20 12:53:24 +01:00
Dmitry Petrov
8a9707c140
Generate proper initialization for possibly nullable SAM wrapper
...
#KT-18916 Fixed Target versions 1.1.5
2017-07-12 09:37:16 +03:00