public class javax.sql.rowset.RowSetProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sql.rowset.RowSetProvider
super_class: java.lang.Object
{
private static final java.lang.String ROWSET_DEBUG_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.sql.rowset.RowSetProvider.debug"
private static final java.lang.String ROWSET_FACTORY_IMPL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.rowset.RowSetFactoryImpl"
private static final java.lang.String ROWSET_FACTORY_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.sql.rowset.RowSetFactory"
private static boolean debug;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: iconst_1
putstatic javax.sql.rowset.RowSetProvider.debug:Z
1: ldc "javax.sql.rowset.RowSetProvider.debug"
invokestatic javax.sql.rowset.RowSetProvider.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 2: aload 0
ifnull 3
ldc "false"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
iconst_1
goto 4
StackMap locals: java.lang.String
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: putstatic javax.sql.rowset.RowSetProvider.debug:Z
end local 0 5: return
LocalVariableTable:
Start End Slot Name Signature
2 5 0 val Ljava/lang/String;
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sql/rowset/RowSetProvider;
public static javax.sql.rowset.RowSetFactory newFactory();
descriptor: ()Ljavax/sql/rowset/RowSetFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: ldc "Checking for Rowset System Property..."
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
3: ldc "javax.sql.rowset.RowSetFactory"
invokestatic javax.sql.rowset.RowSetProvider.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
4: aload 1
ifnull 16
5: new java.lang.StringBuilder
dup
ldc "Found system property, value="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
6: aload 1
ldc "com.sun.rowset.RowSetFactoryImpl"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: invokestatic javax.sql.rowset.RowSetProvider.defaultRowSetFactory:()Ljavax/sql/rowset/RowSetFactory;
8: areturn
9: StackMap locals: javax.sql.rowset.RowSetFactory java.lang.String
StackMap stack:
aload 1
aconst_null
iconst_0
invokestatic javax.sql.rowset.RowSetProvider.getFactoryClass:(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 2
start local 2 10: aload 2
checkcast javax.sql.rowset.RowSetFactory
astore 0
end local 2 11: goto 16
StackMap locals:
StackMap stack: java.lang.Exception
12: astore 2
start local 2 13: new java.sql.SQLException
dup
new java.lang.StringBuilder
dup
ldc "RowSetFactory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc " could not be instantiated: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
15: invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 16: StackMap locals:
StackMap stack:
aload 0
ifnonnull 18
17: invokestatic javax.sql.rowset.RowSetProvider.loadViaServiceLoader:()Ljavax/sql/rowset/RowSetFactory;
astore 0
18: StackMap locals:
StackMap stack:
aload 0
ifnonnull 19
invokestatic javax.sql.rowset.RowSetProvider.defaultRowSetFactory:()Ljavax/sql/rowset/RowSetFactory;
goto 20
StackMap locals:
StackMap stack:
19: aload 0
StackMap locals:
StackMap stack: javax.sql.rowset.RowSetFactory
20: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 21 0 factory Ljavax/sql/rowset/RowSetFactory;
2 21 1 factoryClassName Ljava/lang/String;
10 11 2 o Ljava/lang/Object;
13 16 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 8 12 Class java.lang.Exception
9 11 12 Class java.lang.Exception
Exceptions:
throws java.sql.SQLException
private static javax.sql.rowset.RowSetFactory defaultRowSetFactory();
descriptor: ()Ljavax/sql/rowset/RowSetFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.rowset.RowSetFactoryImpl
dup
invokespecial com.sun.rowset.RowSetFactoryImpl.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.sql.rowset.RowSetFactory newFactory(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/sql/rowset/RowSetFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: ldc "***In newInstance()"
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
1: aload 0
ifnonnull 3
2: new java.sql.SQLException
dup
ldc "Error: factoryClassName cannot be null"
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
4: goto 7
StackMap locals:
StackMap stack: java.security.AccessControlException
5: astore 2
start local 2 6: new java.sql.SQLException
dup
ldc "Access Exception"
aload 2
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokestatic javax.sql.rowset.RowSetProvider.getFactoryClass:(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;
astore 2
start local 2 8: aload 2
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.sql.rowset.RowSetFactory
astore 3
start local 3 9: getstatic javax.sql.rowset.RowSetProvider.debug:Z
ifeq 13
10: new java.lang.StringBuilder
dup
ldc "Created new instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
11: ldc " using ClassLoader: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
13: StackMap locals: java.lang.Class javax.sql.rowset.RowSetFactory
StackMap stack:
aload 3
14: areturn
end local 3 end local 2 15: StackMap locals: java.lang.String java.lang.ClassLoader
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 16: new java.sql.SQLException
dup
17: new java.lang.StringBuilder
dup
ldc "Provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
18: invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 19: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 20: new java.sql.SQLException
dup
21: new java.lang.StringBuilder
dup
ldc "Provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " could not be instantiated: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: aload 2
23: invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 factoryClassName Ljava/lang/String;
0 24 1 cl Ljava/lang/ClassLoader;
6 7 2 e Ljava/security/AccessControlException;
8 15 2 providerClass Ljava/lang/Class<*>;
9 15 3 instance Ljavax/sql/rowset/RowSetFactory;
16 19 2 x Ljava/lang/ClassNotFoundException;
20 24 2 x Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.security.AccessControlException
7 14 15 Class java.lang.ClassNotFoundException
7 14 19 Class java.lang.Exception
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
factoryClassName
cl
private static java.lang.ClassLoader getContextClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.sql.rowset.RowSetProvider$1
dup
invokespecial javax.sql.rowset.RowSetProvider$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.SecurityException
private static java.lang.Class<?> getFactoryClass(java.lang.String, java.lang.ClassLoader, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
ifnonnull 7
2: invokestatic javax.sql.rowset.RowSetProvider.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
3: aload 1
ifnonnull 5
4: new java.lang.ClassNotFoundException
dup
invokespecial java.lang.ClassNotFoundException.<init>:()V
athrow
5: StackMap locals: java.lang.Class
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
6: goto 14
7: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
8: goto 14
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
9: astore 4
start local 4 10: iload 2
ifeq 13
11: aload 0
iconst_1
ldc Ljavax/sql/rowset/RowSetFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
12: goto 14
13: StackMap locals: java.lang.ClassNotFoundException
StackMap stack:
aload 4
athrow
end local 4 14: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
15: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 factoryClassName Ljava/lang/String;
0 16 1 cl Ljava/lang/ClassLoader;
0 16 2 doFallback Z
1 16 3 factoryClass Ljava/lang/Class<*>;
10 14 4 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
1 8 9 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
factoryClassName
cl
doFallback
private static javax.sql.rowset.RowSetFactory loadViaServiceLoader();
descriptor: ()Ljavax/sql/rowset/RowSetFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: aconst_null
astore 0
start local 0 1: ldc "***in loadViaServiceLoader():"
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
2: ldc Ljavax/sql/rowset/RowSetFactory;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 2
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 13
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.sql.rowset.RowSetFactory
astore 1
start local 1 3: new java.lang.StringBuilder
dup
ldc " Loading done by the java.util.ServiceLoader :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
4: aload 1
astore 0
end local 1 5: goto 13
StackMap locals: javax.sql.rowset.RowSetFactory
StackMap stack: java.util.ServiceConfigurationError
6: astore 1
start local 1 7: new java.sql.SQLException
dup
8: new java.lang.StringBuilder
dup
ldc "RowSetFactory: Error locating RowSetFactory using Service Loader API: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: aload 1
12: invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 14 0 theFactory Ljavax/sql/rowset/RowSetFactory;
3 5 1 factory Ljavax/sql/rowset/RowSetFactory;
7 13 1 e Ljava/util/ServiceConfigurationError;
Exception table:
from to target type
1 5 6 Class java.util.ServiceConfigurationError
Exceptions:
throws java.sql.SQLException
private static java.lang.String getSystemProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new javax.sql.rowset.RowSetProvider$2
dup
aload 0
invokespecial javax.sql.rowset.RowSetProvider$2.<init>:(Ljava/lang/String;)V
2: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
new java.util.PropertyPermission
dup
aload 0
ldc "read"
invokespecial java.util.PropertyPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
4: goto 9
StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.SecurityException
5: astore 2
start local 2 6: new java.lang.StringBuilder
dup
ldc "error getting "
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;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.sql.rowset.RowSetProvider.trace:(Ljava/lang/String;)V
7: getstatic javax.sql.rowset.RowSetProvider.debug:Z
ifeq 9
8: aload 2
invokevirtual java.lang.SecurityException.printStackTrace:()V
end local 2 9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 propName Ljava/lang/String;
1 10 1 property Ljava/lang/String;
6 9 2 se Ljava/lang/SecurityException;
Exception table:
from to target type
1 4 5 Class java.lang.SecurityException
MethodParameters:
Name Flags
propName final
private static void trace(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic javax.sql.rowset.RowSetProvider.debug:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "###RowSets: "
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
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
}
SourceFile: "RowSetProvider.java"
NestMembers:
javax.sql.rowset.RowSetProvider$1 javax.sql.rowset.RowSetProvider$2
InnerClasses:
javax.sql.rowset.RowSetProvider$1
javax.sql.rowset.RowSetProvider$2