class org.eclipse.jgit.transport.InternalPushConnection<C> extends org.eclipse.jgit.transport.BasePackPushConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jgit.transport.InternalPushConnection
super_class: org.eclipse.jgit.transport.BasePackPushConnection
{
private java.lang.Thread worker;
descriptor: Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.jgit.transport.PackTransport, org.eclipse.jgit.transport.resolver.ReceivePackFactory<C>, C, org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/transport/PackTransport;Lorg/eclipse/jgit/transport/resolver/ReceivePackFactory;Ljava/lang/Object;Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=10, args_size=5
start local 0 // org.eclipse.jgit.transport.InternalPushConnection this
start local 1 // org.eclipse.jgit.transport.PackTransport transport
start local 2 // org.eclipse.jgit.transport.resolver.ReceivePackFactory receivePackFactory
start local 3 // java.lang.Object req
start local 4 // org.eclipse.jgit.lib.Repository remote
0: .line 46
aload 0 /* this */
aload 1 /* transport */
invokespecial org.eclipse.jgit.transport.BasePackPushConnection.<init>:(Lorg/eclipse/jgit/transport/PackTransport;)V
1: .line 54
new java.io.PipedInputStream
dup
invokespecial java.io.PipedInputStream.<init>:()V
astore 5 /* in_r */
start local 5 // java.io.PipedInputStream in_r
2: .line 55
new java.io.PipedOutputStream
dup
aload 5 /* in_r */
invokespecial java.io.PipedOutputStream.<init>:(Ljava/io/PipedInputStream;)V
astore 6 /* in_w */
start local 6 // java.io.PipedOutputStream in_w
3: .line 57
new java.io.PipedInputStream
dup
invokespecial java.io.PipedInputStream.<init>:()V
astore 7 /* out_r */
start local 7 // java.io.PipedInputStream out_r
4: .line 58
new java.io.PipedOutputStream
dup
aload 7 /* out_r */
invokespecial java.io.PipedOutputStream.<init>:(Ljava/io/PipedInputStream;)V
astore 8 /* out_w */
start local 8 // java.io.PipedOutputStream out_w
5: .line 59
goto 9
end local 8 // java.io.PipedOutputStream out_w
end local 7 // java.io.PipedInputStream out_r
end local 6 // java.io.PipedOutputStream in_w
end local 5 // java.io.PipedInputStream in_r
StackMap locals: org.eclipse.jgit.transport.InternalPushConnection org.eclipse.jgit.transport.PackTransport org.eclipse.jgit.transport.resolver.ReceivePackFactory java.lang.Object org.eclipse.jgit.lib.Repository
StackMap stack: java.io.IOException
6: astore 9 /* err */
start local 9 // java.io.IOException err
7: .line 60
aload 4 /* remote */
invokevirtual org.eclipse.jgit.lib.Repository.close:()V
8: .line 61
new org.eclipse.jgit.errors.TransportException
dup
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalPushConnection.uri:Lorg/eclipse/jgit/transport/URIish;
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotConnectPipes:Ljava/lang/String;
aload 9 /* err */
invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 // java.io.IOException err
start local 5 // java.io.PipedInputStream in_r
start local 6 // java.io.PipedOutputStream in_w
start local 7 // java.io.PipedInputStream out_r
start local 8 // java.io.PipedOutputStream out_w
9: .line 64
StackMap locals: org.eclipse.jgit.transport.InternalPushConnection org.eclipse.jgit.transport.PackTransport org.eclipse.jgit.transport.resolver.ReceivePackFactory java.lang.Object org.eclipse.jgit.lib.Repository java.io.PipedInputStream java.io.PipedOutputStream java.io.PipedInputStream java.io.PipedOutputStream
StackMap stack:
aload 0 /* this */
new org.eclipse.jgit.transport.InternalPushConnection$1
dup
aload 0 /* this */
ldc "JGit-Receive-Pack"
aload 7 /* out_r */
aload 6 /* in_w */
aload 4 /* remote */
aload 2 /* receivePackFactory */
aload 3 /* req */
invokespecial org.eclipse.jgit.transport.InternalPushConnection$1.<init>:(Lorg/eclipse/jgit/transport/InternalPushConnection;Ljava/lang/String;Ljava/io/PipedInputStream;Ljava/io/PipedOutputStream;Lorg/eclipse/jgit/lib/Repository;Lorg/eclipse/jgit/transport/resolver/ReceivePackFactory;Ljava/lang/Object;)V
putfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
10: .line 96
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
11: .line 98
aload 0 /* this */
aload 5 /* in_r */
aload 8 /* out_w */
invokevirtual org.eclipse.jgit.transport.InternalPushConnection.init:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
12: .line 99
aload 0 /* this */
invokevirtual org.eclipse.jgit.transport.InternalPushConnection.readAdvertisedRefs:()V
13: .line 100
return
end local 8 // java.io.PipedOutputStream out_w
end local 7 // java.io.PipedInputStream out_r
end local 6 // java.io.PipedOutputStream in_w
end local 5 // java.io.PipedInputStream in_r
end local 4 // org.eclipse.jgit.lib.Repository remote
end local 3 // java.lang.Object req
end local 2 // org.eclipse.jgit.transport.resolver.ReceivePackFactory receivePackFactory
end local 1 // org.eclipse.jgit.transport.PackTransport transport
end local 0 // org.eclipse.jgit.transport.InternalPushConnection this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jgit/transport/InternalPushConnection<TC;>;
0 14 1 transport Lorg/eclipse/jgit/transport/PackTransport;
0 14 2 receivePackFactory Lorg/eclipse/jgit/transport/resolver/ReceivePackFactory<TC;>;
0 14 3 req TC;
0 14 4 remote Lorg/eclipse/jgit/lib/Repository;
2 6 5 in_r Ljava/io/PipedInputStream;
9 14 5 in_r Ljava/io/PipedInputStream;
3 6 6 in_w Ljava/io/PipedOutputStream;
9 14 6 in_w Ljava/io/PipedOutputStream;
4 6 7 out_r Ljava/io/PipedInputStream;
9 14 7 out_r Ljava/io/PipedInputStream;
5 6 8 out_w Ljava/io/PipedOutputStream;
9 14 8 out_w Ljava/io/PipedOutputStream;
7 9 9 err Ljava/io/IOException;
Exception table:
from to target type
1 5 6 Class java.io.IOException
Exceptions:
throws org.eclipse.jgit.errors.TransportException
Signature: (Lorg/eclipse/jgit/transport/PackTransport;Lorg/eclipse/jgit/transport/resolver/ReceivePackFactory<TC;>;TC;Lorg/eclipse/jgit/lib/Repository;)V
MethodParameters:
Name Flags
transport
receivePackFactory final
req final
remote final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 // org.eclipse.jgit.transport.InternalPushConnection this
0: .line 105
aload 0 /* this */
invokespecial org.eclipse.jgit.transport.BasePackPushConnection.close:()V
1: .line 107
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
ifnull 10
2: .line 109
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
invokevirtual java.lang.Thread.join:()V
3: .line 110
goto 9
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: .line 113
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
goto 10
6: .line 112
StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: .line 113
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
8: .line 114
aload 1
athrow
9: .line 113
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.InternalPushConnection.worker:Ljava/lang/Thread;
10: .line 116
StackMap locals:
StackMap stack:
return
end local 0 // org.eclipse.jgit.transport.InternalPushConnection this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jgit/transport/InternalPushConnection<TC;>;
Exception table:
from to target type
2 3 4 Class java.lang.InterruptedException
2 5 6 any
}
Signature: <C:Ljava/lang/Object;>Lorg/eclipse/jgit/transport/BasePackPushConnection;
SourceFile: "InternalPushConnection.java"
NestMembers:
org.eclipse.jgit.transport.InternalPushConnection$1
InnerClasses:
org.eclipse.jgit.transport.InternalPushConnection$1