class org.graalvm.component.installer.ChunkedConnection$1 extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.component.installer.ChunkedConnection$1
super_class: java.io.InputStream
{
final org.graalvm.component.installer.ChunkedConnection this$0;
descriptor: Lorg/graalvm/component/installer/ChunkedConnection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.graalvm.component.installer.ChunkedConnection);
descriptor: (Lorg/graalvm/component/installer/ChunkedConnection;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.graalvm.component.installer.ChunkedConnection$1 this
0: .line 64
aload 0 /* this */
aload 1
putfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
aload 0 /* this */
invokespecial java.io.InputStream.<init>:()V
return
end local 0 // org.graalvm.component.installer.ChunkedConnection$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/ChunkedConnection$1;
MethodParameters:
Name Flags
this$0 final
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 // org.graalvm.component.installer.ChunkedConnection$1 this
0: .line 67
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
dup
astore 1
monitorenter
1: .line 68
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
getfield org.graalvm.component.installer.ChunkedConnection.nextChunk:J
lconst_0
lcmp
ifne 7
2: .line 69
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
getfield org.graalvm.component.installer.ChunkedConnection.reachedSem:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.release:()V
3: .line 71
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
getfield org.graalvm.component.installer.ChunkedConnection.nextSem:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.acquire:()V
4: .line 72
goto 7
StackMap locals: org.graalvm.component.installer.ChunkedConnection$1 org.graalvm.component.installer.ChunkedConnection
StackMap stack: java.lang.InterruptedException
5: astore 2 /* ex */
start local 2 // java.lang.InterruptedException ex
6: .line 73
ldc Lorg/graalvm/component/installer/remote/FileDownloaderTest;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 2 /* ex */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 // java.lang.InterruptedException ex
7: .line 76
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
getfield org.graalvm.component.installer.ChunkedConnection.readException:Ljava/io/IOException;
ifnull 9
8: .line 77
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
getfield org.graalvm.component.installer.ChunkedConnection.readException:Ljava/io/IOException;
athrow
9: .line 79
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
dup
getfield org.graalvm.component.installer.ChunkedConnection.nextChunk:J
lconst_1
lsub
putfield org.graalvm.component.installer.ChunkedConnection.nextChunk:J
10: .line 80
aload 0 /* this */
getfield org.graalvm.component.installer.ChunkedConnection$1.this$0:Lorg/graalvm/component/installer/ChunkedConnection;
getfield org.graalvm.component.installer.ChunkedConnection.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
aload 1
monitorexit
11: ireturn
12: .line 67
StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
13: athrow
end local 0 // org.graalvm.component.installer.ChunkedConnection$1 this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/component/installer/ChunkedConnection$1;
6 7 2 ex Ljava/lang/InterruptedException;
Exception table:
from to target type
3 4 5 Class java.lang.InterruptedException
1 11 12 any
12 13 12 any
Exceptions:
throws java.io.IOException
}
SourceFile: "ChunkedConnection.java"
EnclosingMethod: org.graalvm.component.installer.ChunkedConnection.getInputStream:()Ljava/io/InputStream;
NestHost: org.graalvm.component.installer.ChunkedConnection
InnerClasses:
org.graalvm.component.installer.ChunkedConnection$1