final class jdk.tools.jaotc.binformat.elf.ElfTargetInfo
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.binformat.elf.ElfTargetInfo
super_class: java.lang.Object
{
private static final char arch;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int endian;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static java.lang.String osName;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 0
start local 0 1: invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
if_acmpeq 3
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Only Little Endian byte order supported!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
aload 0
ldc "x86_64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals:
StackMap stack:
bipush 62
putstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.arch:C
5: goto 11
StackMap locals:
StackMap stack:
6: aload 0
ldc "aarch64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: sipush 183
putstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.arch:C
8: goto 11
9: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Unsupported architecture "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: iconst_0
putstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.arch:C
11: StackMap locals:
StackMap stack:
ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
putstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.osName:Ljava/lang/String;
12: getstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.osName:Ljava/lang/String;
ldc "linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
getstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.osName:Ljava/lang/String;
ldc "sunos"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Unsupported Operating System "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.osName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: ldc "Unknown"
putstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.osName:Ljava/lang/String;
end local 0 15: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 15 0 archStr Ljava/lang/String;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfTargetInfo;
static char getElfArch();
descriptor: ()C
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.arch:C
ireturn
LocalVariableTable:
Start End Slot Name Signature
static int getElfEndian();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
ireturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String getOsName();
descriptor: ()Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.binformat.elf.ElfTargetInfo.osName:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ElfTargetInfo.java"