Alexander Udalov
|
36f7cc742f
|
Introduce NoSuchPropertyException and IllegalAccessException
No new tests added because it's difficult to model a situation where a
::-access is allowed but the code throws these exceptions at runtime
|
2014-07-02 01:58:22 +04:00 |
|
Alexander Udalov
|
a38a396a43
|
Remove default import "kotlin.reflect"
Basic reflection is usable without any imports (with :: literals)
This reverts commit 9503056dd5.
|
2014-07-02 01:55:53 +04:00 |
|
Alexander Udalov
|
e7f19c531a
|
Support 'accessible' for reflected properties on JVM
Calls Java reflection's isAccessible/setAccessible
|
2014-07-02 01:26:20 +04:00 |
|
Alexander Udalov
|
1275c84f92
|
Fail with IllegalAccessException on :: reference to private property
Instead of mysterious NoSuchMethodException
|
2014-07-02 01:26:20 +04:00 |
|