public final class org.graalvm.component.installer.model.ComponentRegistry implements org.graalvm.component.installer.ComponentCollection
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.component.installer.model.ComponentRegistry
super_class: java.lang.Object
{
private final org.graalvm.component.installer.model.ManagementStorage storage;
descriptor: Lorg/graalvm/component/installer/model/ManagementStorage;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.component.installer.Feedback env;
descriptor: Lorg/graalvm/component/installer/Feedback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean allLoaded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.util.Collection<java.lang.String>> fileIndex;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
private java.util.Map<java.lang.String, org.graalvm.component.installer.model.ComponentInfo> components;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/graalvm/component/installer/model/ComponentInfo;>;
private java.util.Map<java.lang.String, java.lang.String> graalAttributes;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private java.util.Map<java.lang.String, java.util.Collection<java.lang.String>> replacedFiles;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
private java.util.Set<java.lang.String> componentDirectories;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
private boolean replaceFilesChanged;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean allowDistUpdate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.util.regex.Pattern JAVA_VERSION_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String overrideEdition;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.component.installer.Version graalVer;
descriptor: Lorg/graalvm/component/installer/Version;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "((?:1\\.)?[0-9]+)([._].*)?"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.graalvm.component.installer.model.ComponentRegistry.JAVA_VERSION_PATTERN:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.component.installer.Feedback, org.graalvm.component.installer.model.ManagementStorage);
descriptor: (Lorg/graalvm/component/installer/Feedback;Lorg/graalvm/component/installer/model/ManagementStorage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
2: aload 0
aload 2
putfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
3: aload 0
aload 1
putfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 5 1 env Lorg/graalvm/component/installer/Feedback;
0 5 2 storage Lorg/graalvm/component/installer/model/ManagementStorage;
MethodParameters:
Name Flags
env
storage
public boolean compatibleVersion(org.graalvm.component.installer.Version);
descriptor: (Lorg/graalvm/component/installer/Version;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalVersion:()Lorg/graalvm/component/installer/Version;
astore 2
start local 2 1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allowDistUpdate:Z
ifeq 3
2: aload 2
invokevirtual org.graalvm.component.installer.Version.updatable:()Lorg/graalvm/component/installer/Version;
aload 1
invokevirtual org.graalvm.component.installer.Version.updatable:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.equals:(Ljava/lang/Object;)Z
ireturn
3: StackMap locals: org.graalvm.component.installer.Version
StackMap stack:
aload 2
invokevirtual org.graalvm.component.installer.Version.onlyVersion:()Lorg/graalvm/component/installer/Version;
aload 1
invokevirtual org.graalvm.component.installer.Version.installVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 4 1 v Lorg/graalvm/component/installer/Version;
1 4 2 gv Lorg/graalvm/component/installer/Version;
MethodParameters:
Name Flags
v
public boolean isAllowDistUpdate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allowDistUpdate:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
public void setAllowDistUpdate(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.ComponentRegistry.allowDistUpdate:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 2 1 allowDistUpdate Z
MethodParameters:
Name Flags
allowDistUpdate
public org.graalvm.component.installer.model.ComponentInfo findComponentMatch(java.lang.String, org.graalvm.component.installer.Version$Match, boolean);
descriptor: (Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;Z)Lorg/graalvm/component/installer/model/ComponentInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
anewarray org.graalvm.component.installer.Version$Match
astore 4
start local 4 1: aload 1
aload 4
invokestatic org.graalvm.component.installer.Version.idAndVersion:(Ljava/lang/String;[Lorg/graalvm/component/installer/Version$Match;)Ljava/lang/String;
astore 5
start local 5 2: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allLoaded:Z
ifne 4
3: aload 0
aload 5
iconst_0
iconst_0
iload 3
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.loadSingleComponent:(Ljava/lang/String;ZZZ)Lorg/graalvm/component/installer/model/ComponentInfo;
areturn
4: StackMap locals: org.graalvm.component.installer.Version$Match[] java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 6
start local 6 5: aload 6
ifnull 7
6: aload 6
areturn
7: StackMap locals: org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
iload 3
ifeq 8
aload 5
goto 9
StackMap locals:
StackMap stack:
8: aload 0
aload 5
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.findAbbreviatedId:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
9: astore 7
start local 7 10: aload 7
ifnonnull 11
aconst_null
goto 12
StackMap locals: java.lang.String
StackMap stack:
11: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
StackMap locals:
StackMap stack: org.graalvm.component.installer.model.ComponentInfo
12: areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 13 1 idspec Ljava/lang/String;
0 13 2 vm Lorg/graalvm/component/installer/Version$Match;
0 13 3 exact Z
1 13 4 vmatch [Lorg/graalvm/component/installer/Version$Match;
2 13 5 id Ljava/lang/String;
5 13 6 ci Lorg/graalvm/component/installer/model/ComponentInfo;
10 13 7 fullId Ljava/lang/String;
MethodParameters:
Name Flags
idspec
vm
exact
private java.lang.String findAbbreviatedId(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 2: new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 3: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getComponentIDs:()Ljava/util/Collection;
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 15
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String java.lang.String java.lang.String java.lang.String java.util.Collection java.lang.String top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 7: aload 7
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 9
start local 9 8: aload 9
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 7
areturn
10: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String java.lang.String java.lang.String java.lang.String java.util.Collection java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack:
aload 9
aload 4
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 15
11: aload 2
ifnull 14
12: aload 7
astore 6
13: goto 15
14: StackMap locals:
StackMap stack:
aload 7
astore 2
end local 9 end local 7 15: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String java.lang.String java.lang.String java.lang.String java.util.Collection java.lang.String top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
16: aload 6
ifnull 18
17: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "COMPONENT_AmbiguousIdFound"
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 6
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
18: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String java.lang.String java.lang.String java.lang.String java.util.Collection java.lang.String
StackMap stack:
aload 2
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 19 1 id Ljava/lang/String;
1 19 2 candidate Ljava/lang/String;
2 19 3 lcid Ljava/lang/String;
3 19 4 end Ljava/lang/String;
4 19 5 ids Ljava/util/Collection<Ljava/lang/String;>;
5 19 6 ambiguous Ljava/lang/String;
7 15 7 s Ljava/lang/String;
8 15 9 lcs Ljava/lang/String;
MethodParameters:
Name Flags
id
public void setOverrideEdition(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.graalvm.component.installer.model.ComponentRegistry.overrideEdition:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 2 1 overrideEdition Ljava/lang/String;
MethodParameters:
Name Flags
overrideEdition
public java.util.Map<java.lang.String, java.lang.String> getGraalCapabilities();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.graalAttributes:Ljava/util/Map;
ifnull 2
1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.graalAttributes:Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokeinterface org.graalvm.component.installer.model.ManagementStorage.loadGraalVersionInfo:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 3: aload 1
ldc "java_version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 4: aload 2
ifnull 14
5: getstatic org.graalvm.component.installer.model.ComponentRegistry.JAVA_VERSION_PATTERN:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 6: aload 3
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 8
7: aload 3
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 2
8: StackMap locals: java.util.Map java.lang.String java.util.regex.Matcher
StackMap stack:
aload 2
invokestatic org.graalvm.component.installer.SystemUtils.interpretJavaMajorVersion:(Ljava/lang/String;)I
istore 4
start local 4 9: iload 4
iconst_1
if_icmpge 12
10: aload 1
ldc "java_version"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 13
12: StackMap locals: int
StackMap stack:
aload 1
ldc "java_version"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.graalvm.component.installer.model.ComponentRegistry.graalAttributes:Ljava/util/Map;
end local 4 end local 3 14: StackMap locals:
StackMap stack:
aload 1
ldc "os_name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
15: aload 1
ldc "os_arch"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
16: invokestatic org.graalvm.component.installer.SystemUtils.normalizeArchitecture:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
17: aload 2
ifnull 19
18: aload 1
ldc "os_arch"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals:
StackMap stack:
aload 1
ldc "os_name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
20: aload 1
ldc "os_arch"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
21: invokestatic org.graalvm.component.installer.SystemUtils.normalizeOSName:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
22: aload 2
ifnull 24
23: aload 1
ldc "os_name"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.overrideEdition:Ljava/lang/String;
ifnull 26
25: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.graalAttributes:Ljava/util/Map;
ldc "edition"
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.overrideEdition:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
26: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.graalAttributes:Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
3 27 1 m Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 27 2 v Ljava/lang/String;
6 14 3 rm Ljava/util/regex/Matcher;
9 14 4 mv I
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.util.Collection<java.lang.String> getComponentIDs();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allLoaded:Z
ifne 5
1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokeinterface org.graalvm.component.installer.model.ManagementStorage.listComponentIDs:()Ljava/util/Set;
2: areturn
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "REGISTRY_ReadingComponentList"
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
4 5 1 ex Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public void removeComponent(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
1: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.buildFileIndex:()V
2: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
astore 2
start local 2 3: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getPaths:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 6: aload 5
ifnull 11
aload 5
aload 2
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
ifeq 11
7: aload 0
iconst_1
putfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
8: aload 5
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 11
9: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.componentDirectories:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allLoaded:Z
ifeq 14
13: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 2
invokeinterface org.graalvm.component.installer.model.ManagementStorage.deleteComponent:(Ljava/lang/String;)V
15: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.updateReplacedFiles:()V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 17 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
3 17 2 id Ljava/lang/String;
5 11 3 p Ljava/lang/String;
6 11 5 compIds Ljava/util/Collection<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
public void addComponent(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
1: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.buildFileIndex:()V
2: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
astore 2
start local 2 3: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getPaths:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 3
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/component/installer/model/ComponentRegistry.lambda$0(Ljava/lang/String;)Ljava/util/Collection; (6)
(Ljava/lang/String;)Ljava/util/Collection;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 6: aload 0
dup
getfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
aload 5
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 7
iconst_0
goto 8
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String java.lang.String java.util.Iterator java.util.Collection
StackMap stack: org.graalvm.component.installer.model.ComponentRegistry int
7: iconst_1
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String java.lang.String java.util.Iterator java.util.Collection
StackMap stack: org.graalvm.component.installer.model.ComponentRegistry int int
8: ior
putfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
9: aload 5
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
10: aload 3
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
11: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.componentDirectories:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 12: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allLoaded:Z
ifeq 15
14: aload 0
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.addComponentToCache:(Lorg/graalvm/component/installer/model/ComponentInfo;)V
15: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 1
invokeinterface org.graalvm.component.installer.model.ManagementStorage.saveComponent:(Lorg/graalvm/component/installer/model/ComponentInfo;)V
16: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.updateReplacedFiles:()V
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 18 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
3 18 2 id Ljava/lang/String;
5 12 3 p Ljava/lang/String;
6 12 5 compIds Ljava/util/Collection<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
private void addComponentToCache(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 3
start local 3 2: aload 3
ifnull 4
3: new java.lang.IllegalStateException
dup
ldc "Replacing existing component"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 5 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
1 5 2 id Ljava/lang/String;
2 5 3 old Lorg/graalvm/component/installer/model/ComponentInfo;
MethodParameters:
Name Flags
info
private void computeReplacedFiles();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: new java.util.ArrayList
dup
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 2: aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.util.Map java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 6: aload 5
ifnull 8
aload 5
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 8
7: aload 1
aload 3
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 0
aload 1
putfield org.graalvm.component.installer.model.ComponentRegistry.replacedFiles:Ljava/util/Map;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
1 11 1 shared Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
2 11 2 keys Ljava/util/List<Ljava/lang/String;>;
5 8 3 p Ljava/lang/String;
6 8 5 compIds Ljava/util/Collection<Ljava/lang/String;>;
private void updateReplacedFiles();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.computeReplacedFiles:()V
3: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.replacedFiles:Ljava/util/Map;
invokeinterface org.graalvm.component.installer.model.ManagementStorage.updateReplacedFiles:(Ljava/util/Map;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
Exceptions:
throws java.io.IOException
public java.util.List<java.lang.String> getPreservedFiles(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.buildFileIndex:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getPaths:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 5: aload 5
ifnull 7
aload 5
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 7
6: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 2
ldc "lib/installer/components"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 10 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
2 10 2 result Ljava/util/List<Ljava/lang/String;>;
4 7 3 p Ljava/lang/String;
5 7 5 compIds Ljava/util/Collection<Ljava/lang/String;>;
Signature: (Lorg/graalvm/component/installer/model/ComponentInfo;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
info
public java.util.List<java.lang.String> getOwners(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.buildFileIndex:()V
1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 2: aload 2
ifnonnull 4
3: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
4: StackMap locals: java.util.Collection
StackMap stack:
new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 5: aload 3
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 7 1 p Ljava/lang/String;
2 7 2 compIds Ljava/util/Collection<Ljava/lang/String;>;
5 7 3 ret Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
p
public boolean isReplacedFilesChanged();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.replaceFilesChanged:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
private void loadAllComponents();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.allLoaded:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokeinterface org.graalvm.component.installer.model.ManagementStorage.listComponentIDs:()Ljava/util/Set;
astore 2
start local 2 4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
5: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 0
aload 3
iconst_1
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.loadSingleComponent:(Ljava/lang/String;Z)Lorg/graalvm/component/installer/model/ComponentInfo;
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
iconst_1
putfield org.graalvm.component.installer.model.ComponentRegistry.allLoaded:Z
end local 2 10: goto 13
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String
StackMap stack: java.io.IOException
11: astore 2
start local 2 12: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "REGISTRY_ReadingComponentMetadata"
aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
3 14 1 currentId Ljava/lang/String;
4 10 2 ids Ljava/util/Collection<Ljava/lang/String;>;
7 8 3 id Ljava/lang/String;
12 13 2 ex Ljava/io/IOException;
Exception table:
from to target type
3 10 11 Class java.io.IOException
public org.graalvm.component.installer.model.ComponentInfo loadSingleComponent(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/graalvm/component/installer/model/ComponentInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
iconst_0
iconst_0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.loadSingleComponent:(Ljava/lang/String;ZZZ)Lorg/graalvm/component/installer/model/ComponentInfo;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 1 1 id Ljava/lang/String;
0 1 2 filelist Z
MethodParameters:
Name Flags
id
filelist
public java.util.Collection<org.graalvm.component.installer.model.ComponentInfo> loadComponents(java.lang.String, org.graalvm.component.installer.Version$Match, boolean);
descriptor: (Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;Z)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 3
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.loadSingleComponent:(Ljava/lang/String;Z)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 4
start local 4 1: aload 4
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
2: aload 4
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
3: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 4 1 id Ljava/lang/String;
0 4 2 selector Lorg/graalvm/component/installer/Version$Match;
0 4 3 filelist Z
1 4 4 ci Lorg/graalvm/component/installer/model/ComponentInfo;
Signature: (Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;Z)Ljava/util/Collection<Lorg/graalvm/component/installer/model/ComponentInfo;>;
MethodParameters:
Name Flags
id
selector
filelist
org.graalvm.component.installer.model.ComponentInfo loadSingleComponent(java.lang.String, boolean, boolean, boolean);
descriptor: (Ljava/lang/String;ZZZ)Lorg/graalvm/component/installer/model/ComponentInfo;
flags: (0x0000)
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.findAbbreviatedId:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 5
start local 5 3: aload 5
ifnonnull 7
4: iload 3
ifeq 6
5: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_UnknownComponentId"
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
6: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 6
start local 6 8: aload 6
ifnull 10
9: aload 6
areturn
10: StackMap locals: org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
aload 1
astore 7
start local 7 11: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 5
invokeinterface org.graalvm.component.installer.model.ManagementStorage.loadComponentMetadata:(Ljava/lang/String;)Ljava/util/Set;
astore 8
start local 8 12: aload 8
ifnull 13
aload 8
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 16
13: StackMap locals: java.lang.String java.util.Collection
StackMap stack:
iload 3
ifeq 15
14: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_UnknownComponentId"
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
15: StackMap locals:
StackMap stack:
aconst_null
areturn
16: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmpeq 18
17: new java.lang.IllegalArgumentException
dup
ldc "Wrong storage"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 6
19: aload 6
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
astore 7
20: iload 2
ifeq 28
21: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 6
invokeinterface org.graalvm.component.installer.model.ManagementStorage.loadComponentFiles:(Lorg/graalvm/component/installer/model/ComponentInfo;)Lorg/graalvm/component/installer/model/ComponentInfo;
pop
22: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
aload 7
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 23: goto 28
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String int int int java.lang.String org.graalvm.component.installer.model.ComponentInfo java.lang.String
StackMap stack: java.nio.file.NoSuchFileException
24: pop
25: aconst_null
areturn
26: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 27: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "REGISTRY_ReadingComponentMetadata"
aload 8
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 8
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
dup
iconst_2
aload 5
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
end local 8 28: StackMap locals:
StackMap stack:
aload 6
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 29 1 id Ljava/lang/String;
0 29 2 filelist Z
0 29 3 notFoundFailure Z
0 29 4 exact Z
3 29 5 fid Ljava/lang/String;
8 29 6 info Lorg/graalvm/component/installer/model/ComponentInfo;
11 29 7 cid Ljava/lang/String;
12 23 8 infos Ljava/util/Collection<Lorg/graalvm/component/installer/model/ComponentInfo;>;
27 28 8 ex Ljava/io/IOException;
Exception table:
from to target type
11 15 24 Class java.nio.file.NoSuchFileException
16 23 24 Class java.nio.file.NoSuchFileException
11 15 26 Class java.io.IOException
16 23 26 Class java.io.IOException
MethodParameters:
Name Flags
id
filelist
notFoundFailure
exact
private void buildFileIndex();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.loadAllComponents:()V
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.graalvm.component.installer.model.ComponentRegistry.componentDirectories:Ljava/util/Set;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
5: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.components:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 13
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry top java.util.Iterator
StackMap stack:
6: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 1
start local 1 7: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getPaths:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.util.Iterator top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: aload 3
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
10: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.componentDirectories:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.util.Iterator java.lang.String java.util.Iterator
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.fileIndex:Ljava/util/Map;
aload 3
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/component/installer/model/ComponentRegistry.lambda$1(Ljava/lang/String;)Ljava/util/Collection; (6)
(Ljava/lang/String;)Ljava/util/Collection;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Collection
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 12: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.util.Iterator top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 1 13: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.computeReplacedFiles:()V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
7 13 1 nfo Lorg/graalvm/component/installer/model/ComponentInfo;
9 12 3 path Ljava/lang/String;
public java.util.List<java.lang.String> getReplacedFiles(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.buildFileIndex:()V
1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.replacedFiles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 2: aload 2
ifnonnull 4
3: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
4: StackMap locals: java.util.Collection
StackMap stack:
new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 5: aload 3
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 7 1 path Ljava/lang/String;
2 7 2 l Ljava/util/Collection<Ljava/lang/String;>;
5 7 3 ret Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
public java.util.Set<java.lang.String> getComponentDirectories();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.buildFileIndex:()V
1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.componentDirectories:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String localizeCapabilityName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "INSTALL_Capability_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
aload 2
iconst_0
anewarray java.lang.Object
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 2: goto 5
end local 3 StackMap locals: org.graalvm.component.installer.model.ComponentRegistry java.lang.String java.lang.String
StackMap stack: java.util.MissingResourceException
3: pop
4: aload 1
astore 3
start local 3 5: StackMap locals: java.lang.String
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 6 1 s Ljava/lang/String;
1 6 2 capName Ljava/lang/String;
2 3 3 dispCapName Ljava/lang/String;
5 6 3 dispCapName Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.util.MissingResourceException
MethodParameters:
Name Flags
s
public java.lang.String shortenComponentId(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "org.graalvm"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
2: ldc "org.graalvm"
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: aload 2
invokevirtual java.lang.String.length:()I
iload 3
if_icmpne 5
4: ldc "graalvm"
areturn
5: StackMap locals: java.lang.String int
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpeq 7
aload 2
invokevirtual java.lang.String.length:()I
iload 3
iconst_1
iadd
if_icmple 7
6: aload 2
areturn
7: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 8: aload 0
aload 4
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.findComponent:(Ljava/lang/String;)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 5
start local 5 9: aload 5
ifnull 10
aload 5
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
10: StackMap locals: java.lang.String org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
aload 4
11: areturn
end local 5 12: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo java.lang.String int java.lang.String
StackMap stack: org.graalvm.component.installer.FailedOperationException
pop
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 14 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
1 14 2 id Ljava/lang/String;
3 13 3 l I
8 13 4 shortId Ljava/lang/String;
9 12 5 reg Lorg/graalvm/component/installer/model/ComponentInfo;
Exception table:
from to target type
8 11 12 Class org.graalvm.component.installer.FailedOperationException
MethodParameters:
Name Flags
info
public java.util.Date isLicenseAccepted(org.graalvm.component.installer.model.ComponentInfo, java.lang.String);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;)Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 1
aload 2
invokeinterface org.graalvm.component.installer.model.ManagementStorage.licenseAccepted:(Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;)Ljava/util/Date;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 1 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
0 1 2 id Ljava/lang/String;
MethodParameters:
Name Flags
info
id
public void acceptLicense(org.graalvm.component.installer.model.ComponentInfo, java.lang.String, java.lang.String);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.acceptLicense:(Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 2 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
0 2 2 id Ljava/lang/String;
0 2 3 text Ljava/lang/String;
MethodParameters:
Name Flags
info
id
text
public void acceptLicense(org.graalvm.component.installer.model.ComponentInfo, java.lang.String, java.lang.String, java.util.Date);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 1
aload 2
aload 3
aload 4
invokeinterface org.graalvm.component.installer.model.ManagementStorage.recordLicenseAccepted:(Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 5
start local 5 3: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.env:Lorg/graalvm/component/installer/Feedback;
ldc "ERROR_RecordLicenseAccepted"
aload 5
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.error:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
end local 5 4: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 5 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
0 5 2 id Ljava/lang/String;
0 5 3 text Ljava/lang/String;
0 5 4 d Ljava/util/Date;
3 4 5 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
info
id
text
d
public org.graalvm.component.installer.Version getGraalVersion();
descriptor: ()Lorg/graalvm/component/installer/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.graalVer:Lorg/graalvm/component/installer/Version;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalCapabilities:()Ljava/util/Map;
ldc "graalvm_version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
putfield org.graalvm.component.installer.model.ComponentRegistry.graalVer:Lorg/graalvm/component/installer/Version;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.graalVer:Lorg/graalvm/component/installer/Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
public java.util.Map<java.lang.String, java.util.Collection<java.lang.String>> getAcceptedLicenses();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokeinterface org.graalvm.component.installer.model.ManagementStorage.findAcceptedLicenses:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
public java.lang.String licenseText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 1
invokeinterface org.graalvm.component.installer.model.ManagementStorage.licenseText:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 1 1 licId Ljava/lang/String;
MethodParameters:
Name Flags
licId
public boolean isMacOsX();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokeinterface org.graalvm.component.installer.model.ManagementStorage.loadGraalVersionInfo:()Ljava/util/Map;
ldc "os_name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "macos"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
public void verifyAdministratorAccess();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aconst_null
invokeinterface org.graalvm.component.installer.model.ManagementStorage.saveComponent:(Lorg/graalvm/component/installer/model/ComponentInfo;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
Exceptions:
throws java.io.IOException
public java.util.Set<org.graalvm.component.installer.model.ComponentInfo> findDependentComponents(org.graalvm.component.installer.model.ComponentInfo, boolean);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;Z)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 3
start local 3 3: aload 3
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
4: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 5: goto 15
6: StackMap locals: java.util.Deque java.util.Set
StackMap stack:
aload 3
invokeinterface java.util.Deque.poll:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getComponentIDs:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo int java.util.Deque java.util.Set java.lang.String top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 9: aload 0
aload 6
iconst_0
iconst_0
iconst_1
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.loadSingleComponent:(Ljava/lang/String;ZZZ)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 8
start local 8 10: aload 8
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getDependencies:()Ljava/util/Set;
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 14
11: aload 4
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: iload 2
ifeq 14
13: aload 3
aload 8
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 14: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 5 15: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry org.graalvm.component.installer.model.ComponentInfo int java.util.Deque java.util.Set
StackMap stack:
aload 3
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 6
16: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 17 1 startFrom Lorg/graalvm/component/installer/model/ComponentInfo;
0 17 2 recursive Z
3 17 3 toSearch Ljava/util/Deque<Ljava/lang/String;>;
5 17 4 result Ljava/util/Set<Lorg/graalvm/component/installer/model/ComponentInfo;>;
7 15 5 id Ljava/lang/String;
9 14 6 cid Ljava/lang/String;
10 14 8 ci Lorg/graalvm/component/installer/model/ComponentInfo;
Signature: (Lorg/graalvm/component/installer/model/ComponentInfo;Z)Ljava/util/Set<Lorg/graalvm/component/installer/model/ComponentInfo;>;
MethodParameters:
Name Flags
startFrom
recursive
public java.lang.String getJavaVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalCapabilities:()Ljava/util/Map;
ldc "java_version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
public org.graalvm.component.installer.model.ManagementStorage getManagementStorage();
descriptor: ()Lorg/graalvm/component/installer/model/ManagementStorage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 7
istore 1
start local 1 1: bipush 97
iload 1
imul
aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
1 3 1 hash I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.graalvm.component.installer.model.ComponentRegistry
astore 2
start local 2 7: aload 0
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
aload 2
getfield org.graalvm.component.installer.model.ComponentRegistry.storage:Lorg/graalvm/component/installer/model/ManagementStorage;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals: org.graalvm.component.installer.model.ComponentRegistry
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/component/installer/model/ComponentRegistry;
0 10 1 obj Ljava/lang/Object;
7 10 2 other Lorg/graalvm/component/installer/model/ComponentRegistry;
MethodParameters:
Name Flags
obj
private static java.util.Collection lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 k Ljava/lang/String;
private static java.util.Collection lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 k Ljava/lang/String;
}
SourceFile: "ComponentRegistry.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Match = org.graalvm.component.installer.Version$Match of org.graalvm.component.installer.Version