public final class jdk.jpackage.internal.WixTool extends java.lang.Enum<jdk.jpackage.internal.WixTool>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: jdk.jpackage.internal.WixTool
super_class: java.lang.Enum
{
public static final jdk.jpackage.internal.WixTool Candle;
descriptor: Ljdk/jpackage/internal/WixTool;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jpackage.internal.WixTool Light;
descriptor: Ljdk/jpackage/internal/WixTool;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final jdk.jpackage.internal.DottedVersion MINIMAL_VERSION;
descriptor: Ljdk/jpackage/internal/DottedVersion;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.jpackage.internal.WixTool[] ENUM$VALUES;
descriptor: [Ljdk/jpackage/internal/WixTool;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new jdk.jpackage.internal.WixTool
dup
ldc "Candle"
iconst_0
invokespecial jdk.jpackage.internal.WixTool.<init>:(Ljava/lang/String;I)V
putstatic jdk.jpackage.internal.WixTool.Candle:Ljdk/jpackage/internal/WixTool;
new jdk.jpackage.internal.WixTool
dup
ldc "Light"
iconst_1
invokespecial jdk.jpackage.internal.WixTool.<init>:(Ljava/lang/String;I)V
putstatic jdk.jpackage.internal.WixTool.Light:Ljdk/jpackage/internal/WixTool;
iconst_2
anewarray jdk.jpackage.internal.WixTool
dup
iconst_0
getstatic jdk.jpackage.internal.WixTool.Candle:Ljdk/jpackage/internal/WixTool;
aastore
dup
iconst_1
getstatic jdk.jpackage.internal.WixTool.Light:Ljdk/jpackage/internal/WixTool;
aastore
putstatic jdk.jpackage.internal.WixTool.ENUM$VALUES:[Ljdk/jpackage/internal/WixTool;
1: ldc "3.0"
invokestatic jdk.jpackage.internal.DottedVersion.lazy:(Ljava/lang/String;)Ljdk/jpackage/internal/DottedVersion;
putstatic jdk.jpackage.internal.WixTool.MINIMAL_VERSION:Ljdk/jpackage/internal/DottedVersion;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/WixTool;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
static java.util.Map<jdk.jpackage.internal.WixTool, jdk.jpackage.internal.WixTool$ToolInfo> toolset();
descriptor: ()Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: invokestatic jdk.jpackage.internal.WixTool.values:()[Ljdk/jpackage/internal/WixTool;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: java.util.Map top int int jdk.jpackage.internal.WixTool[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
aload 1
invokevirtual jdk.jpackage.internal.WixTool.find:()Ljdk/jpackage/internal/WixTool$ToolInfo;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 2
6: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 toolset Ljava/util/Map<Ljdk/jpackage/internal/WixTool;Ljdk/jpackage/internal/WixTool$ToolInfo;>;
3 4 1 tool Ljdk/jpackage/internal/WixTool;
Exceptions:
throws jdk.jpackage.internal.ConfigException
Signature: ()Ljava/util/Map<Ljdk/jpackage/internal/WixTool;Ljdk/jpackage/internal/WixTool$ToolInfo;>;
jdk.jpackage.internal.WixTool$ToolInfo find();
descriptor: ()Ljdk/jpackage/internal/WixTool$ToolInfo;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jpackage.internal.WixTool.name:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
ldc ".exe"
1: invokestatic jdk.jpackage.internal.IOUtils.addSuffix:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
astore 1
start local 1 2: iconst_1
anewarray java.lang.String
astore 2
start local 2 3: aload 1
aload 2
invokestatic jdk.jpackage.internal.WixTool.createToolValidator:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast jdk.jpackage.internal.ConfigException
astore 3
start local 3 4: aload 2
iconst_0
aaload
ifnull 8
5: aload 3
ifnonnull 7
6: new jdk.jpackage.internal.WixTool$ToolInfo
dup
aload 1
aload 2
iconst_0
aaload
invokespecial jdk.jpackage.internal.WixTool$ToolInfo.<init>:(Ljava/nio/file/Path;Ljava/lang/String;)V
areturn
7: StackMap locals: java.nio.file.Path java.lang.String[] jdk.jpackage.internal.ConfigException
StackMap stack:
aload 3
athrow
8: StackMap locals:
StackMap stack:
invokestatic jdk.jpackage.internal.WixTool.findWixInstallDirs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: jdk.jpackage.internal.WixTool java.nio.file.Path java.lang.String[] jdk.jpackage.internal.ConfigException top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 4
start local 4 10: aload 4
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 6
start local 6 11: aload 6
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 16
12: aload 6
aload 2
invokestatic jdk.jpackage.internal.WixTool.createToolValidator:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast jdk.jpackage.internal.ConfigException
astore 3
13: aload 3
ifnull 15
14: aload 3
athrow
15: StackMap locals: jdk.jpackage.internal.WixTool java.nio.file.Path java.lang.String[] jdk.jpackage.internal.ConfigException java.nio.file.Path java.util.Iterator java.nio.file.Path
StackMap stack:
new jdk.jpackage.internal.WixTool$ToolInfo
dup
aload 6
aload 2
iconst_0
aaload
invokespecial jdk.jpackage.internal.WixTool$ToolInfo.<init>:(Ljava/nio/file/Path;Ljava/lang/String;)V
areturn
end local 6 end local 4 16: StackMap locals: jdk.jpackage.internal.WixTool java.nio.file.Path java.lang.String[] jdk.jpackage.internal.ConfigException top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
17: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jpackage/internal/WixTool;
2 18 1 toolFileName Ljava/nio/file/Path;
3 18 2 version [Ljava/lang/String;
4 18 3 reason Ljdk/jpackage/internal/ConfigException;
10 16 4 dir Ljava/nio/file/Path;
11 16 6 path Ljava/nio/file/Path;
Exceptions:
throws jdk.jpackage.internal.ConfigException
private static java.util.function.Supplier<jdk.jpackage.internal.ConfigException> createToolValidator(java.nio.file.Path, java.lang.String[]);
descriptor: (Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/function/Supplier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jpackage.internal.ToolValidator
dup
aload 0
invokespecial jdk.jpackage.internal.ToolValidator.<init>:(Ljava/nio/file/Path;)V
iconst_1
anewarray java.lang.String
dup
iconst_0
1: ldc "/?"
aastore
invokevirtual jdk.jpackage.internal.ToolValidator.setCommandLine:([Ljava/lang/String;)Ljdk/jpackage/internal/ToolValidator;
2: getstatic jdk.jpackage.internal.WixTool.MINIMAL_VERSION:Ljdk/jpackage/internal/DottedVersion;
invokevirtual jdk.jpackage.internal.ToolValidator.setMinimalVersion:(Ljava/lang/Comparable;)Ljdk/jpackage/internal/ToolValidator;
3: invokedynamic apply()Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
jdk/jpackage/internal/WixTool.lambda$1(Ljava/lang/String;Ljava/io/IOException;)Ljdk/jpackage/internal/ConfigException; (6)
(Ljava/lang/String;Ljava/io/IOException;)Ljdk/jpackage/internal/ConfigException;
4: invokevirtual jdk.jpackage.internal.ToolValidator.setToolNotFoundErrorHandler:(Ljava/util/function/BiFunction;)Ljdk/jpackage/internal/ToolValidator;
5: invokedynamic apply()Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
jdk/jpackage/internal/WixTool.lambda$2(Ljava/lang/String;Ljava/lang/String;)Ljdk/jpackage/internal/ConfigException; (6)
(Ljava/lang/String;Ljava/lang/String;)Ljdk/jpackage/internal/ConfigException;
6: invokevirtual jdk.jpackage.internal.ToolValidator.setToolOldVersionErrorHandler:(Ljava/util/function/BiFunction;)Ljdk/jpackage/internal/ToolValidator;
7: aload 1
invokedynamic apply([Ljava/lang/String;)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;
jdk/jpackage/internal/WixTool.lambda$3([Ljava/lang/String;Ljava/util/stream/Stream;)Ljava/lang/String; (6)
(Ljava/util/stream/Stream;)Ljava/lang/String;
invokevirtual jdk.jpackage.internal.ToolValidator.setVersionParser:(Ljava/util/function/Function;)Ljdk/jpackage/internal/ToolValidator;
8: dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljdk/jpackage/internal/ToolValidator;)Ljava/util/function/Supplier;
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;
jdk/jpackage/internal/ToolValidator.validate()Ljdk/jpackage/internal/ConfigException; (5)
()Ljdk/jpackage/internal/ConfigException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 toolPath Ljava/nio/file/Path;
0 9 1 versionCtnr [Ljava/lang/String;
Signature: (Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/function/Supplier<Ljdk/jpackage/internal/ConfigException;>;
MethodParameters:
Name Flags
toolPath
versionCtnr
static java.nio.file.Path getSystemDir(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.jpackage.internal.WixTool.getEnvVariableAsPath:(Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
1: aload 1
invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
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;
jdk/jpackage/internal/WixTool.lambda$4(Ljava/lang/String;)Ljava/nio/file/Path; (6)
()Ljava/nio/file/Path;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.nio.file.Path
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 envVar Ljava/lang/String;
0 3 1 knownDir Ljava/lang/String;
MethodParameters:
Name Flags
envVar
knownDir
private static java.nio.file.Path getEnvVariableAsPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 9
2: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
3: areturn
4: StackMap locals: java.lang.String java.lang.String
StackMap stack: java.nio.file.InvalidPathException
pop
5: ldc "error.invalid-envvar"
6: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 0
aastore
8: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 envVar Ljava/lang/String;
1 10 1 path Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.nio.file.InvalidPathException
MethodParameters:
Name Flags
envVar
private static java.util.List<java.nio.file.Path> findWixInstallDirs();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
1: ldc "glob:WiX Toolset v*"
2: invokevirtual java.nio.file.FileSystem.getPathMatcher:(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
astore 0
start local 0 3: ldc "ProgramFiles"
ldc "\\Program Files"
invokestatic jdk.jpackage.internal.WixTool.getSystemDir:(Ljava/lang/String;Ljava/lang/String;)Ljava/nio/file/Path;
astore 1
start local 1 4: ldc "ProgramFiles(x86)"
5: ldc "\\Program Files (x86)"
6: invokestatic jdk.jpackage.internal.WixTool.getSystemDir:(Ljava/lang/String;Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 7: iconst_2
anewarray java.nio.file.Path
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
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;
jdk/jpackage/internal/WixTool.lambda$6(Ljava/nio/file/Path;)Ljava/util/List; (6)
(Ljava/nio/file/Path;)Ljava/util/List;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
8: 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;
java/util/Collection.stream()Ljava/util/stream/Stream; (9 itf)
(Ljava/util/List;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
9: aload 0
invokedynamic test(Ljava/nio/file/PathMatcher;)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
jdk/jpackage/internal/WixTool.lambda$8(Ljava/nio/file/PathMatcher;Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
10: 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;
java/nio/file/Path.getFileName()Ljava/nio/file/Path; (9 itf)
(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.Comparator.reversed:()Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
11: 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;
jdk/jpackage/internal/WixTool.lambda$10(Ljava/nio/file/Path;)Ljava/nio/file/Path; (6)
(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
12: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
13: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
3 14 0 wixInstallDirMatcher Ljava/nio/file/PathMatcher;
4 14 1 programFiles Ljava/nio/file/Path;
7 14 2 programFilesX86 Ljava/nio/file/Path;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public static jdk.jpackage.internal.WixTool[] values();
descriptor: ()[Ljdk/jpackage/internal/WixTool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic jdk.jpackage.internal.WixTool.ENUM$VALUES:[Ljdk/jpackage/internal/WixTool;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray jdk.jpackage.internal.WixTool
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.jpackage.internal.WixTool valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jpackage/internal/WixTool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Ljdk/jpackage/internal/WixTool;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast jdk.jpackage.internal.WixTool
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
private static jdk.jpackage.internal.ConfigException lambda$1(java.lang.String, java.io.IOException);
descriptor: (Ljava/lang/String;Ljava/io/IOException;)Ljdk/jpackage/internal/ConfigException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jpackage.internal.ConfigException
dup
1: ldc "error.no-wix-tools"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
2: ldc "error.no-wix-tools.advice"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 name Ljava/lang/String;
0 5 1 ex Ljava/io/IOException;
private static jdk.jpackage.internal.ConfigException lambda$2(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljdk/jpackage/internal/ConfigException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jpackage.internal.ConfigException
dup
1: ldc "message.wrong-tool-version"
2: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_3
anewarray java.lang.Object
dup
iconst_0
3: aload 0
aastore
dup
iconst_1
4: aload 1
aastore
dup
iconst_2
getstatic jdk.jpackage.internal.WixTool.MINIMAL_VERSION:Ljdk/jpackage/internal/DottedVersion;
aastore
5: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: ldc "error.no-wix-tools.advice"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
8: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
0 9 1 version Ljava/lang/String;
private static java.lang.String lambda$3(java.lang.String[], java.util.stream.Stream);
descriptor: ([Ljava/lang/String;Ljava/util/stream/Stream;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=2
start local 1 0: aload 0
iconst_0
ldc ""
aastore
1: aload 1
invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
ldc ""
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
bipush 32
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 3: iload 3
iconst_m1
if_icmpne 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String int
StackMap stack:
aload 0
iconst_0
aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aastore
6: aload 0
iconst_0
aaload
areturn
end local 3 end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 7 1 output Ljava/util/stream/Stream<Ljava/lang/String;>;
2 7 2 firstLineOfOutput Ljava/lang/String;
3 7 3 separatorIdx I
private static java.nio.file.Path lambda$4(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: ldc "SystemDrive"
invokestatic jdk.jpackage.internal.WixTool.getEnvVariableAsPath:(Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
1: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/jpackage/internal/WixTool.lambda$5()Ljava/nio/file/Path; (6)
()Ljava/nio/file/Path;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.nio.file.Path
aload 0
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.List lambda$6(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
iconst_1
iconst_0
anewarray java.nio.file.FileVisitOption
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
astore 4
start local 4 2: aload 4
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 3: aload 4
ifnull 12
aload 4
invokeinterface java.util.stream.Stream.close:()V
goto 12
end local 1 StackMap locals: java.nio.file.Path top java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
4: astore 2
aload 4
ifnull 5
aload 4
invokeinterface java.util.stream.Stream.close:()V
end local 4 StackMap locals:
StackMap stack:
5: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
aload 2
ifnonnull 7
aload 3
astore 2
goto 8
StackMap locals:
StackMap stack:
7: aload 2
aload 3
if_acmpeq 8
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 2
athrow
StackMap locals: java.nio.file.Path
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: aload 2
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
11: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 1
end local 2 start local 1 12: StackMap locals: java.util.List
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 path Ljava/nio/file/Path;
3 4 1 result Ljava/util/List<Ljava/nio/file/Path;>;
12 13 1 result Ljava/util/List<Ljava/nio/file/Path;>;
2 5 4 paths Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
10 12 2 ex Ljava/io/IOException;
Exception table:
from to target type
2 3 4 any
1 6 6 any
0 9 9 Class java.io.IOException
private static boolean lambda$8(java.nio.file.PathMatcher, java.nio.file.Path);
descriptor: (Ljava/nio/file/PathMatcher;Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.PathMatcher.matches:(Ljava/nio/file/Path;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 path Ljava/nio/file/Path;
private static java.nio.file.Path lambda$10(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "bin"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
private static java.nio.file.Path lambda$5();
descriptor: ()Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "C:"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Enum<Ljdk/jpackage/internal/WixTool;>;
SourceFile: "WixTool.java"
NestMembers:
jdk.jpackage.internal.WixTool$ToolInfo
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final ToolInfo = jdk.jpackage.internal.WixTool$ToolInfo of jdk.jpackage.internal.WixTool