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
Currently, BTrace will not work when the client is run on a newer JDK (eg. JDK7) while the traced application runs an older JDK (eg. JDK6).
The reason for this is that BTrace uses the client's compiler to compile the trace file and this results in a class file of a version that the traced JVM can not understand. The BTrace compiler should compile to the lowest supported class file version to make sure the cross-version cooperation.
The text was updated successfully, but these errors were encountered:
It seems that it is sufficient to set the -source and -target options for the trace script compiler to 1.6
This way the resulting class files will be readable by any JVM of version 1.6 or newer.
[reporter="j.bachorik", created="Mon, 8 Jul 2013 12:46:57 +0200", resolved="Fri, 13 Sep 2013 08:28:01 +0200"]
Currently, BTrace will not work when the client is run on a newer JDK (eg. JDK7) while the traced application runs an older JDK (eg. JDK6).
The reason for this is that BTrace uses the client's compiler to compile the trace file and this results in a class file of a version that the traced JVM can not understand. The BTrace compiler should compile to the lowest supported class file version to make sure the cross-version cooperation.
The text was updated successfully, but these errors were encountered: