<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I reported&nbsp;<a href="https://github.com/Sable/soot/issues/372" class="">https://github.com/Sable/soot/issues/372</a>&nbsp;.&nbsp;<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 18.03.2015 um 22:53 schrieb Steven Arzt &lt;<a href="mailto:Steven.Arzt@cased.de" class="">Steven.Arzt@cased.de</a>&gt;:</div><br class="Apple-interchange-newline"><div class="">Hi Bernhard,<br class=""><br class="">It's ok for a class inside an APK to inherit from a phantom class or implement a phantom interface. The phantom class inference mechanism however needs to make sure that classes which are on the interface list of some other class are correctly marked as interfaces. If this is not the case yet and the "interface" flag is not set for those phantom classes, this is a bug.<br class=""><br class="">Best regards,<br class=""> &nbsp;Steven<br class=""><br class="">-----Ursprüngliche Nachricht-----<br class="">Von: <a href="mailto:soot-list-bounces@CS.McGill.CA" class="">soot-list-bounces@CS.McGill.CA</a> [<a href="mailto:soot-list-bounces@CS.McGill.CA" class="">mailto:soot-list-bounces@CS.McGill.CA</a>] Im Auftrag von Bernhard Berger<br class="">Gesendet: Mittwoch, 18. März 2015 22:17<br class="">An: <a href="mailto:soot-list@sable.mcgill.ca" class="">soot-list@sable.mcgill.ca</a><br class="">Betreff: [Soot-list] Inconsistence type hierarchy<br class=""><br class="">Hi,<br class=""><br class="">today I encountered a strange situation in the type hierarchy while analyzing an Android app. I found several (non-phantom) classes that extend (phantom) interfaces or &nbsp;implement (phantom) classes. It seems that these classes aren’t contained in the android.jar file. <br class=""><br class="">The MainActivity, for instance, implements the phantom android.app.ActionBar$TabListener. Calling isInterface for TabListener returns false indicating that it is an class. This leads to problems if a class extends an „interface“. When FastHierarchy is created an Exception is thrown in dfsVisit:<br class=""><blockquote type="cite" class="">java.lang.RuntimeException: Attempt to dfs visit interface android.content.DialogInterface<br class=""></blockquote><br class="">Is this behavior known? Does someone know a solution?<br class=""><br class="">Regards,<br class="">Bernhard<br class="">_______________________________________________<br class="">Soot-list mailing list<br class=""><a href="mailto:Soot-list@CS.McGill.CA" class="">Soot-list@CS.McGill.CA</a><br class="">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list<br class=""><br class=""><br class=""><br class=""></div></blockquote></div><br class=""></div></body></html>