class org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection extends org.eclipse.jgit.transport.BasePackFetchConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection
super_class: org.eclipse.jgit.transport.BasePackFetchConnection
{
private java.lang.Process uploadPack;
descriptor: Ljava/lang/Process;
flags: (0x0002) ACC_PRIVATE
private java.lang.Thread errorReaderThread;
descriptor: Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jgit.transport.TransportLocal this$0;
descriptor: Lorg/eclipse/jgit/transport/TransportLocal;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.eclipse.jgit.transport.TransportLocal);
descriptor: (Lorg/eclipse/jgit/transport/TransportLocal;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 // org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection this
0: .line 253
aload 0 /* this */
aload 1
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.this$0:Lorg/eclipse/jgit/transport/TransportLocal;
1: .line 254
aload 0 /* this */
aload 1
invokespecial org.eclipse.jgit.transport.BasePackFetchConnection.<init>:(Lorg/eclipse/jgit/transport/PackTransport;)V
2: .line 256
new org.eclipse.jgit.util.io.MessageWriter
dup
invokespecial org.eclipse.jgit.util.io.MessageWriter.<init>:()V
astore 2 /* msg */
start local 2 // org.eclipse.jgit.util.io.MessageWriter msg
3: .line 257
aload 0 /* this */
aload 2 /* msg */
invokevirtual org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.setMessageWriter:(Ljava/io/Writer;)V
4: .line 259
aload 0 /* this */
aload 1
aload 1
invokevirtual org.eclipse.jgit.transport.TransportLocal.getOptionUploadPack:()Ljava/lang/String;
invokevirtual org.eclipse.jgit.transport.TransportLocal.spawn:(Ljava/lang/String;)Ljava/lang/Process;
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
5: .line 261
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
invokevirtual java.lang.Process.getErrorStream:()Ljava/io/InputStream;
astore 3 /* upErr */
start local 3 // java.io.InputStream upErr
6: .line 262
aload 0 /* this */
new org.eclipse.jgit.util.io.StreamCopyThread
dup
aload 3 /* upErr */
aload 2 /* msg */
invokevirtual org.eclipse.jgit.util.io.MessageWriter.getRawStream:()Ljava/io/OutputStream;
invokespecial org.eclipse.jgit.util.io.StreamCopyThread.<init>:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
7: .line 263
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
8: .line 265
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
astore 4 /* upIn */
start local 4 // java.io.InputStream upIn
9: .line 266
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
invokevirtual java.lang.Process.getOutputStream:()Ljava/io/OutputStream;
astore 5 /* upOut */
start local 5 // java.io.OutputStream upOut
10: .line 268
new java.io.BufferedInputStream
dup
aload 4 /* upIn */
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 4 /* upIn */
11: .line 269
new java.io.BufferedOutputStream
dup
aload 5 /* upOut */
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5 /* upOut */
12: .line 271
aload 0 /* this */
aload 4 /* upIn */
aload 5 /* upOut */
invokevirtual org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.init:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
13: .line 272
aload 0 /* this */
invokevirtual org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.readAdvertisedRefs:()V
14: .line 273
return
end local 5 // java.io.OutputStream upOut
end local 4 // java.io.InputStream upIn
end local 3 // java.io.InputStream upErr
end local 2 // org.eclipse.jgit.util.io.MessageWriter msg
end local 0 // org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jgit/transport/TransportLocal$ForkLocalFetchConnection;
3 15 2 msg Lorg/eclipse/jgit/util/io/MessageWriter;
6 15 3 upErr Ljava/io/InputStream;
9 15 4 upIn Ljava/io/InputStream;
10 15 5 upOut Ljava/io/OutputStream;
Exceptions:
throws org.eclipse.jgit.errors.TransportException
MethodParameters:
Name Flags
this$0 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.TransportLocal$ForkLocalFetchConnection this
0: .line 277
aload 0 /* this */
invokespecial org.eclipse.jgit.transport.BasePackFetchConnection.close:()V
1: .line 279
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
ifnull 10
2: .line 281
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
invokevirtual java.lang.Process.waitFor:()I
pop
3: .line 282
goto 9
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: .line 285
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
goto 10
6: .line 284
StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: .line 285
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
8: .line 286
aload 1
athrow
9: .line 285
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.uploadPack:Ljava/lang/Process;
10: .line 289
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
ifnull 19
11: .line 291
aload 0 /* this */
getfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.join:()V
12: .line 292
goto 18
StackMap locals:
StackMap stack: java.lang.InterruptedException
13: pop
14: .line 295
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
goto 19
15: .line 294
StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
16: .line 295
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
17: .line 296
aload 1
athrow
18: .line 295
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
putfield org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection.errorReaderThread:Ljava/lang/Thread;
19: .line 298
StackMap locals:
StackMap stack:
return
end local 0 // org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/eclipse/jgit/transport/TransportLocal$ForkLocalFetchConnection;
Exception table:
from to target type
2 3 4 Class java.lang.InterruptedException
2 5 6 any
11 12 13 Class java.lang.InterruptedException
11 14 15 any
}
SourceFile: "TransportLocal.java"
NestHost: org.eclipse.jgit.transport.TransportLocal
InnerClasses:
ForkLocalFetchConnection = org.eclipse.jgit.transport.TransportLocal$ForkLocalFetchConnection of org.eclipse.jgit.transport.TransportLocal