Commit Graph

66 Commits

Author SHA1 Message Date
Alexander Udalov 0ea3b4ade4 Fix multiple resource leaks by closing InputStream instances
The main fix is in BuiltInsPackageFragment, the rest is the improvement of
other usages of getResourceAsStream

 #KT-11433 Fixed
2016-03-30 21:41:43 +03:00
Natalia Ukhorskaya dde11b7f50 Report more info for errors from jdi 2016-03-18 15:19:03 +03:00
Ilya Gorbunov 25c4453dc5 Cleanup deprecated symbol usages in testData 2016-01-22 05:54:38 +03:00
Dmitry Jemerov 951a313331 eval4j: cleanup 'public', property access syntax 2016-01-07 18:03:29 +01:00
Alexander Udalov 2ccd6d54b7 Add kotlin-reflect as a separate library
Exclude in core modules, since they do not have kotlin-reflect.jar in
dependencies when are built in build.xml
2015-12-21 18:46:08 +03:00
Natalia Ukhorskaya 74b6f70c80 JDIEval: do not disable collection when invoke method using reflection 2015-11-30 18:46:40 +03:00
Yan Zhulanow a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Natalia Ukhorskaya c0f67e497b Run Clean up on eval4j module 2015-11-19 12:06:56 +03:00
Natalia Ukhorskaya fddcd9b50f Workaround for bug in jdi: ClassCastException in invoke method with Object[] param using Interface[] argument 2015-11-19 12:06:55 +03:00
Mikhail Glukhikh f8a70302ac Cleanup: get rid of effective visibility warnings 2015-10-28 14:31:51 +03:00
Dmitry Petrov 8cd624a58a Drop package facades: code cleanup in Kotlin project. 2015-10-15 10:33:47 +03:00
Mikhail Glukhikh 6914d09297 Old backing field with dollar is now forbidden 2015-10-09 21:06:26 +03:00
Mikhail Glukhikh 3725ef8cdf Open / data forbidden code fix (eval4j) 2015-10-07 15:13:11 +03:00
Natalia Ukhorskaya dc7ced1581 JDIEval: fix ClassNotLoadedException 2015-10-05 11:44:50 +03:00
Stanislav Erokhin 9dee696847 Minor. remove import package usage from jdiEval.kt, jdiValues.kt and jdiTest.kt 2015-09-18 21:00:16 +03:00
Denis Zharkov 9c4564a5a6 Get rid of deprecated annotations and modifiers in project code 2015-09-18 09:34:27 +03:00
Natalia Ukhorskaya b86e251990 JDIEval: do not throw an exception in case of throw Exception() 2015-09-08 11:00:52 +03:00
Natalia Ukhorskaya 9d7695c337 JDIEval: set vmexec instead of home argument when launching tests 2015-09-08 11:00:51 +03:00
Natalia Ukhorskaya cee3cf53d9 JDIEval: coerce byte to int correctly 2015-09-08 11:00:51 +03:00
Denis Zharkov 4a3fbcc16e Make project compilable after fixes about generic nullability 2015-08-28 18:50:26 +03:00
Dmitry Jemerov 9142d48e81 code cleanup: eval4j, ide-common, idea-analysis 2015-07-21 14:26:18 +02:00
Ilya Gorbunov 765733b791 Compiler&plugin deprecations cleanup: withIndices -> withIndex or mapIndexed 2015-06-29 17:06:31 +03:00
Ilya Gorbunov 32144257ec Compiler&plugin deprecations cleanup: length, size, indices, tail and other collection operations. 2015-06-29 17:06:28 +03:00
Ilya Gorbunov 2c31a1a345 Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray. 2015-06-29 17:06:12 +03:00
Nikolay Krasko 8e51f1aadd Idea moved to junit-4.12 2015-06-23 15:59:10 +03:00
Denis Zharkov 200dee2761 Replace deprecated annotations in whole project 2015-06-12 09:23:32 +03:00
Mikhail Glukhikh fdf0ea5546 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries 2015-05-18 16:08:16 +03:00
Denis Zharkov 02659ca22d Adjust project code to new labels syntax 2015-04-30 10:16:42 +03:00
Denis Zharkov ffa9b0aa7c Remove whitespaces before labels in project code
Whitespaces are not allowed after lates syntax changes
2015-04-29 14:03:11 +03:00
Natalia Ukhorskaya 7e245e97ad JDIEval: add box and unbox methods 2015-04-27 18:43:47 +03:00
Alexander Udalov 34fa61675d Replace more eager asserts in project with lazy 2015-04-24 02:08:22 +03:00
Alexander Udalov 44e35cad29 Make 'sure' an inline function with a lazy parameter
Also replace some other non-lazy stdlib function usages with the new lazy
'sure'
2015-04-16 13:55:06 +03:00
Natalia Ukhorskaya 111f375fa6 Eval4j: disable object collection during evaluation 2015-04-07 18:10:23 +03:00
Mikhail Glukhikh 1055c34474 Fix of when / break / continue problem 2015-04-06 17:57:48 +03:00
Pavel V. Talanov 7f672f8078 Minor: remove redundant class objects from project code 2015-03-03 13:04:30 +03:00
Natalia Ukhorskaya 957d1c19c5 JDIEval: allow classLoader to be null (load class from caller classloader) 2015-02-25 16:42:17 +03:00
Alexander Udalov 21b2fa2509 Update copyrights to 2015 2015-01-13 01:15:18 +03:00
Natalia Ukhorskaya b6095eca58 Eval4j: return ObjectValue as argument of ExceptionThrown 2014-12-24 13:48:16 +03:00
Andrey Breslav b1e452b568 type unescaped in *.kt files 2014-10-14 13:02:13 +04:00
Natalia Ukhorskaya e0469de5be Eval4j: fix coerce for arrays in return
#KT-5554 Fixed
2014-09-11 15:04:44 +04:00
Pavel V. Talanov 6588310736 Add missing public modifiers in project code 2014-08-12 21:13:46 +04:00
Natalia Ukhorskaya 0968ea6914 Eval4j: catch IndexOutOfBounds exceptions 2014-06-23 17:40:05 +04:00
Natalia Ukhorskaya 1687b9cbca Eval4j: add exception type in ExceptionThrown result 2014-06-23 17:39:23 +04:00
Natalia Ukhorskaya c847d180a7 Eval4j: add ignore annotations for tests 2014-06-23 17:17:41 +04:00
Natalia Ukhorskaya fab770a346 Eval4j: support invokespecial instruction 2014-06-23 17:17:40 +04:00
Natalia Ukhorskaya 0c17bbe1c4 Minor: fix warnings 2014-06-23 17:17:38 +04:00
Natalia Ukhorskaya 250b9b500b Eval4j: initialize frame with local variables values using type size
#KT-5133 Fixed
2014-06-23 17:17:34 +04:00
Natalia Ukhorskaya 51b95181f0 Eval4j: add invokePolicy flag to jdiEval 2014-05-21 12:26:58 +04:00
Natalia Ukhorskaya d4211c355e Eval4j: get value from top of stack, not after local variables 2014-05-15 13:54:20 +04:00
Natalia Ukhorskaya 1ef785eb1a Eval4j: delete IDEA project files 2014-04-24 16:48:17 +04:00