Andrey Uskov
68347e89cf
Remove build script bunch for 191. The -Xjvm-default flag should be set in the whole project
2019-01-17 12:39:11 +03:00
Nicolay Mitropolsky
9559346199
191: Uast: implementation of UMethod.returnTypeReference (KT-29012)
2019-01-15 18:51:50 +03:00
Nicolay Mitropolsky
630b39d6b0
191: Uast: compiling with -Xjvm-default=compatibility
2019-01-15 18:51:49 +03:00
Nicolay Mitropolsky
f4d585f836
Uast: removing unused KotlinUComponentQualifiedReferenceExpression
2019-01-15 17:22:07 +03:00
Nicolay Mitropolsky
c139901889
Uast: all Kotlin versions of org.jetbrains.uast.test.* moved to org.jetbrains.uast.test.*.kotlin
...
To avoid having same class names in Kotlin and IDEA
2019-01-15 17:22:04 +03:00
Vyacheslav Gerasimov
13d87e8eae
Remove as31 bunch files
2019-01-14 21:29:02 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Igor Chevdar
9fee03ca81
IR: Fixed some parents
2019-01-10 14:35:10 +03:00
Yan Zhulanow
34818b0bbe
Remove JPS support for Android Extensions
2019-01-09 21:54:52 +03:00
Mikhael Bogdanov
e963c52c80
Update copyright in generated non-compiler tests
2019-01-02 13:34:03 +01:00
Leonid Startsev
662c1b6d4a
Make serialization plugin for Maven consistent with all other plugins:
...
Use correct import handler because old one was not working in IDE
Change maven artifact id to match pattern from other plugins
2018-12-26 18:53:53 +03:00
Sergey Rostov
423653d225
JPS build: workarounds for idea importing
2018-12-26 09:02:44 +03:00
Ilya Chernikov
a3217982f7
Fix script filename extension discovery from asm-readed class
...
and improve diagnostics on definition loading failure
2018-12-21 15:44:28 +01:00
Marcin Moskala
686cfa6fd2
Fix common misspellings
2018-12-21 16:13:42 +03:00
Ilya Chernikov
fce68102bd
Implement imported scripts evaluation and construction
2018-12-20 17:09:18 +01:00
Mikhael Bogdanov
f900d598c7
Inline ABI_EXTENSION_ASM_API_VERSION
2018-12-20 12:55:10 +01:00
Mikhael Bogdanov
c19c979b7d
Use last asm api for visitor construction
2018-12-20 12:55:09 +01:00
Ilya Chernikov
0b9770f8d1
Refactor scripting - rename env vars to provided properties everywhere
2018-12-13 18:00:12 +01:00
Alexey Tsvetkov
8aa069a774
Make AbstractJvmAbiContentTest system independent
2018-12-13 15:39:39 +03:00
Andrey Uskov
595e75e059
Fix build in bunch 191
2018-12-12 19:04:15 +03:00
Leonid Startsev
fdf4f02dde
Declare real external symbols for overriden by synthetic function
...
instead of unbound
Unbound symbols were throwing an exception on attempt to analyze them
in the other parts of compiler and are generally incorrect
2018-12-12 17:26:01 +03:00
Yan Zhulanow
425467ca99
Kapt: Switch to more appropriate way of converting URIs to Files
2018-12-12 21:40:46 +09:00
Yan Zhulanow
648fb2ef0b
AllOpen: Update test data (enum constructors are now private)
2018-12-12 21:40:45 +09:00
Yan Zhulanow
79bb609e1e
Uast: Update test data (enum constructors are now private)
2018-12-12 21:40:44 +09:00
Yan Zhulanow
0dda7bd7ca
NoArg: Update test data (enum constructors are now private)
2018-12-12 21:40:44 +09:00
Yan Zhulanow
a090541108
Kapt: Update test data (stub converter tests)
2018-12-12 21:40:44 +09:00
Alexey Tsvetkov
01fbcfad23
Minor: replace UsefulTestCase with KtUsefulTestCase
...
For some reason assertSameLinesWithFile from UsefulTestCase
fails with exception on TeamCity, whereas the one KtUsefulTestCase
does not
2018-12-12 02:53:13 +03:00
Alexey Tsvetkov
57f8f216d1
Exclude local variables and try catch blocks of non-inline functions from ABI
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
495cfec9e9
Check descriptor visibility before excluding method from ABI class
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
34d96dff28
Minor: rename const according to style guide
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
b87058b532
Attempt to fix ABI tests on TC
...
Locally they work fine
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
09dbf427ee
Disable removing private/synthetic/local classes temporarily
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
96f3c67b3b
Report output classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
05c5196aaa
Reuse BytecodeListingTextCollectingVisitor in tests
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
497df17eb7
Reuse TransformationMethodVisitor in ABI gen plugin
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
50d8fe611c
Minor fixes after review
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
d54ce2da6f
Exclude nested classes of private classes from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
64380f55d2
Report locations of errors in ABI classes tests
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
9dd09151f0
Add tests for compilation against abi classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
8992ee6280
Add tests for non-compatible ABI changes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
5891617674
Exclude clinit from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
519211036d
Exclude synthetic classes from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
fe047a0092
Minor: extract function
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
f231817559
Delay I/O when transforming ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
d74185a74d
Remove unused cosntant pool entries from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
3a29b337a0
Exclude private typealiases from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
1f5ca7274d
Exclude local and private classes from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
7c2f7cab9a
Exclude non-inline method bodies from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
903f6bc79b
Exclude private members from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
33faa00184
Add plugin for JVM ABI classes generation
...
#KT-25128 Fixed
ABI class generation is implemented as a compiler plugin.
Command-line usage:
1. Add a path to 'jvm-abi-gen.jar' to the plguin classpath argument
(`-Xplugin`). By default the jar is located at
'kotlinc/lib/jvm-abi-gen.jar' in the kotlinc distribution archive.
2. Specify an output directory for ABI classes via
`-Pplugin:org.jetbrains.kotlin.jvm.abi:outputDir=<DIR>`.
2018-12-11 22:48:53 +03:00