final class jdk.tools.jaotc.binformat.macho.MachOTargetInfo
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.binformat.macho.MachOTargetInfo
super_class: java.lang.Object
{
private static final int arch;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int subarch;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int endian;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final java.lang.String osName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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 7
4: StackMap locals:
StackMap stack:
ldc 16777223
putstatic jdk.tools.jaotc.binformat.macho.MachOTargetInfo.arch:I
5: iconst_3
putstatic jdk.tools.jaotc.binformat.macho.MachOTargetInfo.subarch:I
6: goto 10
7: 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
8: iconst_m1
putstatic jdk.tools.jaotc.binformat.macho.MachOTargetInfo.arch:I
9: iconst_0
putstatic jdk.tools.jaotc.binformat.macho.MachOTargetInfo.subarch:I
10: 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.macho.MachOTargetInfo.osName:Ljava/lang/String;
end local 0 11: return
LocalVariableTable:
Start End Slot Name Signature
1 11 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/macho/MachOTargetInfo;
static int getMachOArch();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.binformat.macho.MachOTargetInfo.arch:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
static int getMachOSubArch();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.binformat.macho.MachOTargetInfo.subarch:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
static int getMachOEndian();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
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.macho.MachOTargetInfo.osName:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "MachOTargetInfo.java"