public class org.graalvm.component.installer.commands.Installer extends org.graalvm.component.installer.commands.AbstractInstaller
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.component.installer.commands.Installer
super_class: org.graalvm.component.installer.commands.AbstractInstaller
{
private static final java.util.logging.Logger LOG;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.nio.file.attribute.PosixFilePermission> DEFAULT_CHANGE_PERMISSION;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
private final java.util.List<java.nio.file.Path> filesToDelete;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private final java.util.List<java.nio.file.Path> dirsToDelete;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private boolean allowFilesInComponentDir;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean rebuildPolyglot;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.Set<java.nio.file.Path> visitedPaths;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/nio/file/Path;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/graalvm/component/installer/commands/Installer;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.component.installer.commands.Installer.$assertionsDisabled:Z
3: ldc Lorg/graalvm/component/installer/commands/Installer;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic org.graalvm.component.installer.commands.Installer.LOG:Ljava/util/logging/Logger;
4: getstatic java.nio.file.attribute.PosixFilePermission.OWNER_READ:Ljava/nio/file/attribute/PosixFilePermission;
bipush 6
anewarray java.nio.file.attribute.PosixFilePermission
dup
iconst_0
getstatic java.nio.file.attribute.PosixFilePermission.OWNER_WRITE:Ljava/nio/file/attribute/PosixFilePermission;
aastore
dup
iconst_1
getstatic java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE:Ljava/nio/file/attribute/PosixFilePermission;
aastore
dup
iconst_2
5: getstatic java.nio.file.attribute.PosixFilePermission.GROUP_READ:Ljava/nio/file/attribute/PosixFilePermission;
aastore
dup
iconst_3
getstatic java.nio.file.attribute.PosixFilePermission.GROUP_EXECUTE:Ljava/nio/file/attribute/PosixFilePermission;
aastore
dup
iconst_4
6: getstatic java.nio.file.attribute.PosixFilePermission.OTHERS_READ:Ljava/nio/file/attribute/PosixFilePermission;
aastore
dup
iconst_5
getstatic java.nio.file.attribute.PosixFilePermission.OTHERS_EXECUTE:Ljava/nio/file/attribute/PosixFilePermission;
aastore
7: invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;[Ljava/lang/Enum;)Ljava/util/EnumSet;
putstatic org.graalvm.component.installer.commands.Installer.DEFAULT_CHANGE_PERMISSION:Ljava/util/Set;
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.component.installer.Feedback, org.graalvm.component.installer.FileOperations, org.graalvm.component.installer.model.ComponentInfo, org.graalvm.component.installer.model.ComponentRegistry, org.graalvm.component.installer.ComponentCollection, org.graalvm.component.installer.Archive);
descriptor: (Lorg/graalvm/component/installer/Feedback;Lorg/graalvm/component/installer/FileOperations;Lorg/graalvm/component/installer/model/ComponentInfo;Lorg/graalvm/component/installer/model/ComponentRegistry;Lorg/graalvm/component/installer/ComponentCollection;Lorg/graalvm/component/installer/Archive;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
invokespecial org.graalvm.component.installer.commands.AbstractInstaller.<init>:(Lorg/graalvm/component/installer/Feedback;Lorg/graalvm/component/installer/FileOperations;Lorg/graalvm/component/installer/model/ComponentInfo;Lorg/graalvm/component/installer/model/ComponentRegistry;Lorg/graalvm/component/installer/ComponentCollection;Lorg/graalvm/component/installer/Archive;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.component.installer.commands.Installer.filesToDelete:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.component.installer.commands.Installer.dirsToDelete:Ljava/util/List;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.graalvm.component.installer.commands.Installer.visitedPaths:Ljava/util/Set;
4: return
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 5 0 this Lorg/graalvm/component/installer/commands/Installer;
0 5 1 feedback Lorg/graalvm/component/installer/Feedback;
0 5 2 fileOps Lorg/graalvm/component/installer/FileOperations;
0 5 3 componentInfo Lorg/graalvm/component/installer/model/ComponentInfo;
0 5 4 registry Lorg/graalvm/component/installer/model/ComponentRegistry;
0 5 5 collection Lorg/graalvm/component/installer/ComponentCollection;
0 5 6 a Lorg/graalvm/component/installer/Archive;
MethodParameters:
Name Flags
feedback
fileOps
componentInfo
registry
collection
a
public boolean isAllowFilesInComponentDir();
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.commands.Installer.allowFilesInComponentDir:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/commands/Installer;
public void setAllowFilesInComponentDir(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.commands.Installer.allowFilesInComponentDir:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/commands/Installer;
0 2 1 allowFilesInComponentDir Z
MethodParameters:
Name Flags
allowFilesInComponentDir
public void revertInstall();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isDryRun:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.component.installer.commands.Installer.LOG:Ljava/util/logging/Logger;
ldc "Reverting installation"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
3: aload 0
getfield org.graalvm.component.installer.commands.Installer.filesToDelete:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 11
StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 1
start local 1 5: getstatic org.graalvm.component.installer.commands.Installer.LOG:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Deleting: {0}"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
6: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_CleanupFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
7: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 1
invokevirtual org.graalvm.component.installer.FileOperations.deleteFile:(Ljava/nio/file/Path;)V
8: goto 11
StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path java.util.Iterator
StackMap stack: java.io.IOException
9: astore 3
start local 3 10: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_CannotCleanupFile"
aload 3
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
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 3 end local 1 11: StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 0
getfield org.graalvm.component.installer.commands.Installer.dirsToDelete:Ljava/util/List;
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
13: aload 0
getfield org.graalvm.component.installer.commands.Installer.dirsToDelete:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 21
StackMap locals:
StackMap stack:
14: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 1
start local 1 15: getstatic org.graalvm.component.installer.commands.Installer.LOG:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Deleting directory: {0}"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
16: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_CleanupDirectory"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
17: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 1
invokevirtual org.graalvm.component.installer.FileOperations.deleteFile:(Ljava/nio/file/Path;)V
18: goto 21
StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path java.util.Iterator
StackMap stack: java.io.IOException
19: astore 3
start local 3 20: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_CannotCleanupFile"
aload 3
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
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 3 end local 1 21: StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
22: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/graalvm/component/installer/commands/Installer;
5 11 1 p Ljava/nio/file/Path;
10 11 3 ex Ljava/io/IOException;
15 21 1 p Ljava/nio/file/Path;
20 21 3 ex Ljava/io/IOException;
Exception table:
from to target type
5 8 9 Class java.io.IOException
15 18 19 Class java.io.IOException
java.nio.file.Path translateTargetPath(org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
invokevirtual org.graalvm.component.installer.commands.Installer.translateTargetPath:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/commands/Installer;
0 1 1 entry Lorg/graalvm/component/installer/Archive$FileEntry;
MethodParameters:
Name Flags
entry
java.nio.file.Path translateTargetPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.translateTargetPath:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/commands/Installer;
0 1 1 n Ljava/lang/String;
MethodParameters:
Name Flags
n
java.nio.file.Path translateTargetPath(java.nio.file.Path, java.lang.String);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonRelative:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 1: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
aload 3
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
astore 4
start local 4 2: aload 4
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
ifne 6
3: new java.lang.IllegalStateException
dup
4: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_WriteOutsideGraalvm"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.nio.file.Path java.nio.file.Path
StackMap stack:
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 7 0 this Lorg/graalvm/component/installer/commands/Installer;
0 7 1 base Ljava/nio/file/Path;
0 7 2 n Ljava/lang/String;
1 7 3 rel Ljava/nio/file/Path;
2 7 4 p Ljava/nio/file/Path;
MethodParameters:
Name Flags
base
n
public boolean validateAll();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.validateRequirements:()Lorg/graalvm/component/installer/model/Verifier;
astore 1
start local 1 1: aload 0
getfield org.graalvm.component.installer.commands.Installer.registry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.findComponent:(Ljava/lang/String;)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 1
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.Verifier.shouldInstall:(Lorg/graalvm/component/installer/model/ComponentInfo;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.validateFiles:()V
6: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.validateSymlinks:()V
7: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/component/installer/commands/Installer;
1 8 1 veri Lorg/graalvm/component/installer/model/Verifier;
2 8 2 existing Lorg/graalvm/component/installer/model/ComponentInfo;
Exceptions:
throws java.io.IOException
public void validateFiles();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
ifnonnull 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
invokeinterface org.graalvm.component.installer.Archive.iterator:()Ljava/util/Iterator;
astore 2
goto 8
StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.Archive$FileEntry
astore 1
start local 1 4: aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
ldc "META-INF"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: goto 8
6: StackMap locals: org.graalvm.component.installer.commands.Installer org.graalvm.component.installer.Archive$FileEntry java.util.Iterator
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_VerboseValidation"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
7: aload 0
aload 0
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.translateTargetPath:(Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.validateOneEntry:(Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
pop
end local 1 8: StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/component/installer/commands/Installer;
4 8 1 entry Lorg/graalvm/component/installer/Archive$FileEntry;
Exceptions:
throws java.io.IOException
public void validateSymlinks();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getSymlinks:()Ljava/util/Map;
astore 1
start local 1 1: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 0
aload 2
invokevirtual org.graalvm.component.installer.commands.Installer.translateTargetPath:(Ljava/lang/String;)Ljava/nio/file/Path;
iconst_1
invokevirtual org.graalvm.component.installer.FileOperations.materialize:(Ljava/nio/file/Path;Z)Ljava/nio/file/Path;
astore 4
start local 4 4: aload 4
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 8
5: aload 0
aload 4
6: aload 0
aload 4
aload 1
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.graalvm.component.installer.commands.Installer.translateTargetPath:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
7: invokevirtual org.graalvm.component.installer.commands.Installer.checkLinkReplacement:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
pop
end local 4 end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/component/installer/commands/Installer;
1 10 1 processSymlinks Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
3 8 2 sl Ljava/lang/String;
4 8 4 target Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
boolean validateOneEntry(java.nio.file.Path, org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.graalvm.component.installer.Archive$FileEntry.isDirectory:()Z
ifeq 8
1: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
aload 2
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
invokestatic org.graalvm.component.installer.SystemUtils.resolveRelative:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
invokevirtual org.graalvm.component.installer.FileOperations.materialize:(Ljava/nio/file/Path;Z)Ljava/nio/file/Path;
astore 3
start local 3 2: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 7
3: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 7
4: new java.io.IOException
dup
5: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_OverwriteWithDirectory"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.nio.file.Path
StackMap stack:
iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 1
iconst_0
invokevirtual org.graalvm.component.installer.FileOperations.materialize:(Ljava/nio/file/Path;Z)Ljava/nio/file/Path;
astore 3
start local 3 9: aload 3
ifnull 10
aload 3
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 10
iconst_1
goto 11
StackMap locals: java.nio.file.Path
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 4
start local 4 12: iload 4
ifeq 14
13: aload 0
aload 3
aload 2
invokevirtual org.graalvm.component.installer.commands.Installer.checkFileReplacement:(Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
ireturn
14: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/component/installer/commands/Installer;
0 15 1 target Ljava/nio/file/Path;
0 15 2 entry Lorg/graalvm/component/installer/Archive$FileEntry;
2 8 3 dirPath Ljava/nio/file/Path;
9 15 3 mt Ljava/nio/file/Path;
12 15 4 existingFile Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
entry
public void install();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.component.installer.commands.Installer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
ifnonnull 1
new java.lang.AssertionError
dup
ldc "Must first download / set jar file"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.installContent:()V
2: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.installFinish:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/component/installer/commands/Installer;
Exceptions:
throws java.io.IOException
void installContent();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
ifnonnull 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.unpackFiles:()V
3: aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokeinterface org.graalvm.component.installer.Archive.completeMetadata:(Lorg/graalvm/component/installer/model/ComponentInfo;)V
4: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.processPermissions:()V
5: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.createSymlinks:()V
6: new java.util.ArrayList
dup
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getTrackedPaths:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 7: aload 1
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
8: aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.setPaths:(Ljava/util/List;)V
9: aload 0
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.ComponentInfo.isPolyglotRebuild:()Z
ifne 13
10: aload 1
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
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;)Z
org/graalvm/component/installer/commands/Installer.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
11: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
12: invokevirtual java.util.Optional.isPresent:()Z
ifne 13
iconst_0
goto 14
StackMap locals: org.graalvm.component.installer.commands.Installer java.util.List
StackMap stack: org.graalvm.component.installer.commands.Installer
13: iconst_1
14: StackMap locals: org.graalvm.component.installer.commands.Installer java.util.List
StackMap stack: org.graalvm.component.installer.commands.Installer int
putfield org.graalvm.component.installer.commands.Installer.rebuildPolyglot:Z
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/component/installer/commands/Installer;
7 16 1 ll Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
void installFinish();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isDryRun:()Z
ifne 2
1: aload 0
getfield org.graalvm.component.installer.commands.Installer.registry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getComponentInfo:()Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.addComponent:(Lorg/graalvm/component/installer/model/ComponentInfo;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/commands/Installer;
Exceptions:
throws java.io.IOException
void unpackFiles();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
invokeinterface org.graalvm.component.installer.Archive.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.Archive$FileEntry
astore 1
start local 1 2: aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
astore 3
start local 3 3: aload 0
getfield org.graalvm.component.installer.commands.Installer.allowFilesInComponentDir:Z
ifne 6
aload 3
ldc "lib/installer/components/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
aload 3
invokevirtual java.lang.String.length:()I
ldc "lib/installer/components/"
invokevirtual java.lang.String.length:()I
if_icmple 6
4: aload 3
bipush 47
ldc "lib/installer/components/"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.indexOf:(II)I
iconst_m1
if_icmpne 6
5: goto 7
6: StackMap locals: org.graalvm.component.installer.commands.Installer org.graalvm.component.installer.Archive$FileEntry java.util.Iterator java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.installOneEntry:(Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
pop
end local 3 end local 1 7: StackMap locals: org.graalvm.component.installer.commands.Installer top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/commands/Installer;
2 7 1 entry Lorg/graalvm/component/installer/Archive$FileEntry;
3 7 3 path Ljava/lang/String;
Exceptions:
throws java.io.IOException
void ensurePathExists(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.commands.Installer.visitedPaths:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
astore 2
start local 2 3: aload 1
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
aload 2
invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
ifne 7
4: new java.lang.IllegalStateException
dup
5: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_WriteOutsideGraalvm"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 3
start local 3 8: iconst_0
istore 5
start local 5 9: aload 3
invokeinterface java.nio.file.Path.iterator:()Ljava/util/Iterator;
astore 7
goto 23
StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path java.nio.file.Path java.nio.file.Path top int top java.util.Iterator
StackMap stack:
10: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 6
start local 6 11: iinc 5 1
12: aload 3
iconst_0
iload 5
invokeinterface java.nio.file.Path.subpath:(II)Ljava/nio/file/Path;
astore 4
start local 4 13: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 2
aload 6
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_1
invokevirtual org.graalvm.component.installer.FileOperations.materialize:(Ljava/nio/file/Path;Z)Ljava/nio/file/Path;
astore 8
start local 8 14: new java.lang.StringBuilder
dup
aload 4
invokestatic org.graalvm.component.installer.SystemUtils.toCommonPath:(Ljava/nio/file/Path;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 15: aload 8
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 16
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getComponentDirectories:()Ljava/util/Set;
aload 9
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 22
16: StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.util.Iterator java.nio.file.Path java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_CreatingDirectory"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
17: aload 0
getfield org.graalvm.component.installer.commands.Installer.dirsToDelete:Ljava/util/List;
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 0
aload 9
invokevirtual org.graalvm.component.installer.commands.Installer.addTrackedPath:(Ljava/lang/String;)V
19: aload 8
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 22
20: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isDryRun:()Z
ifne 22
21: aload 8
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
22: StackMap locals:
StackMap stack:
aload 8
astore 2
end local 9 end local 8 end local 6 end local 4 23: StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path java.nio.file.Path java.nio.file.Path top int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
24: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/graalvm/component/installer/commands/Installer;
0 25 1 targetPath Ljava/nio/file/Path;
3 25 2 parent Ljava/nio/file/Path;
8 25 3 relative Ljava/nio/file/Path;
13 23 4 relativeSubpath Ljava/nio/file/Path;
9 25 5 count I
11 23 6 n Ljava/nio/file/Path;
14 23 8 dir Ljava/nio/file/Path;
15 23 9 pathString Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
targetPath
java.nio.file.Path installOneEntry(org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
ldc "META-INF"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.translateTargetPath:(Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
astore 2
start local 2 3: aload 0
aload 2
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.validateOneEntry:(Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
istore 3
start local 3 4: aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.isDirectory:()Z
ifeq 7
5: aload 0
aload 2
invokevirtual org.graalvm.component.installer.commands.Installer.ensurePathExists:(Ljava/nio/file/Path;)V
6: aload 2
areturn
7: StackMap locals: java.nio.file.Path int
StackMap stack:
aload 1
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
astore 4
start local 4 8: iload 3
ifeq 11
9: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_SkipIdenticalFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
10: aload 2
areturn
11: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual org.graalvm.component.installer.commands.Installer.installOneFile:(Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/component/installer/commands/Installer;
0 12 1 entry Lorg/graalvm/component/installer/Archive$FileEntry;
3 12 2 targetPath Ljava/nio/file/Path;
4 12 3 b Z
8 12 4 eName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry
java.nio.file.Path installOneFile(java.nio.file.Path, org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/nio/file/Path;
flags: (0x0000)
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
aload 2
invokeinterface org.graalvm.component.installer.Archive.getInputStream:(Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/io/InputStream;
astore 5
start local 5 2: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 1
iconst_0
invokevirtual org.graalvm.component.installer.FileOperations.materialize:(Ljava/nio/file/Path;Z)Ljava/nio/file/Path;
astore 6
start local 6 3: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 1
iconst_1
invokevirtual org.graalvm.component.installer.FileOperations.materialize:(Ljava/nio/file/Path;Z)Ljava/nio/file/Path;
astore 7
start local 7 4: aload 6
ifnull 5
aload 6
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
iconst_1
goto 6
StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path org.graalvm.component.installer.Archive$FileEntry java.lang.Throwable java.lang.Throwable java.io.InputStream java.nio.file.Path java.nio.file.Path
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 8
start local 8 7: aload 2
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getName:()Ljava/lang/String;
astore 9
start local 9 8: iload 8
ifeq 11
9: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_ReplacingFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
10: goto 13
11: StackMap locals: int java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.filesToDelete:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_InstallingFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokevirtual org.graalvm.component.installer.commands.Installer.ensurePathExists:(Ljava/nio/file/Path;)V
14: aload 0
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic org.graalvm.component.installer.SystemUtils.toCommonPath:(Ljava/nio/file/Path;)Ljava/lang/String;
invokevirtual org.graalvm.component.installer.commands.Installer.addTrackedPath:(Ljava/lang/String;)V
15: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isDryRun:()Z
ifne 17
16: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 1
aload 5
invokevirtual org.graalvm.component.installer.FileOperations.installFile:(Ljava/nio/file/Path;Ljava/io/InputStream;)Ljava/nio/file/Path;
pop
end local 9 end local 8 end local 7 end local 6 17: StackMap locals: org.graalvm.component.installer.commands.Installer java.nio.file.Path org.graalvm.component.installer.Archive$FileEntry java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
aload 5
ifnull 23
aload 5
invokevirtual java.io.InputStream.close:()V
goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 5
ifnull 19
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
19: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 4
aload 3
ifnonnull 21
aload 4
astore 3
goto 22
StackMap locals:
StackMap stack:
21: aload 3
aload 4
if_acmpeq 22
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 3
athrow
23: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/component/installer/commands/Installer;
0 24 1 target Ljava/nio/file/Path;
0 24 2 entry Lorg/graalvm/component/installer/Archive$FileEntry;
2 19 5 jarStream Ljava/io/InputStream;
3 17 6 mt Ljava/nio/file/Path;
4 17 7 mt2 Ljava/nio/file/Path;
7 17 8 existingFile Z
8 17 9 eName Ljava/lang/String;
Exception table:
from to target type
2 17 18 any
1 20 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
entry
public void processPermissions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getPermissions:()Ljava/util/Map;
astore 1
start local 1 1: new java.util.ArrayList
dup
aload 1
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 13
StackMap locals: org.graalvm.component.installer.commands.Installer 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
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
aload 3
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonRelative:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 5
start local 5 6: aload 1
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 6
ifnull 10
ldc ""
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
8: aload 6
invokestatic java.nio.file.attribute.PosixFilePermissions.fromString:(Ljava/lang/String;)Ljava/util/Set;
astore 7
start local 7 9: goto 11
end local 7 10: StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map java.util.List java.lang.String java.util.Iterator java.nio.file.Path java.lang.String
StackMap stack:
getstatic org.graalvm.component.installer.commands.Installer.DEFAULT_CHANGE_PERMISSION:Ljava/util/Set;
astore 7
start local 7 11: StackMap locals: java.util.Set
StackMap stack:
aload 5
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 13
12: aload 0
getfield org.graalvm.component.installer.commands.Installer.fileOps:Lorg/graalvm/component/installer/FileOperations;
aload 5
aload 7
invokevirtual org.graalvm.component.installer.FileOperations.setPermissions:(Ljava/nio/file/Path;Ljava/util/Set;)V
end local 7 end local 6 end local 5 end local 3 13: StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/component/installer/commands/Installer;
1 15 1 setPermissions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 15 2 paths Ljava/util/List<Ljava/lang/String;>;
5 13 3 s Ljava/lang/String;
6 13 5 target Ljava/nio/file/Path;
7 13 6 permissionString Ljava/lang/String;
9 10 7 perms Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
11 13 7 perms Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
Exceptions:
throws java.io.IOException
public void createSymlinks();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=1
start local 0 0: invokestatic org.graalvm.component.installer.SystemUtils.isWindows:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getSymlinks:()Ljava/util/Map;
astore 1
start local 1 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
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 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
astore 4
start local 4 7: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 38
StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map java.util.List java.util.List java.nio.file.Path top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 9: aload 4
aload 5
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonRelative:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 7
start local 7 10: aload 7
ifnonnull 12
11: goto 38
12: StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map java.util.List java.util.List java.nio.file.Path java.lang.String java.util.Iterator java.nio.file.Path
StackMap stack:
aload 7
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 8
start local 8 13: aload 8
ifnonnull 15
14: goto 38
15: StackMap locals: java.nio.file.Path
StackMap stack:
aload 1
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonString:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 9
start local 9 16: aload 8
aload 9
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 10
start local 10 17: aload 10
ifnonnull 19
18: goto 38
19: StackMap locals: java.nio.file.Path java.nio.file.Path
StackMap stack:
aload 10
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
astore 10
20: aload 10
aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.getInstallPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
ifne 24
21: new java.lang.IllegalStateException
dup
22: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_SymlinkOutsideGraalvm"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 10
aastore
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
23: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 0
aload 7
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokevirtual org.graalvm.component.installer.commands.Installer.ensurePathExists:(Ljava/nio/file/Path;)V
25: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: aload 0
aload 5
invokevirtual org.graalvm.component.installer.commands.Installer.addTrackedPath:(Ljava/lang/String;)V
27: aload 7
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 34
28: aload 0
aload 7
aload 9
invokevirtual org.graalvm.component.installer.commands.Installer.checkLinkReplacement:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
ifeq 32
29: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_SkipIdenticalFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
30: aload 0
getfield org.graalvm.component.installer.commands.Installer.filesToDelete:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
31: goto 38
32: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_ReplacingFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
33: aload 7
invokestatic java.nio.file.Files.delete:(Ljava/nio/file/Path;)V
34: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.filesToDelete:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_CreatingSymlink"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 1
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
36: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isDryRun:()Z
ifne 38
37: aload 7
aload 9
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createSymbolicLink:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
end local 10 end local 9 end local 8 end local 7 end local 5 38: StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map java.util.List java.util.List java.nio.file.Path top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 4 end local 3 39: goto 42
StackMap locals: org.graalvm.component.installer.commands.Installer java.util.Map java.util.List
StackMap stack: java.lang.UnsupportedOperationException
40: astore 3
start local 3 41: getstatic org.graalvm.component.installer.commands.Installer.LOG:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
ldc "Symlinks not supported"
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 42: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.addPaths:(Ljava/util/List;)V
43: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/graalvm/component/installer/commands/Installer;
3 44 1 makeSymlinks Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 44 2 createdRelativeLinks Ljava/util/List<Ljava/lang/String;>;
5 39 3 paths Ljava/util/List<Ljava/lang/String;>;
7 39 4 instDir Ljava/nio/file/Path;
9 38 5 s Ljava/lang/String;
10 38 7 source Ljava/nio/file/Path;
13 38 8 parent Ljava/nio/file/Path;
16 38 9 target Ljava/nio/file/Path;
17 38 10 result Ljava/nio/file/Path;
41 42 3 ex Ljava/lang/UnsupportedOperationException;
Exception table:
from to target type
4 39 40 Class java.lang.UnsupportedOperationException
Exceptions:
throws java.io.IOException
boolean checkLinkReplacement(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isReplaceDiferentFiles:()Z
istore 3
start local 3 1: aload 1
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 8
2: aload 1
invokestatic java.nio.file.Files.isSymbolicLink:(Ljava/nio/file/Path;)Z
ifne 8
3: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
iload 3
ifeq 5
4: iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
new java.io.IOException
dup
6: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_OverwriteWithLink"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokestatic java.nio.file.Files.readSymbolicLink:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 4
start local 4 9: aload 2
aload 4
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifne 13
10: iload 3
ifeq 12
11: iconst_0
ireturn
12: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_ReplacedFileDiffers"
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
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/component/installer/commands/Installer;
0 14 1 existingPath Ljava/nio/file/Path;
0 14 2 target Ljava/nio/file/Path;
1 14 3 replace Z
9 14 4 p Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
existingPath
target
boolean checkFileReplacement(java.nio.file.Path, org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Ljava/nio/file/Path;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
flags: (0x0000)
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.component.installer.commands.Installer.isReplaceDiferentFiles:()Z
istore 3
start local 3 1: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
2: new java.io.IOException
dup
3: aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_OverwriteWithFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 6
aload 1
invokestatic java.nio.file.Files.size:(Ljava/nio/file/Path;)J
aload 2
invokeinterface org.graalvm.component.installer.Archive$FileEntry.getSize:()J
lcmp
ifeq 9
6: StackMap locals:
StackMap stack:
iload 3
ifeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_ReplacedFileDiffers"
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
9: StackMap locals:
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
10: aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newByteChannel:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;
astore 6
start local 6 11: aload 0
getfield org.graalvm.component.installer.commands.Installer.archive:Lorg/graalvm/component/installer/Archive;
aload 6
aload 2
invokeinterface org.graalvm.component.installer.Archive.checkContentsMatches:(Ljava/nio/channels/ReadableByteChannel;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
ifne 16
12: iload 3
ifeq 15
13: aload 6
ifnull 14
aload 6
invokeinterface java.nio.channels.ByteChannel.close:()V
14: StackMap locals: java.lang.Throwable java.lang.Throwable java.nio.channels.ByteChannel
StackMap stack:
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.commands.Installer.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "INSTALL_ReplacedFileDiffers"
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
16: StackMap locals:
StackMap stack:
aload 6
ifnull 22
aload 6
invokeinterface java.nio.channels.ByteChannel.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 4
aload 6
ifnull 18
aload 6
invokeinterface java.nio.channels.ByteChannel.close:()V
end local 6 StackMap locals:
StackMap stack:
18: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 5
aload 4
ifnonnull 20
aload 5
astore 4
goto 21
StackMap locals:
StackMap stack:
20: aload 4
aload 5
if_acmpeq 21
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 4
athrow
22: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/graalvm/component/installer/commands/Installer;
0 23 1 existingPath Ljava/nio/file/Path;
0 23 2 entry Lorg/graalvm/component/installer/Archive$FileEntry;
1 23 3 replace Z
11 18 6 is Ljava/nio/channels/ByteChannel;
Exception table:
from to target type
11 13 17 any
15 16 17 any
10 14 19 any
15 19 19 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
existingPath
entry
public boolean isRebuildPolyglot();
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.commands.Installer.rebuildPolyglot:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/commands/Installer;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Installer["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.component.installer.commands.Installer.componentInfo:Lorg/graalvm/component/installer/model/ComponentInfo;
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/commands/Installer;
private static boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "lib/installer/components/polyglot/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Ljava/lang/String;
}
SourceFile: "Installer.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract FileEntry = org.graalvm.component.installer.Archive$FileEntry of org.graalvm.component.installer.Archive