-
-
Save DHuckaby/08258c12ab311d5374c2 to your computer and use it in GitHub Desktop.
Example for hugo issue #9.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Example extends View { | |
public Example(Context context) { | |
super(context); | |
synchronized (Boolean.TRUE) { | |
} | |
} | |
@Override | |
public void onDraw(Canvas canvas) { | |
super.onDraw(canvas); | |
draw(canvas, null); | |
} | |
private boolean draw(Canvas canvas, Object o) { | |
return false; | |
} | |
@DebugLog | |
public void test() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12-11 10:38:53.153 19311-19311/com.handlerexploit.tweedle.debug W/dalvikvm﹕ VFY: invoke type does not match method type of Lcom/handlerexploit/tweedle/Example;.draw | |
12-11 10:38:53.153 19311-19311/com.handlerexploit.tweedle.debug W/dalvikvm﹕ VFY: rejecting opcode 0x6f at 0x0004 | |
12-11 10:38:53.153 19311-19311/com.handlerexploit.tweedle.debug W/dalvikvm﹕ VFY: rejected Lcom/handlerexploit/tweedle/Example;.onDraw (Landroid/graphics/Canvas;)V | |
12-11 10:38:53.153 19311-19311/com.handlerexploit.tweedle.debug W/dalvikvm﹕ Verifier rejected class Lcom/handlerexploit/tweedle/Example; | |
12-11 10:38:53.153 19311-19311/com.handlerexploit.tweedle.debug D/AndroidRuntime﹕ Shutting down VM | |
12-11 10:38:53.153 19311-19311/com.handlerexploit.tweedle.debug W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x40c68930) | |
12-11 10:38:53.153 19311-19315/com.handlerexploit.tweedle.debug D/dalvikvm﹕ GC_CONCURRENT freed 1221K, 29% free 3732K/5192K, paused 1ms+1ms, total 18ms | |
12-11 10:38:53.163 19311-19311/com.handlerexploit.tweedle.debug E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
java.lang.VerifyError: com/handlerexploit/tweedle/Example | |
at com.handlerexploit.tweedle.activities.MainActivity.onCreate(MainActivity.java:151) | |
at android.app.Activity.performCreate(Activity.java:5104) | |
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2356) | |
at android.app.ActivityThread.access$600(ActivityThread.java:150) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loop(Looper.java:137) | |
at android.app.ActivityThread.main(ActivityThread.java:5195) | |
at java.lang.reflect.Method.invokeNative(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:511) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) | |
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126) | |
at dalvik.system.NativeStart.main(Native Method) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Example(this).test(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's the bytecode diff between Java 6 and Java 7: