summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Yevgeny Rouban <yevgeny.y.rouban@intel.com> 2014-02-15 01:06:03 +0700
committer Sebastien Hertz <shertz@google.com> 2014-02-20 10:42:40 +0100
commitde34eea060edb4eb34d6ecd840e6e1c4c6489642 (patch)
treea15298c69afc2814186973ee46b6faea8d271a7a /compiler/driver/compiler_driver.cc
parent209a3a03595984a7a94103c3c6ba8c5afaf358a1 (diff)
Do not set ACC_SUPER flag for interfaces
The debugger's GetModifier method forces the ACC_SUPER flag set for all classes and interfaces because dex files don't contain this flag. But according to the JVM Spec (Class File Structure) the ACC_SUPER flag must not be set for interfaces: If the ACC_INTERFACE flag of this class file is set, its ACC_ABSTRACT flag must also be set (JLS 9.1.1.1). Such a class file must not have its ACC_FINAL, ACC_SUPER or ACC_ENUM flags set. The patch sets ACC_SUPER only if ACC_INTERFACE is not set. Signed-off-by: Yevgeny Rouban <yevgeny.y.rouban@intel.com> Change-Id: I6cc4b215a6584d177845a4f8cce1efeb1650f646
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
0 files changed, 0 insertions, 0 deletions