class sun.security.provider.FileInputStreamPool
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.provider.FileInputStreamPool
super_class: java.lang.Object
{
private static final java.util.concurrent.ConcurrentMap<java.io.File, sun.security.provider.FileInputStreamPool$StreamRef> pool;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/io/File;Lsun/security/provider/FileInputStreamPool$StreamRef;>;
private static final java.lang.ref.ReferenceQueue<sun.security.provider.FileInputStreamPool$UnclosableInputStream> refQueue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ref/ReferenceQueue<Lsun/security/provider/FileInputStreamPool$UnclosableInputStream;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
1: putstatic sun.security.provider.FileInputStreamPool.pool:Ljava/util/concurrent/ConcurrentMap;
2: new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
3: putstatic sun.security.provider.FileInputStreamPool.refQueue:Ljava/lang/ref/ReferenceQueue;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/FileInputStreamPool;
static java.io.InputStream getInputStream(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/InputStream;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: goto 2
start local 1 1: StackMap locals: sun.security.provider.FileInputStreamPool$StreamRef
StackMap stack:
getstatic sun.security.provider.FileInputStreamPool.pool:Ljava/util/concurrent/ConcurrentMap;
aload 1
getfield sun.security.provider.FileInputStreamPool$StreamRef.file:Ljava/io/File;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
end local 1 2: StackMap locals:
StackMap stack:
getstatic sun.security.provider.FileInputStreamPool.refQueue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast sun.security.provider.FileInputStreamPool$StreamRef
dup
astore 1
start local 1 3: ifnonnull 1
4: aload 0
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 2
start local 2 5: getstatic sun.security.provider.FileInputStreamPool.pool:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.provider.FileInputStreamPool$StreamRef
astore 1
6: aload 1
ifnonnull 8
7: aconst_null
goto 9
8: StackMap locals: sun.security.provider.FileInputStreamPool$StreamRef java.io.File
StackMap stack:
aload 1
invokevirtual sun.security.provider.FileInputStreamPool$StreamRef.get:()Ljava/lang/Object;
checkcast sun.security.provider.FileInputStreamPool$UnclosableInputStream
9: StackMap locals:
StackMap stack: sun.security.provider.FileInputStreamPool$UnclosableInputStream
astore 3
start local 3 10: aconst_null
astore 4
start local 4 11: aconst_null
astore 5
start local 5 12: StackMap locals: sun.security.provider.FileInputStreamPool$UnclosableInputStream sun.security.provider.FileInputStreamPool$StreamRef sun.security.provider.FileInputStreamPool$UnclosableInputStream
StackMap stack:
aload 3
ifnull 18
13: aload 5
ifnull 17
14: aload 5
invokevirtual sun.security.provider.FileInputStreamPool$UnclosableInputStream.getWrappedStream:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
15: goto 17
StackMap locals:
StackMap stack: java.io.IOException
16: pop
17: StackMap locals:
StackMap stack:
aload 3
areturn
18: StackMap locals:
StackMap stack:
aload 5
ifnonnull 23
19: new sun.security.provider.FileInputStreamPool$UnclosableInputStream
dup
20: new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
21: invokespecial sun.security.provider.FileInputStreamPool$UnclosableInputStream.<init>:(Ljava/io/InputStream;)V
astore 5
22: new sun.security.provider.FileInputStreamPool$StreamRef
dup
aload 2
aload 5
getstatic sun.security.provider.FileInputStreamPool.refQueue:Ljava/lang/ref/ReferenceQueue;
invokespecial sun.security.provider.FileInputStreamPool$StreamRef.<init>:(Ljava/io/File;Lsun/security/provider/FileInputStreamPool$UnclosableInputStream;Ljava/lang/ref/ReferenceQueue;)V
astore 4
23: StackMap locals:
StackMap stack:
aload 1
ifnonnull 26
24: getstatic sun.security.provider.FileInputStreamPool.pool:Ljava/util/concurrent/ConcurrentMap;
aload 2
aload 4
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.provider.FileInputStreamPool$StreamRef
astore 1
25: goto 30
26: StackMap locals:
StackMap stack:
getstatic sun.security.provider.FileInputStreamPool.pool:Ljava/util/concurrent/ConcurrentMap;
aload 2
aload 1
aload 4
invokeinterface java.util.concurrent.ConcurrentMap.replace:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 28
27: aconst_null
goto 29
28: StackMap locals:
StackMap stack:
getstatic sun.security.provider.FileInputStreamPool.pool:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.provider.FileInputStreamPool$StreamRef
29: StackMap locals:
StackMap stack: sun.security.provider.FileInputStreamPool$StreamRef
astore 1
30: StackMap locals:
StackMap stack:
aload 1
ifnonnull 32
31: aload 5
areturn
32: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.provider.FileInputStreamPool$StreamRef.get:()Ljava/lang/Object;
checkcast sun.security.provider.FileInputStreamPool$UnclosableInputStream
astore 3
33: goto 12
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 file Ljava/io/File;
1 2 1 oldRref Lsun/security/provider/FileInputStreamPool$StreamRef;
3 34 1 oldRref Lsun/security/provider/FileInputStreamPool$StreamRef;
5 34 2 cfile Ljava/io/File;
10 34 3 oldStream Lsun/security/provider/FileInputStreamPool$UnclosableInputStream;
11 34 4 newRef Lsun/security/provider/FileInputStreamPool$StreamRef;
12 34 5 newStream Lsun/security/provider/FileInputStreamPool$UnclosableInputStream;
Exception table:
from to target type
14 15 16 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
}
SourceFile: "FileInputStreamPool.java"
NestMembers:
sun.security.provider.FileInputStreamPool$StreamRef sun.security.provider.FileInputStreamPool$UnclosableInputStream
InnerClasses:
private StreamRef = sun.security.provider.FileInputStreamPool$StreamRef of sun.security.provider.FileInputStreamPool
private final UnclosableInputStream = sun.security.provider.FileInputStreamPool$UnclosableInputStream of sun.security.provider.FileInputStreamPool