public final class jdk.internal.icu.util.VersionInfo
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.icu.util.VersionInfo
super_class: java.lang.Object
{
public static final java.lang.String ICU_DATA_VERSION_PATH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "67b"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private int m_version_;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final java.util.HashMap<java.lang.Integer, java.lang.Object> MAP_;
descriptor: Ljava/util/HashMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/Integer;Ljava/lang/Object;>;
private static final java.lang.String INVALID_VERSION_NUMBER_;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Invalid version number: Version number may be negative or greater than 255"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic jdk.internal.icu.util.VersionInfo.MAP_:Ljava/util/HashMap;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.internal.icu.util.VersionInfo getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/icu/util/VersionInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iconst_4
newarray 10
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 15
5: StackMap locals: java.lang.String int int[] int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 5
bipush 46
if_icmpne 9
7: iinc 3 1
8: goto 14
9: StackMap locals: int
StackMap stack:
iload 5
bipush 48
isub
i2c
istore 5
10: iload 5
iflt 11
iload 5
bipush 9
if_icmple 12
11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid version number: Version number may be negative or greater than 255"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 2
iload 3
dup2
iaload
bipush 10
imul
iastore
13: aload 2
iload 3
dup2
iaload
iload 5
iadd
iastore
14: StackMap locals:
StackMap stack:
iinc 4 1
end local 5 15: StackMap locals:
StackMap stack:
iload 3
iconst_4
if_icmpge 16
iload 4
iload 1
if_icmplt 5
16: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmpeq 20
17: new java.lang.IllegalArgumentException
dup
18: new java.lang.StringBuilder
dup
ldc "Invalid version number: String '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' exceeds version format"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 21: goto 25
22: StackMap locals: int
StackMap stack:
aload 2
iload 5
iaload
iflt 23
aload 2
iload 5
iaload
sipush 255
if_icmple 24
23: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid version number: Version number may be negative or greater than 255"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
25: iload 5
iconst_4
if_icmplt 22
end local 5 26: aload 2
iconst_0
iaload
aload 2
iconst_1
iaload
aload 2
iconst_2
iaload
aload 2
iconst_3
iaload
invokestatic jdk.internal.icu.util.VersionInfo.getInstance:(IIII)Ljdk/internal/icu/util/VersionInfo;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 version Ljava/lang/String;
1 27 1 length I
2 27 2 array [I
3 27 3 count I
4 27 4 index I
6 15 5 c C
21 26 5 i I
MethodParameters:
Name Flags
version
public static jdk.internal.icu.util.VersionInfo getInstance(int, int, int, int);
descriptor: (IIII)Ljdk/internal/icu/util/VersionInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
iflt 2
iload 0
sipush 255
if_icmpgt 2
iload 1
iflt 2
iload 1
sipush 255
if_icmpgt 2
1: iload 2
iflt 2
iload 2
sipush 255
if_icmpgt 2
iload 3
iflt 2
iload 3
sipush 255
if_icmple 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid version number: Version number may be negative or greater than 255"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
iload 0
iload 1
iload 2
iload 3
invokestatic jdk.internal.icu.util.VersionInfo.getInt:(IIII)I
istore 4
start local 4 4: iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 5
start local 5 5: getstatic jdk.internal.icu.util.VersionInfo.MAP_:Ljava/util/HashMap;
aload 5
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 6: aload 6
ifnonnull 9
7: new jdk.internal.icu.util.VersionInfo
dup
iload 4
invokespecial jdk.internal.icu.util.VersionInfo.<init>:(I)V
astore 6
8: getstatic jdk.internal.icu.util.VersionInfo.MAP_:Ljava/util/HashMap;
aload 5
aload 6
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals: int java.lang.Integer java.lang.Object
StackMap stack:
aload 6
checkcast jdk.internal.icu.util.VersionInfo
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 major I
0 10 1 minor I
0 10 2 milli I
0 10 3 micro I
4 10 4 version I
5 10 5 key Ljava/lang/Integer;
6 10 6 result Ljava/lang/Object;
MethodParameters:
Name Flags
major
minor
milli
micro
public int compareTo(jdk.internal.icu.util.VersionInfo);
descriptor: (Ljdk/internal/icu/util/VersionInfo;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.icu.util.VersionInfo.m_version_:I
aload 1
getfield jdk.internal.icu.util.VersionInfo.m_version_:I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/icu/util/VersionInfo;
0 1 1 other Ljdk/internal/icu/util/VersionInfo;
MethodParameters:
Name Flags
other
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield jdk.internal.icu.util.VersionInfo.m_version_:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/icu/util/VersionInfo;
0 3 1 compactversion I
MethodParameters:
Name Flags
compactversion
private static int getInt(int, int, int, int);
descriptor: (IIII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
bipush 24
ishl
iload 1
bipush 16
ishl
ior
iload 2
bipush 8
ishl
ior
iload 3
ior
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 major I
0 1 1 minor I
0 1 2 milli I
0 1 3 micro I
MethodParameters:
Name Flags
major
minor
milli
micro
}
SourceFile: "VersionInfo.java"