class org.eclipse.jgit.transport.BundleFetchConnection extends org.eclipse.jgit.transport.BaseFetchConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jgit.transport.BundleFetchConnection
super_class: org.eclipse.jgit.transport.BaseFetchConnection
{
private final org.eclipse.jgit.transport.Transport transport;
descriptor: Lorg/eclipse/jgit/transport/Transport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.io.InputStream bin;
descriptor: Ljava/io/InputStream;
flags: (0x0000)
final java.util.Map<org.eclipse.jgit.lib.ObjectId, java.lang.String> prereqs;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Lorg/eclipse/jgit/lib/ObjectId;Ljava/lang/String;>;
private java.lang.String lockMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.internal.storage.file.PackLock packLock;
descriptor: Lorg/eclipse/jgit/internal/storage/file/PackLock;
flags: (0x0002) ACC_PRIVATE
void <init>(org.eclipse.jgit.transport.Transport, java.io.InputStream);
descriptor: (Lorg/eclipse/jgit/transport/Transport;Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.eclipse.jgit.transport.BaseFetchConnection.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.eclipse.jgit.transport.BundleFetchConnection.prereqs:Ljava/util/Map;
2: aload 0
aload 1
putfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
3: aload 0
new java.io.BufferedInputStream
dup
aload 2
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
putfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
4: aload 0
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.readSignature:()I
tableswitch { // 2 - 2
2: 5
default: 7
}
5: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection org.eclipse.jgit.transport.Transport java.io.InputStream
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.readBundleV2:()V
6: goto 14
7: StackMap locals:
StackMap stack:
new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.notABundle:Ljava/lang/String;
invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack: org.eclipse.jgit.errors.TransportException
astore 3
start local 3 9: aload 0
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.close:()V
10: aload 3
athrow
end local 3 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 12: aload 0
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.close:()V
13: new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 3
invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
0 15 1 transportBundle Lorg/eclipse/jgit/transport/Transport;
0 15 2 src Ljava/io/InputStream;
9 11 3 err Lorg/eclipse/jgit/errors/TransportException;
12 14 3 err Ljava/lang/Exception;
Exception table:
from to target type
4 8 8 Class org.eclipse.jgit.errors.TransportException
4 8 11 Class java.io.IOException
4 8 11 Class java.lang.RuntimeException
Exceptions:
throws org.eclipse.jgit.errors.TransportException
MethodParameters:
Name Flags
transportBundle
src
private int readSignature();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
sipush 1024
newarray 8
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.readLine:([B)Ljava/lang/String;
astore 1
start local 1 1: ldc "# v2 git bundle"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_2
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.notABundle:Ljava/lang/String;
invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
1 4 1 rev Ljava/lang/String;
Exceptions:
throws java.io.IOException
private void readBundleV2();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=1
start local 0 0: sipush 1024
newarray 8
astore 1
start local 1 1: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2
start local 2 2: StackMap locals: byte[] java.util.LinkedHashMap
StackMap stack:
aload 0
aload 1
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.readLine:([B)Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.length:()I
ifne 5
4: goto 19
5: StackMap locals: java.lang.String
StackMap stack:
aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 12
6: aload 3
iconst_1
bipush 41
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.ObjectId.fromString:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId;
astore 4
start local 4 7: aconst_null
astore 5
start local 5 8: aload 3
invokevirtual java.lang.String.length:()I
bipush 42
if_icmple 10
9: aload 3
bipush 42
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
10: StackMap locals: org.eclipse.jgit.lib.ObjectId java.lang.String
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.prereqs:Ljava/util/Map;
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 2
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 3
bipush 41
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 13: aload 3
iconst_0
bipush 40
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.ObjectId.fromString:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId;
astore 5
start local 5 14: aload 2
aload 4
new org.eclipse.jgit.lib.ObjectIdRef$Unpeeled
dup
15: getstatic org.eclipse.jgit.lib.Ref$Storage.NETWORK:Lorg/eclipse/jgit/lib/Ref$Storage;
aload 4
aload 5
invokespecial org.eclipse.jgit.lib.ObjectIdRef$Unpeeled.<init>:(Lorg/eclipse/jgit/lib/Ref$Storage;Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectId;)V
16: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.Ref
astore 6
start local 6 17: aload 6
ifnull 2
18: aload 0
aload 4
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.duplicateAdvertisement:(Ljava/lang/String;)Lorg/eclipse/jgit/errors/PackProtocolException;
athrow
end local 6 end local 5 end local 4 end local 3 19: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.available:(Ljava/util/Map;)V
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
1 21 1 hdrbuf [B
2 21 2 avail Ljava/util/LinkedHashMap<Ljava/lang/String;Lorg/eclipse/jgit/lib/Ref;>;
3 19 3 line Ljava/lang/String;
7 12 4 id Lorg/eclipse/jgit/lib/ObjectId;
8 12 5 shortDesc Ljava/lang/String;
13 19 4 name Ljava/lang/String;
14 19 5 id Lorg/eclipse/jgit/lib/ObjectId;
17 19 6 prior Lorg/eclipse/jgit/lib/Ref;
Exceptions:
throws java.io.IOException
private org.eclipse.jgit.errors.PackProtocolException duplicateAdvertisement(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/errors/PackProtocolException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.jgit.errors.PackProtocolException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
1: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.duplicateAdvertisementsOf:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2: invokespecial org.eclipse.jgit.errors.PackProtocolException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private java.lang.String readLine(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 17
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
aload 1
arraylength
invokevirtual java.io.InputStream.mark:(I)V
4: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
aload 1
invokevirtual java.io.InputStream.read:([B)I
istore 4
start local 4 5: iload 4
ifge 7
6: new java.io.EOFException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.shortReadOfBlock:Ljava/lang/String;
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 8: goto 10
9: StackMap locals: int
StackMap stack:
iinc 5 1
10: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 11
aload 1
iload 5
baload
bipush 10
if_icmpne 9
11: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
12: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
iload 5
i2l
invokestatic org.eclipse.jgit.util.IO.skipFully:(Ljava/io/InputStream;J)V
13: iload 5
iload 4
if_icmpge 16
aload 1
iload 5
baload
bipush 10
if_icmpne 16
14: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
lconst_1
invokestatic org.eclipse.jgit.util.IO.skipFully:(Ljava/io/InputStream;J)V
15: iconst_1
istore 3
16: StackMap locals:
StackMap stack:
aload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
aload 1
iconst_0
iload 5
invokestatic org.eclipse.jgit.util.RawParseUtils.decode:(Ljava/nio/charset/Charset;[BII)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 end local 4 17: StackMap locals:
StackMap stack:
iload 3
ifeq 3
18: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
0 19 1 hdrbuf [B
1 19 2 line Ljava/lang/StringBuilder;
2 19 3 done Z
5 17 4 cnt I
8 17 5 lf I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hdrbuf
public boolean didFetchTestConnectivity();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
protected void doFetch(org.eclipse.jgit.lib.ProgressMonitor, java.util.Collection<org.eclipse.jgit.lib.Ref>, java.util.Set<org.eclipse.jgit.lib.ObjectId>);
descriptor: (Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/Collection;Ljava/util/Set;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.verifyPrerequisites:()V
1: aconst_null
astore 4
aconst_null
astore 5
2: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.local:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.newObjectInserter:()Lorg/eclipse/jgit/lib/ObjectInserter;
astore 6
start local 6 3: aload 6
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
invokevirtual org.eclipse.jgit.lib.ObjectInserter.newPackParser:(Ljava/io/InputStream;)Lorg/eclipse/jgit/transport/PackParser;
astore 7
start local 7 4: aload 7
iconst_1
invokevirtual org.eclipse.jgit.transport.PackParser.setAllowThin:(Z)V
5: aload 7
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
invokevirtual org.eclipse.jgit.transport.Transport.getObjectChecker:()Lorg/eclipse/jgit/lib/ObjectChecker;
invokevirtual org.eclipse.jgit.transport.PackParser.setObjectChecker:(Lorg/eclipse/jgit/lib/ObjectChecker;)V
6: aload 7
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.lockMessage:Ljava/lang/String;
invokevirtual org.eclipse.jgit.transport.PackParser.setLockMessage:(Ljava/lang/String;)V
7: aload 0
aload 7
getstatic org.eclipse.jgit.lib.NullProgressMonitor.INSTANCE:Lorg/eclipse/jgit/lib/NullProgressMonitor;
invokevirtual org.eclipse.jgit.transport.PackParser.parse:(Lorg/eclipse/jgit/lib/ProgressMonitor;)Lorg/eclipse/jgit/internal/storage/file/PackLock;
putfield org.eclipse.jgit.transport.BundleFetchConnection.packLock:Lorg/eclipse/jgit/internal/storage/file/PackLock;
8: aload 6
invokevirtual org.eclipse.jgit.lib.ObjectInserter.flush:()V
end local 7 9: aload 6
ifnull 18
aload 6
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
goto 18
StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection org.eclipse.jgit.lib.ProgressMonitor java.util.Collection java.util.Set java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter
StackMap stack: java.lang.Throwable
10: astore 4
aload 6
ifnull 11
aload 6
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
end local 6 StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 5
aload 4
ifnonnull 13
aload 5
astore 4
goto 14
StackMap locals:
StackMap stack:
13: aload 4
aload 5
if_acmpeq 14
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 4
athrow
15: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection org.eclipse.jgit.lib.ProgressMonitor java.util.Collection java.util.Set
StackMap stack: java.lang.Exception
astore 4
start local 4 16: aload 0
invokevirtual org.eclipse.jgit.transport.BundleFetchConnection.close:()V
17: new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 4
invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
0 19 1 monitor Lorg/eclipse/jgit/lib/ProgressMonitor;
0 19 2 want Ljava/util/Collection<Lorg/eclipse/jgit/lib/Ref;>;
0 19 3 have Ljava/util/Set<Lorg/eclipse/jgit/lib/ObjectId;>;
3 11 6 ins Lorg/eclipse/jgit/lib/ObjectInserter;
4 9 7 parser Lorg/eclipse/jgit/transport/PackParser;
16 18 4 err Ljava/lang/Exception;
Exception table:
from to target type
3 9 10 any
2 12 12 any
1 15 15 Class java.io.IOException
1 15 15 Class java.lang.RuntimeException
Exceptions:
throws org.eclipse.jgit.errors.TransportException
Signature: (Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/Collection<Lorg/eclipse/jgit/lib/Ref;>;Ljava/util/Set<Lorg/eclipse/jgit/lib/ObjectId;>;)V
MethodParameters:
Name Flags
monitor final
want final
have final
public void setPackLockMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.transport.BundleFetchConnection.lockMessage:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public java.util.Collection<org.eclipse.jgit.internal.storage.file.PackLock> getPackLocks();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.packLock:Lorg/eclipse/jgit/internal/storage/file/PackLock;
ifnull 2
1: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.packLock:Lorg/eclipse/jgit/internal/storage/file/PackLock;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
Signature: ()Ljava/util/Collection<Lorg/eclipse/jgit/internal/storage/file/PackLock;>;
private void verifyPrerequisites();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.prereqs:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
aconst_null
astore 2
3: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.local:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 3
start local 3 4: aload 3
ldc "PREREQ"
invokevirtual org.eclipse.jgit.revwalk.RevWalk.newFlag:(Ljava/lang/String;)Lorg/eclipse/jgit/revwalk/RevFlag;
astore 4
start local 4 5: aload 3
ldc "SEEN"
invokevirtual org.eclipse.jgit.revwalk.RevWalk.newFlag:(Ljava/lang/String;)Lorg/eclipse/jgit/revwalk/RevFlag;
astore 5
start local 5 6: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 8: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.prereqs:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 23
StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List top java.util.Iterator
StackMap stack:
9: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 10: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.ObjectId
astore 10
start local 10 11: aload 3
aload 10
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
astore 11
start local 11 12: aload 11
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevCommit.has:(Lorg/eclipse/jgit/revwalk/RevFlag;)Z
ifne 23
13: aload 11
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevCommit.add:(Lorg/eclipse/jgit/revwalk/RevFlag;)V
14: aload 7
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 15: goto 23
StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List java.util.Map$Entry java.util.Iterator org.eclipse.jgit.lib.ObjectId
StackMap stack: org.eclipse.jgit.errors.MissingObjectException
16: pop
17: aload 6
aload 10
aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
goto 23
18: StackMap locals:
StackMap stack: java.io.IOException
astore 11
start local 11 19: new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
20: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotReadCommit:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
invokevirtual org.eclipse.jgit.lib.ObjectId.name:()Ljava/lang/String;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
21: aload 11
22: invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 11 end local 10 end local 8 23: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
24: aload 6
invokeinterface java.util.Map.isEmpty:()Z
ifne 28
25: new org.eclipse.jgit.errors.MissingBundlePrerequisiteException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
26: aload 6
27: invokespecial org.eclipse.jgit.errors.MissingBundlePrerequisiteException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/util/Map;)V
athrow
28: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.local:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.getRefDatabase:()Lorg/eclipse/jgit/lib/RefDatabase;
invokevirtual org.eclipse.jgit.lib.RefDatabase.getRefs:()Ljava/util/List;
astore 8
start local 8 29: goto 32
end local 8 StackMap locals:
StackMap stack: java.io.IOException
30: astore 9
start local 9 31: new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
aload 9
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 9
invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 start local 8 32: StackMap locals: java.util.List
StackMap stack:
aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 37
StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List java.util.List top java.util.Iterator
StackMap stack:
33: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.Ref
astore 9
start local 9 34: aload 3
aload 3
aload 9
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
invokevirtual org.eclipse.jgit.revwalk.RevWalk.markStart:(Lorg/eclipse/jgit/revwalk/RevCommit;)V
35: goto 37
StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List java.util.List org.eclipse.jgit.lib.Ref java.util.Iterator
StackMap stack: java.io.IOException
36: pop
end local 9 37: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 33
38: aload 7
invokeinterface java.util.List.size:()I
istore 9
start local 9 39: goto 44
start local 10 40: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List java.util.List int org.eclipse.jgit.revwalk.RevCommit
StackMap stack:
aload 10
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevCommit.has:(Lorg/eclipse/jgit/revwalk/RevFlag;)Z
ifeq 44
41: aload 10
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevCommit.add:(Lorg/eclipse/jgit/revwalk/RevFlag;)V
42: iinc 9 -1
iload 9
ifne 44
43: goto 51
end local 10 44: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.eclipse.jgit.revwalk.RevWalk.next:()Lorg/eclipse/jgit/revwalk/RevCommit;
dup
astore 10
start local 10 45: ifnonnull 40
end local 10 46: goto 51
StackMap locals:
StackMap stack: java.io.IOException
47: astore 10
start local 10 48: new org.eclipse.jgit.errors.TransportException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
49: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotReadObject:Ljava/lang/String;
aload 10
50: invokespecial org.eclipse.jgit.errors.TransportException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 10 51: StackMap locals:
StackMap stack:
iload 9
ifle 60
52: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 56
StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.revwalk.RevFlag org.eclipse.jgit.revwalk.RevFlag java.util.Map java.util.List java.util.List int top java.util.Iterator
StackMap stack:
53: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.revwalk.RevObject
astore 10
start local 10 54: aload 10
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevObject.has:(Lorg/eclipse/jgit/revwalk/RevFlag;)Z
ifne 56
55: aload 6
aload 10
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.prereqs:Ljava/util/Map;
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 56: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 53
57: new org.eclipse.jgit.errors.MissingBundlePrerequisiteException
dup
aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.transport:Lorg/eclipse/jgit/transport/Transport;
getfield org.eclipse.jgit.transport.Transport.uri:Lorg/eclipse/jgit/transport/URIish;
58: aload 6
59: invokespecial org.eclipse.jgit.errors.MissingBundlePrerequisiteException.<init>:(Lorg/eclipse/jgit/transport/URIish;Ljava/util/Map;)V
athrow
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 60: StackMap locals: org.eclipse.jgit.transport.BundleFetchConnection java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack:
aload 3
ifnull 66
aload 3
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
goto 66
StackMap locals:
StackMap stack: java.lang.Throwable
61: astore 1
aload 3
ifnull 62
aload 3
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 3 StackMap locals:
StackMap stack:
62: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
63: astore 2
aload 1
ifnonnull 64
aload 2
astore 1
goto 65
StackMap locals:
StackMap stack:
64: aload 1
aload 2
if_acmpeq 65
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
65: aload 1
athrow
66: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
4 62 3 rw Lorg/eclipse/jgit/revwalk/RevWalk;
5 60 4 PREREQ Lorg/eclipse/jgit/revwalk/RevFlag;
6 60 5 SEEN Lorg/eclipse/jgit/revwalk/RevFlag;
7 60 6 missing Ljava/util/Map<Lorg/eclipse/jgit/lib/ObjectId;Ljava/lang/String;>;
8 60 7 commits Ljava/util/List<Lorg/eclipse/jgit/revwalk/RevObject;>;
10 23 8 e Ljava/util/Map$Entry<Lorg/eclipse/jgit/lib/ObjectId;Ljava/lang/String;>;
11 23 10 p Lorg/eclipse/jgit/lib/ObjectId;
12 15 11 c Lorg/eclipse/jgit/revwalk/RevCommit;
19 23 11 err Ljava/io/IOException;
29 30 8 localRefs Ljava/util/List<Lorg/eclipse/jgit/lib/Ref;>;
32 60 8 localRefs Ljava/util/List<Lorg/eclipse/jgit/lib/Ref;>;
31 32 9 e Ljava/io/IOException;
34 37 9 r Lorg/eclipse/jgit/lib/Ref;
39 60 9 remaining I
40 44 10 c Lorg/eclipse/jgit/revwalk/RevCommit;
45 46 10 c Lorg/eclipse/jgit/revwalk/RevCommit;
48 51 10 err Ljava/io/IOException;
54 56 10 o Lorg/eclipse/jgit/revwalk/RevObject;
Exception table:
from to target type
11 15 16 Class org.eclipse.jgit.errors.MissingObjectException
11 15 18 Class java.io.IOException
28 29 30 Class java.io.IOException
34 35 36 Class java.io.IOException
39 46 47 Class java.io.IOException
4 60 61 any
3 63 63 any
Exceptions:
throws org.eclipse.jgit.errors.TransportException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
ifnull 9
1: aload 0
getfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
2: goto 8
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: aload 0
aconst_null
putfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
goto 9
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
6: aload 0
aconst_null
putfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
7: aload 1
athrow
8: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jgit.transport.BundleFetchConnection.bin:Ljava/io/InputStream;
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jgit/transport/BundleFetchConnection;
Exception table:
from to target type
1 2 3 Class java.io.IOException
1 4 5 any
}
SourceFile: "BundleFetchConnection.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public Unpeeled = org.eclipse.jgit.lib.ObjectIdRef$Unpeeled of org.eclipse.jgit.lib.ObjectIdRef
public final Storage = org.eclipse.jgit.lib.Ref$Storage of org.eclipse.jgit.lib.Ref