class sun.security.provider.SeedGenerator$URLSeedGenerator extends sun.security.provider.SeedGenerator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.provider.SeedGenerator$URLSeedGenerator
super_class: sun.security.provider.SeedGenerator
{
private java.lang.String deviceName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream seedStream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 // sun.security.provider.SeedGenerator$URLSeedGenerator this
start local 1 // java.lang.String egdurl
0: .line 495
aload 0 /* this */
invokespecial sun.security.provider.SeedGenerator.<init>:()V
1: .line 496
aload 1 /* egdurl */
ifnonnull 3
2: .line 497
new java.io.IOException
dup
ldc "No random source specified"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: .line 499
StackMap locals: sun.security.provider.SeedGenerator$URLSeedGenerator java.lang.String
StackMap stack:
aload 0 /* this */
aload 1 /* egdurl */
putfield sun.security.provider.SeedGenerator$URLSeedGenerator.deviceName:Ljava/lang/String;
4: .line 500
aload 0 /* this */
invokevirtual sun.security.provider.SeedGenerator$URLSeedGenerator.init:()V
5: .line 501
return
end local 1 // java.lang.String egdurl
end local 0 // sun.security.provider.SeedGenerator$URLSeedGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/provider/SeedGenerator$URLSeedGenerator;
0 6 1 egdurl Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
egdurl
private void init();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 // sun.security.provider.SeedGenerator$URLSeedGenerator this
0: .line 504
new java.net.URL
dup
aload 0 /* this */
getfield sun.security.provider.SeedGenerator$URLSeedGenerator.deviceName:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 1 /* device */
start local 1 // java.net.URL device
1: .line 506
aload 0 /* this */
2: .line 507
new sun.security.provider.SeedGenerator$URLSeedGenerator$1
dup
aload 0 /* this */
aload 1 /* device */
invokespecial sun.security.provider.SeedGenerator$URLSeedGenerator$1.<init>:(Lsun/security/provider/SeedGenerator$URLSeedGenerator;Ljava/net/URL;)V
3: .line 506
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.io.InputStream
putfield sun.security.provider.SeedGenerator$URLSeedGenerator.seedStream:Ljava/io/InputStream;
4: .line 527
goto 9
StackMap locals: sun.security.provider.SeedGenerator$URLSeedGenerator java.net.URL
StackMap stack: java.lang.Exception
5: astore 2 /* e */
start local 2 // java.lang.Exception e
6: .line 528
new java.io.IOException
dup
7: .line 529
new java.lang.StringBuilder
dup
ldc "Failed to open "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield sun.security.provider.SeedGenerator$URLSeedGenerator.deviceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2 /* e */
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
8: .line 528
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 // java.lang.Exception e
9: .line 531
StackMap locals:
StackMap stack:
return
end local 1 // java.net.URL device
end local 0 // sun.security.provider.SeedGenerator$URLSeedGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/provider/SeedGenerator$URLSeedGenerator;
1 10 1 device Ljava/net/URL;
6 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
Exceptions:
throws java.io.IOException
void getSeedBytes(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 // sun.security.provider.SeedGenerator$URLSeedGenerator this
start local 1 // byte[] result
0: .line 535
aload 1 /* result */
arraylength
istore 2 /* len */
start local 2 // int len
1: .line 536
iconst_0
istore 3 /* read */
start local 3 // int read
2: .line 538
goto 11
3: .line 539
StackMap locals: int int
StackMap stack:
aload 0 /* this */
getfield sun.security.provider.SeedGenerator$URLSeedGenerator.seedStream:Ljava/io/InputStream;
aload 1 /* result */
iload 3 /* read */
iload 2 /* len */
iload 3 /* read */
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 4 /* count */
start local 4 // int count
4: .line 541
iload 4 /* count */
ifge 10
5: .line 542
new java.lang.InternalError
dup
6: .line 543
new java.lang.StringBuilder
dup
ldc "URLSeedGenerator "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield sun.security.provider.SeedGenerator$URLSeedGenerator.deviceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: .line 544
ldc " reached end of file"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: .line 543
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: .line 542
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
10: .line 546
StackMap locals: int
StackMap stack:
iload 3 /* read */
iload 4 /* count */
iadd
istore 3 /* read */
end local 4 // int count
11: .line 538
StackMap locals:
StackMap stack:
iload 3 /* read */
iload 2 /* len */
if_icmplt 3
12: .line 548
goto 17
StackMap locals:
StackMap stack: java.io.IOException
13: astore 4 /* ioe */
start local 4 // java.io.IOException ioe
14: .line 549
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "URLSeedGenerator "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield sun.security.provider.SeedGenerator$URLSeedGenerator.deviceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: .line 550
ldc " generated exception: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4 /* ioe */
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4 /* ioe */
16: .line 549
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 // java.io.IOException ioe
17: .line 552
StackMap locals:
StackMap stack:
return
end local 3 // int read
end local 2 // int len
end local 1 // byte[] result
end local 0 // sun.security.provider.SeedGenerator$URLSeedGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/provider/SeedGenerator$URLSeedGenerator;
0 18 1 result [B
1 18 2 len I
2 18 3 read I
4 11 4 count I
14 17 4 ioe Ljava/io/IOException;
Exception table:
from to target type
2 12 13 Class java.io.IOException
MethodParameters:
Name Flags
result
}
SourceFile: "SeedGenerator.java"
NestHost: sun.security.provider.SeedGenerator
InnerClasses:
URLSeedGenerator = sun.security.provider.SeedGenerator$URLSeedGenerator of sun.security.provider.SeedGenerator
sun.security.provider.SeedGenerator$URLSeedGenerator$1