You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dubochet said:
There is probably not much we can do: Scala access annotation are not reflection-safe. I'll check with the team during the next meeting.
@dubochet said:
As I thought, this is not something we can change.
The fact that Java reflection allows invalid access on Scala programs is an inherent problem with the compilation of non-Java languages to the JVM. There is nothing we can do.
The longer-term answer to such issues is that we are developing a Scala reflection library that will not suffer from those problems.
Test case:
Expected output: IllegalAccessException, or some such error
Actual output:
The text was updated successfully, but these errors were encountered: