public class org.apache.catalina.webresources.ClasspathURLStreamHandler extends java.net.URLStreamHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.webresources.ClasspathURLStreamHandler
super_class: java.net.URLStreamHandler
{
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/webresources/ClasspathURLStreamHandler;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.catalina.webresources.ClasspathURLStreamHandler.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.net.URLStreamHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/ClasspathURLStreamHandler;
protected java.net.URLConnection openConnection(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URLConnection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
astore 2
start local 2 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: ldc Lorg/apache/catalina/webresources/ClasspathURLStreamHandler;
aload 2
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
4: StackMap locals: java.lang.String java.net.URL
StackMap stack:
aload 3
ifnonnull 6
5: new java.io.FileNotFoundException
dup
getstatic org.apache.catalina.webresources.ClasspathURLStreamHandler.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "classpathUrlStreamHandler.notFound"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/webresources/ClasspathURLStreamHandler;
0 7 1 u Ljava/net/URL;
1 7 2 path Ljava/lang/String;
2 7 3 classpathUrl Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
}
SourceFile: "ClasspathURLStreamHandler.java"