class sun.util.locale.provider.SPILocaleProviderAdapter$1 implements java.security.PrivilegedExceptionAction<P>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.util.locale.provider.SPILocaleProviderAdapter$1
super_class: java.lang.Object
{
final sun.util.locale.provider.SPILocaleProviderAdapter this$0;
descriptor: Lsun/util/locale/provider/SPILocaleProviderAdapter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Class val$c;
descriptor: Ljava/lang/Class;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.util.locale.provider.SPILocaleProviderAdapter, java.lang.Class);
descriptor: (Lsun/util/locale/provider/SPILocaleProviderAdapter;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield sun.util.locale.provider.SPILocaleProviderAdapter$1.this$0:Lsun/util/locale/provider/SPILocaleProviderAdapter;
aload 0
aload 2
putfield sun.util.locale.provider.SPILocaleProviderAdapter$1.val$c:Ljava/lang/Class;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/SPILocaleProviderAdapter$1;
MethodParameters:
Name Flags
this$0 final
val$c final
public P run();
descriptor: ()Ljava/util/spi/LocaleServiceProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.util.locale.provider.SPILocaleProviderAdapter$1.val$c:Ljava/lang/Class;
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 3
goto 17
StackMap locals: sun.util.locale.provider.SPILocaleProviderAdapter$1 java.util.spi.LocaleServiceProvider top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 2
start local 2 3: aload 1
ifnonnull 16
4: new java.lang.StringBuilder
dup
ldc Lsun/util/locale/provider/SPILocaleProviderAdapter;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield sun.util.locale.provider.SPILocaleProviderAdapter$1.val$c:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "Delegate"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
9: invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
10: astore 1
11: goto 16
12: StackMap locals: sun.util.locale.provider.SPILocaleProviderAdapter$1 java.util.spi.LocaleServiceProvider java.util.spi.LocaleServiceProvider java.util.Iterator
StackMap stack: java.lang.ReflectiveOperationException
astore 4
start local 4 13: new java.util.ServiceConfigurationError
dup
14: ldc "SPI locale provider cannot be instantiated."
aload 4
15: invokespecial java.util.ServiceConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 1
checkcast sun.util.locale.provider.SPILocaleProviderAdapter$Delegate
aload 2
invokeinterface sun.util.locale.provider.SPILocaleProviderAdapter$Delegate.addImpl:(Ljava/util/spi/LocaleServiceProvider;)V
end local 2 17: StackMap locals: sun.util.locale.provider.SPILocaleProviderAdapter$1 java.util.spi.LocaleServiceProvider top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
18: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/util/locale/provider/SPILocaleProviderAdapter$1;
1 19 1 delegate TP;
3 17 2 provider Ljava/util/spi/LocaleServiceProvider;
13 16 4 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
4 11 12 Class java.lang.ClassNotFoundException
4 11 12 Class java.lang.InstantiationException
4 11 12 Class java.lang.IllegalAccessException
Signature: ()TP;
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.util.locale.provider.SPILocaleProviderAdapter$1.run:()Ljava/util/spi/LocaleServiceProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedExceptionAction<TP;>;
SourceFile: "SPILocaleProviderAdapter.java"
EnclosingMethod: sun.util.locale.provider.SPILocaleProviderAdapter.findInstalledProvider:(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;
NestHost: sun.util.locale.provider.SPILocaleProviderAdapter
InnerClasses:
sun.util.locale.provider.SPILocaleProviderAdapter$1
private abstract Delegate = sun.util.locale.provider.SPILocaleProviderAdapter$Delegate of sun.util.locale.provider.SPILocaleProviderAdapter