public class org.jruby.platform.SolarisPlatform extends org.jruby.platform.Platform
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.platform.SolarisPlatform
super_class: org.jruby.platform.Platform
{
private final java.lang.Class systemClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object system;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Method groupsMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.platform.Platform.<init>:()V
1: aconst_null
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: ldc "com.sun.security.auth.module.SolarisSystem"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
5: aload 1
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 2
6: aload 1
ldc "getGroups"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
7: goto 10
StackMap locals: org.jruby.platform.SolarisPlatform java.lang.Class java.lang.Object java.lang.reflect.Method
StackMap stack: java.lang.Exception
8: astore 4
start local 4 9: new java.lang.UnsupportedOperationException
dup
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 4
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jruby.platform.SolarisPlatform.systemClass:Ljava/lang/Class;
11: aload 0
aload 2
putfield org.jruby.platform.SolarisPlatform.system:Ljava/lang/Object;
12: aload 0
aload 3
putfield org.jruby.platform.SolarisPlatform.groupsMethod:Ljava/lang/reflect/Method;
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/platform/SolarisPlatform;
2 14 1 sClass Ljava/lang/Class;
3 14 2 s Ljava/lang/Object;
4 14 3 g Ljava/lang/reflect/Method;
9 10 4 e Ljava/lang/Exception;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
public long[] getGroups(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.platform.SolarisPlatform.groupsMethod:Ljava/lang/reflect/Method;
ifnonnull 2
1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
ldc "groups() function is unimplemented on this platform"
invokevirtual org.jruby.Ruby.newNotImplementedError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.platform.SolarisPlatform.groupsMethod:Ljava/lang/reflect/Method;
aload 0
getfield org.jruby.platform.SolarisPlatform.system:Ljava/lang/Object;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast long[]
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new java.lang.UnsupportedOperationException
dup
ldc "groups() function is unimplemented on this platform"
aload 2
invokespecial java.lang.UnsupportedOperationException.<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 6 0 this Lorg/jruby/platform/SolarisPlatform;
0 6 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
MethodParameters:
Name Flags
recv
}
SourceFile: "SolarisPlatform.java"