OSDN Git Service

Make layoutlib load on Java 7 VM
authorDeepanshu Gupta <deepanshu@google.com>
Tue, 8 Apr 2014 22:07:49 +0000 (15:07 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Tue, 8 Apr 2014 22:07:49 +0000 (15:07 -0700)
commit6a08225cee197e5baf80dd06dae46988db284122
tree78318595f87b4f2317c53678c26116ea7fa29344
parent124af56165e7974748546ac2f243d4db8218f7b6
Make layoutlib load on Java 7 VM

Prevent Java 7 VM from verifying the StackMapTable for methods by lying
about the class version.

The changeset also fixes the eclipse project by using the right asm
library in the checkout.

Change-Id: Idabf165380fb75fcc2d5c8fbd72388f52887a5df
tools/layoutlib/create/.classpath
tools/layoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java