public final class org.graalvm.compiler.debug.Versions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.debug.Versions
super_class: java.lang.Object
{
static final org.graalvm.compiler.debug.Versions VERSIONS;
descriptor: Lorg/graalvm/compiler/debug/Versions;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.Object, java.lang.Object> versions;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: new org.graalvm.compiler.debug.Versions
dup
aload 0
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.lang.String
StackMap stack: new 1 new 1
2: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
StackMap locals: java.lang.String
StackMap stack: new 1 new 1 java.nio.file.Path
3: invokespecial org.graalvm.compiler.debug.Versions.<init>:(Ljava/nio/file/Path;)V
putstatic org.graalvm.compiler.debug.Versions.VERSIONS:Lorg/graalvm/compiler/debug/Versions;
end local 0 4: return
LocalVariableTable:
Start End Slot Name Signature
1 4 0 home Ljava/lang/String;
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 2: aload 1
invokestatic org.graalvm.compiler.debug.Versions.findReleaseInfo:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: goto 19
5: StackMap locals: org.graalvm.compiler.debug.Versions java.nio.file.Path java.util.Map java.nio.file.Path
StackMap stack:
aload 3
invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: org.graalvm.compiler.debug.Versions java.nio.file.Path java.util.Map java.nio.file.Path top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 7: aload 4
ldc "SOURCE="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
8: aload 4
ldc "SOURCE="
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
bipush 34
bipush 32
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc " "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 14
StackMap locals: org.graalvm.compiler.debug.Versions java.nio.file.Path java.util.Map java.nio.file.Path java.lang.String java.util.Iterator top int int java.lang.String[]
StackMap stack:
9: aload 9
iload 7
aaload
astore 6
start local 6 10: aload 6
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 10
start local 10 11: aload 10
ifnull 13
aload 10
arraylength
iconst_2
if_icmpne 13
12: aload 2
new java.lang.StringBuilder
dup
ldc "version."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
iconst_0
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 10
iconst_1
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 6 13: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
iload 8
if_icmplt 9
15: goto 19
end local 4 16: StackMap locals: org.graalvm.compiler.debug.Versions java.nio.file.Path java.util.Map java.nio.file.Path top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 17: goto 19
StackMap locals: org.graalvm.compiler.debug.Versions java.nio.file.Path java.util.Map
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield org.graalvm.compiler.debug.Versions.versions:Ljava/util/Map;
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/debug/Versions;
0 21 1 home Ljava/nio/file/Path;
2 21 2 map Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
3 17 3 info Ljava/nio/file/Path;
7 16 4 line Ljava/lang/String;
10 13 6 versionInfo Ljava/lang/String;
11 13 10 idVersion [Ljava/lang/String;
Exception table:
from to target type
2 4 18 Class java.io.IOException
5 15 18 Class java.io.IOException
16 17 18 Class java.io.IOException
MethodParameters:
Name Flags
home
public java.util.Map<java.lang.Object, java.lang.Object> withVersions(java.util.Map<java.lang.Object, java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getfield org.graalvm.compiler.debug.Versions.versions:Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.debug.Versions.versions:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/debug/Versions;
0 4 1 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;)Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
MethodParameters:
Name Flags
properties
private static java.nio.file.Path findReleaseInfo(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "release"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 1
start local 1 3: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
4: aload 1
areturn
5: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 2
start local 2 6: aload 2
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.nio.file.Path
StackMap stack:
aload 2
ldc "release"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 9: 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 10
aload 3
goto 11
StackMap locals: java.nio.file.Path
StackMap stack:
10: aconst_null
StackMap locals:
StackMap stack: java.nio.file.Path
11: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 jreDir Ljava/nio/file/Path;
3 12 1 releaseInJre Ljava/nio/file/Path;
6 12 2 jdkDir Ljava/nio/file/Path;
9 12 3 releaseInJdk Ljava/nio/file/Path;
MethodParameters:
Name Flags
jreDir
}
SourceFile: "Versions.java"