public class com.sun.org.apache.xpath.internal.functions.FuncSystemProperty extends com.sun.org.apache.xpath.internal.functions.FunctionOneArg
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.functions.FuncSystemProperty
super_class: com.sun.org.apache.xpath.internal.functions.FunctionOneArg
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3694874980992204867
static final java.lang.String XSLT_PROPERTIES;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "com/sun/org/apache/xalan/internal/res/XSLTInfo.properties"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncSystemProperty this
0: .line 37
aload 0 /* this */
invokespecial com.sun.org.apache.xpath.internal.functions.FunctionOneArg.<init>:()V
return
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSystemProperty this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSystemProperty;
public com.sun.org.apache.xpath.internal.objects.XObject execute(com.sun.org.apache.xpath.internal.XPathContext);
descriptor: (Lcom/sun/org/apache/xpath/internal/XPathContext;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=2
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncSystemProperty this
start local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
0: .line 59
aload 0 /* this */
getfield com.sun.org.apache.xpath.internal.functions.FuncSystemProperty.m_arg0:Lcom/sun/org/apache/xpath/internal/Expression;
aload 1 /* xctxt */
invokevirtual com.sun.org.apache.xpath.internal.Expression.execute:(Lcom/sun/org/apache/xpath/internal/XPathContext;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.str:()Ljava/lang/String;
astore 2 /* fullName */
start local 2 // java.lang.String fullName
1: .line 60
aload 2 /* fullName */
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3 /* indexOfNSSep */
start local 3 // int indexOfNSSep
2: .line 62
ldc ""
astore 5 /* propName */
start local 5 // java.lang.String propName
3: .line 66
new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 6 /* xsltInfo */
start local 6 // java.util.Properties xsltInfo
4: .line 68
aload 0 /* this */
aload 6 /* xsltInfo */
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncSystemProperty.loadPropertyFile:(Ljava/util/Properties;)V
5: .line 70
iload 3 /* indexOfNSSep */
ifle 36
6: .line 72
iload 3 /* indexOfNSSep */
iflt 8
7: .line 73
aload 2 /* fullName */
iconst_0
iload 3 /* indexOfNSSep */
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 9
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncSystemProperty com.sun.org.apache.xpath.internal.XPathContext java.lang.String int top java.lang.String java.util.Properties
StackMap stack:
8: ldc ""
9: .line 72
StackMap locals:
StackMap stack: java.lang.String
astore 7 /* prefix */
start local 7 // java.lang.String prefix
10: .line 76
aload 1 /* xctxt */
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getNamespaceContext:()Lcom/sun/org/apache/xml/internal/utils/PrefixResolver;
aload 7 /* prefix */
invokeinterface com.sun.org.apache.xml.internal.utils.PrefixResolver.getNamespaceForPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 8 /* namespace */
start local 8 // java.lang.String namespace
11: .line 77
iload 3 /* indexOfNSSep */
ifge 13
12: .line 78
aload 2 /* fullName */
goto 14
StackMap locals: java.lang.String java.lang.String
StackMap stack:
13: aload 2 /* fullName */
iload 3 /* indexOfNSSep */
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
14: .line 77
StackMap locals:
StackMap stack: java.lang.String
astore 5 /* propName */
15: .line 80
aload 8 /* namespace */
ldc "http://www.w3.org/XSL/Transform"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 17
16: .line 81
aload 8 /* namespace */
ldc "http://www.w3.org/1999/XSL/Transform"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
17: .line 83
StackMap locals:
StackMap stack:
aload 6 /* xsltInfo */
aload 5 /* propName */
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* result */
start local 4 // java.lang.String result
18: .line 85
aload 4 /* result */
ifnonnull 45
19: .line 87
aload 0 /* this */
aload 1 /* xctxt */
ldc "WG_PROPERTY_NOT_SUPPORTED"
20: .line 88
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2 /* fullName */
aastore
21: .line 87
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncSystemProperty.warn:(Lcom/sun/org/apache/xpath/internal/XPathContext;Ljava/lang/String;[Ljava/lang/Object;)V
22: .line 90
getstatic com.sun.org.apache.xpath.internal.objects.XString.EMPTYSTRING:Lcom/sun/org/apache/xpath/internal/objects/XString;
areturn
end local 4 // java.lang.String result
23: .line 95
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* xctxt */
ldc "WG_DONT_DO_ANYTHING_WITH_NS"
24: .line 96
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 8 /* namespace */
aastore
dup
iconst_1
25: .line 97
aload 2 /* fullName */
aastore
26: .line 95
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncSystemProperty.warn:(Lcom/sun/org/apache/xpath/internal/XPathContext;Ljava/lang/String;[Ljava/lang/Object;)V
27: .line 101
aload 5 /* propName */
invokestatic jdk.xml.internal.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* result */
start local 4 // java.lang.String result
28: .line 103
aload 4 /* result */
ifnonnull 45
29: .line 107
getstatic com.sun.org.apache.xpath.internal.objects.XString.EMPTYSTRING:Lcom/sun/org/apache/xpath/internal/objects/XString;
30: areturn
end local 4 // java.lang.String result
31: .line 110
StackMap locals:
StackMap stack: java.lang.SecurityException
pop
32: .line 112
aload 0 /* this */
aload 1 /* xctxt */
ldc "WG_SECURITY_EXCEPTION"
33: .line 113
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2 /* fullName */
aastore
34: .line 112
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncSystemProperty.warn:(Lcom/sun/org/apache/xpath/internal/XPathContext;Ljava/lang/String;[Ljava/lang/Object;)V
35: .line 115
getstatic com.sun.org.apache.xpath.internal.objects.XString.EMPTYSTRING:Lcom/sun/org/apache/xpath/internal/objects/XString;
areturn
end local 8 // java.lang.String namespace
end local 7 // java.lang.String prefix
36: .line 123
StackMap locals:
StackMap stack:
aload 2 /* fullName */
invokestatic jdk.xml.internal.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* result */
start local 4 // java.lang.String result
37: .line 125
aload 4 /* result */
ifnonnull 45
38: .line 129
getstatic com.sun.org.apache.xpath.internal.objects.XString.EMPTYSTRING:Lcom/sun/org/apache/xpath/internal/objects/XString;
39: areturn
end local 4 // java.lang.String result
40: .line 132
StackMap locals:
StackMap stack: java.lang.SecurityException
pop
41: .line 134
aload 0 /* this */
aload 1 /* xctxt */
ldc "WG_SECURITY_EXCEPTION"
42: .line 135
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2 /* fullName */
aastore
43: .line 134
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncSystemProperty.warn:(Lcom/sun/org/apache/xpath/internal/XPathContext;Ljava/lang/String;[Ljava/lang/Object;)V
44: .line 137
getstatic com.sun.org.apache.xpath.internal.objects.XString.EMPTYSTRING:Lcom/sun/org/apache/xpath/internal/objects/XString;
areturn
start local 4 // java.lang.String result
45: .line 141
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncSystemProperty com.sun.org.apache.xpath.internal.XPathContext java.lang.String int java.lang.String java.lang.String java.util.Properties
StackMap stack:
aload 5 /* propName */
ldc "version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 50
aload 4 /* result */
invokevirtual java.lang.String.length:()I
ifle 50
46: .line 146
new com.sun.org.apache.xpath.internal.objects.XString
dup
ldc "1.0"
invokespecial com.sun.org.apache.xpath.internal.objects.XString.<init>:(Ljava/lang/String;)V
47: areturn
48: .line 148
StackMap locals:
StackMap stack: java.lang.Exception
pop
49: .line 150
new com.sun.org.apache.xpath.internal.objects.XString
dup
aload 4 /* result */
invokespecial com.sun.org.apache.xpath.internal.objects.XString.<init>:(Ljava/lang/String;)V
areturn
50: .line 154
StackMap locals:
StackMap stack:
new com.sun.org.apache.xpath.internal.objects.XString
dup
aload 4 /* result */
invokespecial com.sun.org.apache.xpath.internal.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 6 // java.util.Properties xsltInfo
end local 5 // java.lang.String propName
end local 4 // java.lang.String result
end local 3 // int indexOfNSSep
end local 2 // java.lang.String fullName
end local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSystemProperty this
LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSystemProperty;
0 51 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 51 2 fullName Ljava/lang/String;
2 51 3 indexOfNSSep I
18 23 4 result Ljava/lang/String;
28 31 4 result Ljava/lang/String;
37 40 4 result Ljava/lang/String;
45 51 4 result Ljava/lang/String;
3 51 5 propName Ljava/lang/String;
4 51 6 xsltInfo Ljava/util/Properties;
10 36 7 prefix Ljava/lang/String;
11 36 8 namespace Ljava/lang/String;
Exception table:
from to target type
27 30 31 Class java.lang.SecurityException
36 39 40 Class java.lang.SecurityException
46 47 48 Class java.lang.Exception
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
private void loadPropertyFile(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncSystemProperty this
start local 1 // java.util.Properties target
0: .line 167
ldc "com/sun/org/apache/xalan/internal/res/XSLTInfo.properties"
invokestatic jdk.xml.internal.SecuritySupport.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2 /* is */
start local 2 // java.io.InputStream is
1: .line 170
aconst_null
astore 3
aconst_null
astore 4
2: new java.io.BufferedInputStream
dup
aload 2 /* is */
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 5 /* bis */
start local 5 // java.io.BufferedInputStream bis
3: .line 171
aload 1 /* target */
aload 5 /* bis */
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
4: .line 172
aload 5 /* bis */
ifnull 12
aload 5 /* bis */
invokevirtual java.io.BufferedInputStream.close:()V
goto 12
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncSystemProperty java.util.Properties java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.BufferedInputStream
StackMap stack: java.lang.Throwable
5: astore 3
aload 5 /* bis */
ifnull 6
aload 5 /* bis */
invokevirtual java.io.BufferedInputStream.close:()V
end local 5 // java.io.BufferedInputStream bis
StackMap locals:
StackMap stack:
6: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 4
aload 3
ifnonnull 8
aload 4
astore 3
goto 9
StackMap locals:
StackMap stack:
8: aload 3
aload 4
if_acmpeq 9
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 3
athrow
end local 2 // java.io.InputStream is
10: .line 174
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncSystemProperty java.util.Properties
StackMap stack: java.lang.Exception
astore 2 /* ex */
start local 2 // java.lang.Exception ex
11: .line 177
new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException
dup
aload 2 /* ex */
invokespecial com.sun.org.apache.xml.internal.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 // java.lang.Exception ex
12: .line 179
StackMap locals:
StackMap stack:
return
end local 1 // java.util.Properties target
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSystemProperty this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSystemProperty;
0 13 1 target Ljava/util/Properties;
1 10 2 is Ljava/io/InputStream;
3 6 5 bis Ljava/io/BufferedInputStream;
11 12 2 ex Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 any
2 7 7 any
0 10 10 Class java.lang.Exception
MethodParameters:
Name Flags
target
}
SourceFile: "FuncSystemProperty.java"