public class org.jruby.RubyGlobal$StringOnlyRubyHash extends org.jruby.RubyHash
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyGlobal$StringOnlyRubyHash
super_class: org.jruby.RubyHash
{
private final boolean updateRealENV;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.jruby.util.ByteList PATH_BYTES;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new org.jruby.util.ByteList
dup
iconst_4
newarray 8
dup
iconst_0
bipush 80
bastore
dup
iconst_1
bipush 65
bastore
dup
iconst_2
bipush 84
bastore
dup
iconst_3
bipush 72
bastore
getstatic org.jcodings.specific.USASCIIEncoding.INSTANCE:Lorg/jcodings/specific/USASCIIEncoding;
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BLorg/jcodings/Encoding;Z)V
putstatic org.jruby.RubyGlobal$StringOnlyRubyHash.PATH_BYTES:Lorg/jruby/util/ByteList;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, java.util.Map<org.jruby.RubyString, org.jruby.RubyString>, org.jruby.runtime.builtin.IRubyObject, );
descriptor: (Lorg/jruby/Ruby;Ljava/util/Map;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jruby.RubyHash.<init>:(Lorg/jruby/Ruby;Ljava/util/Map;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 0
iload 4
putfield org.jruby.RubyGlobal$StringOnlyRubyHash.updateRealENV:Z
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 valueMap Ljava/util/Map<Lorg/jruby/RubyString;Lorg/jruby/RubyString;>;
0 3 3 defaultValue Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 updateRealENV Z
Signature: (Lorg/jruby/Ruby;Ljava/util/Map<Lorg/jruby/RubyString;Lorg/jruby/RubyString;>;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
MethodParameters:
Name Flags
runtime
valueMap
defaultValue
updateRealENV
protected boolean isCaseSensitive();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
public void <init>(org.jruby.Ruby, java.util.Map<org.jruby.RubyString, org.jruby.RubyString>, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Ljava/util/Map;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokespecial org.jruby.RubyGlobal$StringOnlyRubyHash.<init>:(Lorg/jruby/Ruby;Ljava/util/Map;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 valueMap Ljava/util/Map<Lorg/jruby/RubyString;Lorg/jruby/RubyString;>;
0 2 3 defaultValue Lorg/jruby/runtime/builtin/IRubyObject;
Signature: (Lorg/jruby/Ruby;Ljava/util/Map<Lorg/jruby/RubyString;Lorg/jruby/RubyString;>;Lorg/jruby/runtime/builtin/IRubyObject;)V
MethodParameters:
Name Flags
runtime
valueMap
defaultValue
public org.jruby.RubyHash to_hash();
descriptor: ()Lorg/jruby/RubyHash;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 1
invokestatic org.jruby.RubyHash.newHash:(Lorg/jruby/Ruby;)Lorg/jruby/RubyHash;
astore 2
start local 2 2: aload 2
aload 1
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
invokevirtual org.jruby.RubyHash.replace:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyHash;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
1 4 1 runtime Lorg/jruby/Ruby;
2 4 2 hash Lorg/jruby/RubyHash;
protected org.jruby.runtime.builtin.IRubyObject internalGet(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyGlobal$StringOnlyRubyHash.size:I
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.isCaseSensitive:()Z
ifne 3
2: aload 0
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.getCorrectKey:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
astore 1
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.jruby.RubyHash.internalGet:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 4 1 key Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
key
public org.jruby.runtime.builtin.IRubyObject op_aset(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.case_aware_op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 key Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
key
value
public org.jruby.runtime.builtin.IRubyObject op_aset19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 key Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 value Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
key
value
private org.jruby.runtime.builtin.IRubyObject case_aware_op_aset(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic org.jruby.RubyGlobal$StringOnlyRubyHash.isStringLike:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into String"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 4
start local 4 3: aload 0
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.isCaseSensitive:()Z
ifne 4
aload 0
aload 4
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.getCorrectKey:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
dup
astore 4
astore 2
4: StackMap locals: org.jruby.RubyString
StackMap stack:
aload 3
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 6
5: aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokespecial org.jruby.RubyHash.delete:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
6: StackMap locals:
StackMap stack:
aload 3
invokestatic org.jruby.RubyGlobal$StringOnlyRubyHash.isStringLike:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 8
7: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into String"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
8: StackMap locals:
StackMap stack:
aload 1
aload 4
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokestatic org.jruby.RubyGlobal$StringOnlyRubyHash.normalizeEnvString:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
astore 5
start local 5 9: aload 0
getfield org.jruby.RubyGlobal$StringOnlyRubyHash.updateRealENV:Z
ifeq 24
10: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
astore 6
start local 6 11: aload 4
invokevirtual org.jruby.RubyString.asJavaString:()Ljava/lang/String;
astore 7
start local 7 12: aload 5
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 18
13: ldc Ljava/lang/Object;
dup
astore 8
monitorenter
14: aload 6
aload 7
invokeinterface jnr.posix.POSIX.unsetenv:(Ljava/lang/String;)I
pop
aload 8
monitorexit
15: goto 24
StackMap locals: org.jruby.RubyGlobal$StringOnlyRubyHash org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyString org.jruby.RubyString jnr.posix.POSIX java.lang.String java.lang.Class
StackMap stack: java.lang.Throwable
16: aload 8
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.jruby.RubyString.asJavaString:()Ljava/lang/String;
astore 8
start local 8 19: ldc Ljava/lang/Object;
dup
astore 9
monitorenter
20: aload 6
aload 7
aload 8
iconst_1
invokeinterface jnr.posix.POSIX.setenv:(Ljava/lang/String;Ljava/lang/String;I)I
pop
aload 9
monitorexit
21: goto 24
StackMap locals: org.jruby.RubyGlobal$StringOnlyRubyHash org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyString org.jruby.RubyString jnr.posix.POSIX java.lang.String java.lang.String java.lang.Class
StackMap stack: java.lang.Throwable
22: aload 9
monitorexit
23: athrow
end local 8 end local 7 end local 6 24: StackMap locals: org.jruby.RubyGlobal$StringOnlyRubyHash org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyString org.jruby.RubyString
StackMap stack:
aload 0
aload 1
aload 4
aload 5
invokespecial org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 25 1 context Lorg/jruby/runtime/ThreadContext;
0 25 2 key Lorg/jruby/runtime/builtin/IRubyObject;
0 25 3 value Lorg/jruby/runtime/builtin/IRubyObject;
3 25 4 keyAsStr Lorg/jruby/RubyString;
9 25 5 valueAsStr Lorg/jruby/RubyString;
11 24 6 posix Ljnr/posix/POSIX;
12 24 7 keyAsJava Ljava/lang/String;
19 24 8 valueAsJava Ljava/lang/String;
Exception table:
from to target type
14 15 16 any
16 17 16 any
20 21 22 any
22 23 22 any
MethodParameters:
Name Flags
context
key
value final
private static boolean isStringLike(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyString
ifne 1
aload 0
ldc "to_str"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj final
private org.jruby.RubyString getCorrectKey(org.jruby.RubyString);
descriptor: (Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 12
2: aload 0
invokevirtual org.jruby.RubyGlobal$StringOnlyRubyHash.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 3
start local 3 3: aload 0
aload 3
invokespecial org.jruby.RubyHash.keys:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyArray;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 11
6: StackMap locals: org.jruby.RubyGlobal$StringOnlyRubyHash org.jruby.RubyString org.jruby.RubyString org.jruby.runtime.ThreadContext org.jruby.RubyArray int
StackMap stack:
aload 4
iload 5
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 6
start local 6 7: aload 3
aload 6
aload 1
invokestatic org.jruby.RubyGlobal$StringOnlyRubyHash.equalIgnoreCase:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;Lorg/jruby/RubyString;)Z
ifeq 10
8: aload 6
astore 2
9: goto 12
end local 6 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 4
invokevirtual org.jruby.RubyArray.size:()I
if_icmplt 6
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/RubyGlobal$StringOnlyRubyHash;
0 13 1 key Lorg/jruby/RubyString;
1 13 2 actualKey Lorg/jruby/RubyString;
3 12 3 context Lorg/jruby/runtime/ThreadContext;
4 12 4 keys Lorg/jruby/RubyArray;
5 12 5 i I
7 10 6 candidateKey Lorg/jruby/RubyString;
MethodParameters:
Name Flags
key final
private static org.jruby.RubyString normalizeEnvString(org.jruby.runtime.ThreadContext, org.jruby.RubyString, org.jruby.RubyString);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 3
2: aload 0
aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
getstatic org.jruby.RubyGlobal$StringOnlyRubyHash.PATH_BYTES:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokestatic org.jruby.RubyGlobal$StringOnlyRubyHash.equalIgnoreCase:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;Lorg/jruby/RubyString;)Z
ifeq 8
goto 4
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
getstatic org.jruby.RubyGlobal$StringOnlyRubyHash.PATH_BYTES:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.equal:(Lorg/jruby/util/ByteList;)Z
ifeq 8
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getFileSystemEncoding:()Lorg/jcodings/Encoding;
astore 5
start local 5 5: aload 0
aload 2
aload 2
invokevirtual org.jruby.RubyString.getEncoding:()Lorg/jcodings/Encoding;
aload 5
invokestatic org.jruby.util.io.EncodingUtils.strConvEnc:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)Lorg/jruby/RubyString;
astore 4
start local 4 6: aload 2
aload 4
if_acmpne 9
aload 2
invokevirtual org.jruby.RubyString.dup:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyString
astore 4
end local 5 7: goto 9
end local 4 8: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
aload 3
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getLocaleEncoding:()Lorg/jcodings/Encoding;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jcodings/Encoding;)Lorg/jruby/RubyString;
astore 4
start local 4 9: StackMap locals: org.jruby.RubyString
StackMap stack:
aload 4
iconst_1
invokevirtual org.jruby.RubyString.setFrozen:(Z)V
10: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Lorg/jruby/runtime/ThreadContext;
0 11 1 key Lorg/jruby/RubyString;
0 11 2 value Lorg/jruby/RubyString;
1 11 3 runtime Lorg/jruby/Ruby;
6 8 4 valueStr Lorg/jruby/RubyString;
9 11 4 valueStr Lorg/jruby/RubyString;
5 7 5 enc Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
context
key
value
private static boolean equalIgnoreCase(org.jruby.runtime.ThreadContext, org.jruby.RubyString, org.jruby.RubyString);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;Lorg/jruby/RubyString;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokevirtual org.jruby.RubyString.casecmp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyFixnum
invokevirtual org.jruby.RubyFixnum.isZero:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 str1 Lorg/jruby/RubyString;
0 1 2 str2 Lorg/jruby/RubyString;
MethodParameters:
Name Flags
context
str1 final
str2 final
}
SourceFile: "RubyGlobal.java"
NestHost: org.jruby.RubyGlobal
InnerClasses:
public StringOnlyRubyHash = org.jruby.RubyGlobal$StringOnlyRubyHash of org.jruby.RubyGlobal