class org.eclipse.jgit.transport.InternalFetchConnection<C> extends org.eclipse.jgit.transport.BasePackFetchConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jgit.transport.InternalFetchConnection
super_class: org.eclipse.jgit.transport.BasePackFetchConnection
{
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.UploadPackFactory<C>, C, org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/transport/PackTransport;Lorg/eclipse/jgit/transport/resolver/UploadPackFactory;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.InternalFetchConnection this
start local 1 // org.eclipse.jgit.transport.PackTransport transport
start local 2 // org.eclipse.jgit.transport.resolver.UploadPackFactory uploadPackFactory
start local 3 // java.lang.Object req
start local 4 // org.eclipse.jgit.lib.Repository remote
0: .line 45
aload 0 /* this */
aload 1 /* transport */
invokespecial org.eclipse.jgit.transport.BasePackFetchConnection.<init>:(Lorg/eclipse/jgit/transport/PackTransport;)V
1: .line 53
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 54
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 56
new org.eclipse.jgit.transport.InternalFetchConnection$1
dup
aload 0 /* this */
invokespecial org.eclipse.jgit.transport.InternalFetchConnection$1.<init>:(Lorg/eclipse/jgit/transport/InternalFetchConnection;)V
astore 7 /* out_r */
start local 7 // java.io.PipedInputStream out_r
4: .line 65
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 66
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.InternalFetchConnection org.eclipse.jgit.transport.PackTransport org.eclipse.jgit.transport.resolver.UploadPackFactory 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 67
aload 4 /* remote */
invokevirtual org.eclipse.jgit.lib.Repository.close:()V
8: .line 68
new org.eclipse.jgit.errors.TransportException
dup
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalFetchConnection.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 71
StackMap locals: org.eclipse.jgit.transport.InternalFetchConnection org.eclipse.jgit.transport.PackTransport org.eclipse.jgit.transport.resolver.UploadPackFactory 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.InternalFetchConnection$2
dup
aload 0 /* this */
ldc "JGit-Upload-Pack"
aload 7 /* out_r */
aload 6 /* in_w */
aload 4 /* remote */
aload 2 /* uploadPackFactory */
aload 3 /* req */
invokespecial org.eclipse.jgit.transport.InternalFetchConnection$2.<init>:(Lorg/eclipse/jgit/transport/InternalFetchConnection;Ljava/lang/String;Ljava/io/PipedInputStream;Ljava/io/PipedOutputStream;Lorg/eclipse/jgit/lib/Repository;Lorg/eclipse/jgit/transport/resolver/UploadPackFactory;Ljava/lang/Object;)V
putfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
10: .line 100
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
11: .line 102
aload 0 /* this */
aload 5 /* in_r */
aload 8 /* out_w */
invokevirtual org.eclipse.jgit.transport.InternalFetchConnection.init:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
12: .line 103
aload 0 /* this */
invokevirtual org.eclipse.jgit.transport.InternalFetchConnection.readAdvertisedRefs:()V
13: .line 104
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.UploadPackFactory uploadPackFactory
end local 1 // org.eclipse.jgit.transport.PackTransport transport
end local 0 // org.eclipse.jgit.transport.InternalFetchConnection this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jgit/transport/InternalFetchConnection<TC;>;
0 14 1 transport Lorg/eclipse/jgit/transport/PackTransport;
0 14 2 uploadPackFactory Lorg/eclipse/jgit/transport/resolver/UploadPackFactory<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/UploadPackFactory<TC;>;TC;Lorg/eclipse/jgit/lib/Repository;)V
MethodParameters:
Name Flags
transport
uploadPackFactory 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.InternalFetchConnection this
0: .line 109
aload 0 /* this */
invokespecial org.eclipse.jgit.transport.BasePackFetchConnection.close:()V
1: .line 112
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
ifnull 9
2: .line 113
aload 0 /* this */
getfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
invokevirtual java.lang.Thread.join:()V
3: .line 115
goto 9
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: .line 118
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
goto 10
6: .line 117
StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: .line 118
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
8: .line 119
aload 1
athrow
9: .line 118
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.InternalFetchConnection.worker:Ljava/lang/Thread;
10: .line 120
StackMap locals:
StackMap stack:
return
end local 0 // org.eclipse.jgit.transport.InternalFetchConnection this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jgit/transport/InternalFetchConnection<TC;>;
Exception table:
from to target type
1 3 4 Class java.lang.InterruptedException
1 5 6 any
}
Signature: <C:Ljava/lang/Object;>Lorg/eclipse/jgit/transport/BasePackFetchConnection;
SourceFile: "InternalFetchConnection.java"
NestMembers:
org.eclipse.jgit.transport.InternalFetchConnection$1 org.eclipse.jgit.transport.InternalFetchConnection$2
InnerClasses:
org.eclipse.jgit.transport.InternalFetchConnection$1
org.eclipse.jgit.transport.InternalFetchConnection$2