Closed borisbrodski closed 10 years ago
I know, this is due to an incompatible change to an internal API (sun.reflect.Reflection) introduced by Oracle in early versions of JDK 1.7. That change was rolled back, because it caused failures in high-profile libraries such as groovy.
I think it's reasonable to leave its use in JMockit as is, if it works in the recent versions of the JDK. That's what the other projects are doing too, anyway (as far as I know).
On some JDKs we are getting
exception using JMockit 1.11.
Tested so far:
In order to analyse the problem I set a breakpoint in the
RecondPhase.getCallerClass()
method and ran the following snippet from the display view.It outputs on jdk1.7.0_25 (64bit)
and it outputs on jdk1.7.0_60 (64 bit)
Both Windows 7 64bit