public final class sun.security.util.Parsing
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.util.Parsing
super_class: java.lang.Object
{
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 Lsun/security/util/Parsing;
public static int parseUnsignedInt(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NumberFormatException
dup
ldc "null"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: iload 2
ifle 20
4: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: iload 3
bipush 45
if_icmpne 10
6: new java.lang.NumberFormatException
dup
ldc "Illegal leading minus sign on unsigned string %s."
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 0
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int int
StackMap stack:
iload 2
iconst_5
if_icmple 12
11: iload 1
bipush 10
if_icmpne 13
iload 2
bipush 9
if_icmpgt 13
12: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
ireturn
13: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;I)J
lstore 4
start local 4 14: lload 4
ldc -4294967296
land
lconst_0
lcmp
ifne 16
15: lload 4
l2i
ireturn
16: StackMap locals: long
StackMap stack:
new java.lang.NumberFormatException
dup
ldc "String value %s exceeds range of unsigned int."
iconst_1
anewarray java.lang.Object
dup
iconst_0
17: aload 0
aastore
18: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
19: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 20: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
new java.lang.StringBuilder
dup
ldc "For input string: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 s Ljava/lang/String;
0 21 1 radix I
3 21 2 len I
5 20 3 firstChar C
14 20 4 ell J
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
radix
public static int parseUnsignedInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
invokestatic sun.security.util.Parsing.parseUnsignedInt:(Ljava/lang/String;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
}
SourceFile: "Parsing.java"