• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Simple subclass of PathClassLoader with methods overridden.
2# We need to use smali right now to subclass a libcore class, see b/24304298.
3
4.class public LMyPathClassLoader;
5
6.super Ldalvik/system/PathClassLoader;
7
8# Simple forwarding constructor.
9.method public constructor <init>(Ljava/lang/String;Ljava/lang/ClassLoader;)V
10    .registers 3
11    invoke-direct {p0, p1, p2}, Ldalvik/system/PathClassLoader;-><init>(Ljava/lang/String;Ljava/lang/ClassLoader;)V
12    return-void
13.end method
14