Andrey Breslav
41180d78e2
Do not fail with NPE if a class is not found in preloader
2013-10-14 14:42:25 +04:00
Andrey Breslav
a6b89b8874
Add kotlin-runtime to compiler classpath
2013-10-14 14:42:25 +04:00
Andrey Breslav
60425b15e6
Support circular dependencies
...
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
2013-10-14 14:42:24 +04:00
Andrey Breslav
d5b08d4f1c
Support building many modules "as one": merging all the paths etc
...
This is for a workaround implementation of support for mutually dependent modules
2013-10-14 14:42:24 +04:00
Andrey Breslav
b5f43dcc2d
Don't let the last tests fail
2013-10-14 08:23:19 +04:00
Andrey Breslav
e9edc70758
Straighten out exception handling for CCE/NPE thrown by the eval loop and other exceptions thrown by eval itself
2013-10-14 08:23:19 +04:00
Andrey Breslav
48dec7ec17
Rename
2013-10-14 08:23:19 +04:00
Andrey Breslav
f64deaac1d
Foreign object can't be compared by equals() to local objects
2013-10-14 08:23:19 +04:00
Andrey Breslav
e2b0212c34
NewObjectValue is a legitimate value too
2013-10-14 08:23:19 +04:00
Andrey Breslav
e13c331e78
Use throwException() instead of manually created instance
2013-10-14 08:23:19 +04:00
Andrey Breslav
9814726f9d
JDI-based tests run, many fail
2013-10-14 08:23:19 +04:00
Andrey Breslav
1c07c42b2c
better toString()
2013-10-14 08:23:19 +04:00
Andrey Breslav
848a9c56b2
Better remote exception support
2013-10-14 08:23:19 +04:00
Andrey Breslav
88bb113834
Prevent infinite recursion in loadClass()
2013-10-14 08:23:19 +04:00
Andrey Breslav
ec43441190
Generic mechanism for creating test suites
2013-10-13 15:12:26 +04:00
Andrey Breslav
517ccf347c
Support arrays
2013-10-13 12:39:13 +04:00
Andrey Breslav
205fe325d9
Support constructor calls
2013-10-13 12:39:13 +04:00
Andrey Breslav
a5dba2938d
Support instance fields and methods
2013-10-13 12:38:49 +04:00
Andrey Breslav
3e26f205b3
Static method calls supported
2013-10-13 12:38:49 +04:00
Andrey Breslav
f17fa36791
JDI-based Eval for classes and static fields
2013-10-13 12:38:39 +04:00
Andrey Breslav
4591363c9e
JDI-based values
2013-10-13 01:11:58 +04:00
Andrey Breslav
0923be42ff
throwException() utility introduced
2013-10-13 00:59:45 +04:00
Andrey Breslav
5ea384a165
ownerType supported on members
2013-10-13 00:54:35 +04:00
Andrey Breslav
6138902481
Useful method moved to values.kt
2013-10-13 00:48:52 +04:00
Andrey Breslav
d139856e4c
NewObjectValue simply carries a type, the actual object will be created later
2013-10-13 00:44:02 +04:00
Andrey Breslav
94daf4c6bc
Interpreter is not needed to create uninitialized values
2013-10-12 23:56:24 +04:00
Andrey Breslav
38e8e6addd
Start with initial frame, not from scratch
2013-10-12 23:47:39 +04:00
Andrey Breslav
41d576c108
Support exceptionCaught() handler
2013-10-12 23:40:56 +04:00
Alexey Sedunov
eff62bfd83
KT-4008 'Replace if with when' is available but does not work
2013-10-11 17:24:07 +04:00
Erokhin Stanislav
e05e616158
JS backend: fix StringBuilder append #KT-4064 Fixed
2013-10-11 15:47:43 +04:00
Erokhin Stanislav
768289b913
JS backend: fix class object in trait #KT-4062 Fixed
2013-10-11 14:44:56 +04:00
Alexander Udalov
e6259deb8c
Minor, use List<File> directly instead of Function0
2013-10-10 20:28:22 +04:00
Alexander Udalov
102ced153c
Remove binary test data from completion tests
...
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00
Alexander Udalov
47ce2f7fe8
Remove binary test data for tests with broken jars
2013-10-10 20:28:22 +04:00
Alexander Udalov
475551f54a
Remove binary test data for some tests
...
Launch CLICompiler instead to compile it
2013-10-10 20:28:22 +04:00
Alexander Udalov
c936136341
Refactor CompileKotlinAgainstCustomBinariesTest
...
Each test now supplies its own classpath producer, which for now finds all jars
in the test data directory, but later will compile them using CLICompiler
2013-10-10 20:28:22 +04:00
Alexander Udalov
1d93ab41d2
Merge two tests with almost the same logic
2013-10-10 20:28:22 +04:00
Alexander Udalov
9e8a8e852c
Refactor CompileKotlinAgainstBinariesCustomTest
...
Extract common logic, add NotNull annotations
2013-10-10 20:28:21 +04:00
Alexander Udalov
f8201c6aa9
Refactor TopLevelMembersInvocationTest
...
Compile library dependencies in the test instead of storing them as jars in the
repository. Reuse MockLibraryUtil, move it from idea tests to compiler-tests
2013-10-10 20:28:21 +04:00
Alexander Udalov
a2c74d4324
Refactor OverrideImplementWithLibTest
...
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00
Andrey Breslav
8424e7f5c7
Fix smoke test
2013-10-10 18:59:37 +04:00
Andrey Breslav
4bc0f8280f
Rename variable
2013-10-10 17:49:17 +04:00
Andrey Breslav
68e2e9b4fc
Ability to direct output of different modules to different directories
2013-10-10 17:49:17 +04:00
Andrey Breslav
2a8ebc7dbe
Do not report the output twice
2013-10-10 17:49:17 +04:00
Andrey Breslav
9e0e67d19d
Refactoring: common logic extracted and moved to a util class
2013-10-10 17:49:17 +04:00
Andrey Breslav
d4a89d04d7
Each module carries its output directory
2013-10-10 17:49:17 +04:00
Andrey Breslav
4d482f2f14
Class file factory remembers sources for each class
2013-10-10 17:49:16 +04:00
Andrey Breslav
f529e5d2aa
ModuleChunks introduced
2013-10-10 17:49:16 +04:00
Mikhael Bogdanov
468e5f8945
Properly name packageFragments and packageFacade
2013-10-10 16:36:54 +04:00
Mikhael Bogdanov
8f8017981b
StaticDelegationKind removed
2013-10-10 16:36:37 +04:00