public class jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo
super_class: java.lang.Object
{
private static final int elfClass;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int arch;
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
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=3, 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: ldc "sun.arch.data.model"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 1
ldc "32"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: iconst_1
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
4: goto 10
StackMap locals: java.lang.String java.lang.String
StackMap stack:
5: aload 1
ldc "64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: iconst_2
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
7: goto 10
8: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Failed to discover ELF class!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: iconst_0
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
10: StackMap locals:
StackMap stack:
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
astore 2
start local 2 11: aload 2
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 14
12: iconst_1
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.endian:I
13: goto 19
StackMap locals: java.nio.ByteOrder
StackMap stack:
14: aload 2
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 17
15: iconst_2
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.endian:I
16: goto 19
17: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Failed to discover endian-ness!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: iconst_0
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.endian:I
19: StackMap locals:
StackMap stack:
aload 0
ldc "x86"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: iconst_3
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.arch:I
21: goto 30
StackMap locals:
StackMap stack:
22: aload 0
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
aload 0
ldc "x86_64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: StackMap locals:
StackMap stack:
bipush 62
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.arch:I
24: goto 30
StackMap locals:
StackMap stack:
25: aload 0
ldc "sparcv9"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: bipush 43
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.arch:I
27: goto 30
28: 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
29: iconst_0
putstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.arch:I
30: 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.jnilibelf.JNIELFTargetInfo.osName:Ljava/lang/String;
end local 2 end local 1 end local 0 31: return
LocalVariableTable:
Start End Slot Name Signature
1 31 0 archStr Ljava/lang/String;
2 31 1 datamodelStr Ljava/lang/String;
11 31 2 bo Ljava/nio/ByteOrder;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/jnilibelf/JNIELFTargetInfo;
public static int getELFArch();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.arch:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int getELFClass();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int getELFEndian();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.endian:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getOsName();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.osName:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static int createReloca();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.arch:I
tableswitch { // 62 - 62
62: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int sizeOfSymtabEntry();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
invokestatic jdk.tools.jaotc.jnilibelf.JNILibELFAPI.size_of_Sym:(I)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int sizeOfRelocEntry();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.createReloca:()I
iconst_1
if_icmpne 2
1: getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
invokestatic jdk.tools.jaotc.jnilibelf.JNILibELFAPI.size_of_Rela:(I)I
ireturn
2: StackMap locals:
StackMap stack:
getstatic jdk.tools.jaotc.jnilibelf.JNIELFTargetInfo.elfClass:I
invokestatic jdk.tools.jaotc.jnilibelf.JNILibELFAPI.size_of_Rel:(I)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JNIELFTargetInfo.java"