public class org.jruby.RubyEncoding extends org.jruby.RubyObject implements org.jruby.compiler.Constantizable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyEncoding
super_class: org.jruby.RubyObject
{
public static final java.nio.charset.Charset UTF8;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.nio.charset.Charset UTF16;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.nio.charset.Charset ISO;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.util.ByteList LOCALE;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.util.ByteList EXTERNAL;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.util.ByteList FILESYSTEM;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.util.ByteList INTERNAL;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private org.jcodings.Encoding encoding;
descriptor: Lorg/jcodings/Encoding;
flags: (0x0002) ACC_PRIVATE
private final org.jruby.util.ByteList name;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isDummy;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object constant;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int CHAR_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static final java.lang.ThreadLocal<java.lang.ref.SoftReference<org.jruby.RubyEncoding$UTF8Coder>> UTF8_CODER;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/lang/ref/SoftReference<Lorg/jruby/RubyEncoding$UTF8Coder;>;>;
private static final java.lang.ThreadLocal<java.lang.ref.SoftReference<org.jruby.RubyEncoding$ISOCoder>> ISO_CODER;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/lang/ref/SoftReference<Lorg/jruby/RubyEncoding$ISOCoder;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
putstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
1: getstatic java.nio.charset.StandardCharsets.UTF_16:Ljava/nio/charset/Charset;
putstatic org.jruby.RubyEncoding.UTF16:Ljava/nio/charset/Charset;
2: getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
putstatic org.jruby.RubyEncoding.ISO:Ljava/nio/charset/Charset;
3: new org.jruby.util.ByteList
dup
ldc "locale"
invokestatic org.jruby.RubyEncoding.encodeISO:(Ljava/lang/CharSequence;)[B
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
putstatic org.jruby.RubyEncoding.LOCALE:Lorg/jruby/util/ByteList;
4: new org.jruby.util.ByteList
dup
ldc "external"
invokestatic org.jruby.RubyEncoding.encodeISO:(Ljava/lang/CharSequence;)[B
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
putstatic org.jruby.RubyEncoding.EXTERNAL:Lorg/jruby/util/ByteList;
5: new org.jruby.util.ByteList
dup
ldc "filesystem"
invokestatic org.jruby.RubyEncoding.encodeISO:(Ljava/lang/CharSequence;)[B
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
putstatic org.jruby.RubyEncoding.FILESYSTEM:Lorg/jruby/util/ByteList;
6: new org.jruby.util.ByteList
dup
ldc "internal"
invokestatic org.jruby.RubyEncoding.encodeISO:(Ljava/lang/CharSequence;)[B
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
putstatic org.jruby.RubyEncoding.INTERNAL:Lorg/jruby/util/ByteList;
7: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.jruby.RubyEncoding.UTF8_CODER:Ljava/lang/ThreadLocal;
8: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.jruby.RubyEncoding.ISO_CODER:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.RubyClass createEncodingClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Encoding"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.jruby.Ruby.setEncoding:(Lorg/jruby/RubyClass;)V
2: aload 1
getstatic org.jruby.runtime.ClassIndex.ENCODING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
3: aload 1
ldc Lorg/jruby/RubyEncoding;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
4: aload 1
new org.jruby.RubyModule$JavaClassKindOf
dup
ldc Lorg/jruby/RubyEncoding;
invokespecial org.jruby.RubyModule$JavaClassKindOf.<init>:(Ljava/lang/Class;)V
putfield org.jruby.RubyClass.kindOf:Lorg/jruby/RubyModule$KindOf;
5: aload 1
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
ldc "allocate"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
6: aload 1
ldc Lorg/jruby/RubyEncoding;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 runtime Lorg/jruby/Ruby;
1 8 1 encodingc Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
private void <init>(org.jruby.Ruby, byte[], int, int, boolean);
descriptor: (Lorg/jruby/Ruby;[BIIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
new org.jruby.util.ByteList
dup
aload 2
iload 3
iload 4
invokespecial org.jruby.util.ByteList.<init>:([BII)V
aconst_null
iload 5
invokespecial org.jruby.RubyEncoding.<init>:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;Z)V
1: return
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 2 0 this Lorg/jruby/RubyEncoding;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 name [B
0 2 3 p I
0 2 4 end I
0 2 5 isDummy Z
MethodParameters:
Name Flags
runtime
name
p
end
isDummy
private void <init>(org.jruby.Ruby, byte[], org.jcodings.Encoding, boolean);
descriptor: (Lorg/jruby/Ruby;[BLorg/jcodings/Encoding;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, 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
new org.jruby.util.ByteList
dup
aload 2
invokespecial org.jruby.util.ByteList.<init>:([B)V
aload 3
iload 4
invokespecial org.jruby.RubyEncoding.<init>:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyEncoding;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 name [B
0 2 3 encoding Lorg/jcodings/Encoding;
0 2 4 isDummy Z
MethodParameters:
Name Flags
runtime
name
encoding
isDummy
private void <init>(org.jruby.Ruby, org.jruby.util.ByteList, org.jcodings.Encoding, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, 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 1
invokevirtual org.jruby.Ruby.getEncoding:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aload 2
putfield org.jruby.RubyEncoding.name:Lorg/jruby/util/ByteList;
2: aload 0
iload 4
putfield org.jruby.RubyEncoding.isDummy:Z
3: aload 0
aload 3
putfield org.jruby.RubyEncoding.encoding:Lorg/jcodings/Encoding;
4: aload 0
ldc Lorg/jruby/RubyEncoding;
aload 0
invokestatic org.jruby.runtime.opto.OptoFactory.newConstantWrapper:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
putfield org.jruby.RubyEncoding.constant:Ljava/lang/Object;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/RubyEncoding;
0 6 1 runtime Lorg/jruby/Ruby;
0 6 2 name Lorg/jruby/util/ByteList;
0 6 3 encoding Lorg/jcodings/Encoding;
0 6 4 isDummy Z
MethodParameters:
Name Flags
runtime
name
encoding
isDummy
public java.lang.Object constant();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyEncoding.constant:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEncoding;
public static org.jruby.RubyEncoding newEncoding(org.jruby.Ruby, byte[], int, int, boolean);
descriptor: (Lorg/jruby/Ruby;[BIIZ)Lorg/jruby/RubyEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.RubyEncoding
dup
aload 0
aload 1
iload 2
iload 3
iload 4
invokespecial org.jruby.RubyEncoding.<init>:(Lorg/jruby/Ruby;[BIIZ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 name [B
0 1 2 p I
0 1 3 end I
0 1 4 isDummy Z
MethodParameters:
Name Flags
runtime
name
p
end
isDummy
public final org.jcodings.Encoding getEncoding();
descriptor: ()Lorg/jcodings/Encoding;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyEncoding.encoding:Lorg/jcodings/Encoding;
ifnonnull 1
aload 0
aload 0
invokevirtual org.jruby.RubyEncoding.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 0
getfield org.jruby.RubyEncoding.name:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.runtime.encoding.EncodingService.loadEncoding:(Lorg/jruby/util/ByteList;)Lorg/jcodings/Encoding;
putfield org.jruby.RubyEncoding.encoding:Lorg/jcodings/Encoding;
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEncoding.encoding:Lorg/jcodings/Encoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyEncoding;
private static org.jcodings.Encoding (org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyEncoding
ifeq 1
aload 0
checkcast org.jruby.RubyEncoding
invokevirtual org.jruby.RubyEncoding.getEncoding:()Lorg/jcodings/Encoding;
areturn
1: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.runtime.encoding.EncodingCapable
ifeq 2
aload 0
checkcast org.jruby.runtime.encoding.EncodingCapable
invokeinterface org.jruby.runtime.encoding.EncodingCapable.getEncoding:()Lorg/jcodings/Encoding;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
public static org.jcodings.Encoding areCompatible(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.jruby.RubyEncoding.extractEncodingFromObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
astore 2
start local 2 1: aload 1
invokestatic org.jruby.RubyEncoding.extractEncodingFromObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
astore 3
start local 3 2: aload 2
ifnull 3
aload 3
ifnonnull 4
StackMap locals: org.jcodings.Encoding org.jcodings.Encoding
StackMap stack:
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 2
aload 3
if_acmpne 5
aload 2
areturn
5: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyString
ifeq 6
aload 1
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.getRealSize:()I
ifne 6
aload 2
areturn
6: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyString
ifeq 11
aload 0
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.getRealSize:()I
ifne 11
7: aload 2
invokevirtual org.jcodings.Encoding.isAsciiCompatible:()Z
ifeq 9
aload 1
instanceof org.jruby.RubyString
ifeq 9
8: aload 1
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.isAsciiOnly:()Z
ifeq 9
aload 2
goto 10
StackMap locals:
StackMap stack:
9: aload 3
10: StackMap locals:
StackMap stack: org.jcodings.Encoding
areturn
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.jcodings.Encoding.isAsciiCompatible:()Z
ifeq 12
aload 3
invokevirtual org.jcodings.Encoding.isAsciiCompatible:()Z
ifne 13
StackMap locals:
StackMap stack:
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyString
ifne 14
aload 3
instanceof org.jcodings.specific.USASCIIEncoding
ifeq 14
aload 2
areturn
14: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyString
ifne 15
aload 2
instanceof org.jcodings.specific.USASCIIEncoding
ifeq 15
aload 3
areturn
15: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyString
ifne 22
16: aload 0
astore 4
start local 4 17: aload 1
astore 0
18: aload 4
astore 1
19: aload 2
astore 5
start local 5 20: aload 3
astore 2
21: aload 5
astore 3
end local 5 end local 4 22: StackMap locals:
StackMap stack:
aload 0
instanceof org.jruby.RubyString
ifeq 28
23: aload 0
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.scanForCodeRange:()I
istore 4
start local 4 24: aload 1
instanceof org.jruby.RubyString
ifeq 27
25: aload 1
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.scanForCodeRange:()I
istore 5
start local 5 26: aload 2
iload 4
aload 3
iload 5
invokestatic org.jruby.RubyEncoding.areCompatible:(Lorg/jcodings/Encoding;ILorg/jcodings/Encoding;I)Lorg/jcodings/Encoding;
areturn
end local 5 27: StackMap locals: int
StackMap stack:
iload 4
bipush 16
if_icmpne 28
aload 3
areturn
end local 4 28: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 obj1 Lorg/jruby/runtime/builtin/IRubyObject;
0 29 1 obj2 Lorg/jruby/runtime/builtin/IRubyObject;
1 29 2 enc1 Lorg/jcodings/Encoding;
2 29 3 enc2 Lorg/jcodings/Encoding;
17 22 4 objTmp Lorg/jruby/runtime/builtin/IRubyObject;
20 22 5 encTmp Lorg/jcodings/Encoding;
24 28 4 cr1 I
26 27 5 cr2 I
MethodParameters:
Name Flags
obj1
obj2
public static org.jcodings.Encoding areCompatible(org.jcodings.Encoding, int, org.jcodings.Encoding, int);
descriptor: (Lorg/jcodings/Encoding;ILorg/jcodings/Encoding;I)Lorg/jcodings/Encoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iload 3
if_icmpeq 3
1: iload 1
bipush 16
if_icmpne 2
aload 2
areturn
2: StackMap locals:
StackMap stack:
iload 3
bipush 16
if_icmpne 3
aload 0
areturn
3: StackMap locals:
StackMap stack:
iload 3
bipush 16
if_icmpne 4
aload 0
areturn
4: StackMap locals:
StackMap stack:
iload 1
bipush 16
if_icmpne 5
aload 2
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 enc1 Lorg/jcodings/Encoding;
0 6 1 cr1 I
0 6 2 enc2 Lorg/jcodings/Encoding;
0 6 3 cr2 I
MethodParameters:
Name Flags
enc1
cr1
enc2
cr2
public static byte[] encodeUTF8(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.RubyEncoding.encodeUTF8:(Ljava/lang/CharSequence;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static byte[] encodeUTF8(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
sipush 1024
if_icmple 2
1: getstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
aload 0
invokestatic org.jruby.RubyEncoding.toCharBuffer:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
invokevirtual java.nio.charset.Charset.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
invokestatic org.jruby.RubyEncoding.getBytes:(Ljava/nio/ByteBuffer;)[B
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.jruby.RubyEncoding.getUTF8Coder:()Lorg/jruby/RubyEncoding$UTF8Coder;
aload 0
invokevirtual org.jruby.RubyEncoding$UTF8Coder.encode:(Ljava/lang/CharSequence;)Ljava/nio/ByteBuffer;
invokestatic org.jruby.RubyEncoding.getBytes:(Ljava/nio/ByteBuffer;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
public static byte[] encodeISO(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.RubyEncoding.encodeISOLoop:(Ljava/lang/CharSequence;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
public static byte[] encodeISO(char[]);
descriptor: ([C)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.RubyEncoding.encodeISOLoop:([C)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str [C
MethodParameters:
Name Flags
str
private static byte[] encodeISOLoop(char[]);
descriptor: ([C)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
arraylength
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int byte[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
caload
i2b
bastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s [C
1 8 1 length I
2 8 2 bytes [B
3 7 3 i I
MethodParameters:
Name Flags
s
private static byte[] encodeISOLoop(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int byte[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
i2b
bastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s Ljava/lang/CharSequence;
1 8 1 length I
2 8 2 bytes [B
3 7 3 i I
MethodParameters:
Name Flags
s
static org.jruby.util.ByteList doEncodeUTF8(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
sipush 1024
if_icmple 2
1: getstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
aload 0
invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
invokevirtual java.nio.charset.Charset.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
iconst_0
invokestatic org.jruby.RubyEncoding.getByteList:(Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.jruby.RubyEncoding.getUTF8Coder:()Lorg/jruby/RubyEncoding$UTF8Coder;
aload 0
invokevirtual org.jruby.RubyEncoding$UTF8Coder.encode:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
iconst_1
invokestatic org.jruby.RubyEncoding.getByteList:(Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
static org.jruby.util.ByteList doEncodeUTF8(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
sipush 1024
if_icmple 2
1: getstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
aload 0
invokestatic org.jruby.RubyEncoding.toCharBuffer:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
invokevirtual java.nio.charset.Charset.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
iconst_0
invokestatic org.jruby.RubyEncoding.getByteList:(Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.jruby.RubyEncoding.getUTF8Coder:()Lorg/jruby/RubyEncoding$UTF8Coder;
aload 0
invokevirtual org.jruby.RubyEncoding$UTF8Coder.encode:(Ljava/lang/CharSequence;)Ljava/nio/ByteBuffer;
getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
iconst_1
invokestatic org.jruby.RubyEncoding.getByteList:(Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
private static java.nio.CharBuffer toCharBuffer(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.nio.CharBuffer
ifeq 1
aload 0
checkcast java.nio.CharBuffer
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
StackMap locals:
StackMap stack: java.nio.CharBuffer
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
private static byte[] getBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
newarray 8
astore 1
start local 1 1: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
1 3 1 bytes [B
MethodParameters:
Name Flags
buffer final
private static org.jruby.util.ByteList getByteList(java.nio.ByteBuffer, org.jcodings.Encoding, boolean);
descriptor: (Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 4
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
1: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
astore 3
start local 3 2: aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
istore 4
start local 4 3: goto 6
end local 4 end local 3 4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyEncoding.getBytes:(Ljava/nio/ByteBuffer;)[B
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: StackMap locals: byte[] int
StackMap stack:
new org.jruby.util.ByteList
dup
aload 3
iload 4
iload 4
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
aload 1
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BIILorg/jcodings/Encoding;Z)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer Ljava/nio/ByteBuffer;
0 7 1 enc Lorg/jcodings/Encoding;
0 7 2 shared Z
2 4 3 bytes [B
5 7 3 bytes [B
3 4 4 off I
6 7 4 off I
MethodParameters:
Name Flags
buffer final
enc final
shared final
public static byte[] encodeUTF16(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.RubyEncoding.UTF16:Ljava/nio/charset/Charset;
invokestatic org.jruby.RubyEncoding.encode:(Ljava/lang/String;Ljava/nio/charset/Charset;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static byte[] encodeUTF16(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.RubyEncoding.UTF16:Ljava/nio/charset/Charset;
invokestatic org.jruby.RubyEncoding.encode:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
static org.jruby.util.ByteList doEncodeUTF16(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.RubyEncoding.UTF16:Ljava/nio/charset/Charset;
getstatic org.jcodings.specific.UTF16BEEncoding.INSTANCE:Lorg/jcodings/specific/UTF16BEEncoding;
invokestatic org.jruby.RubyEncoding.doEncode:(Ljava/lang/String;Ljava/nio/charset/Charset;Lorg/jcodings/Encoding;)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
static org.jruby.util.ByteList doEncodeUTF16(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.RubyEncoding.UTF16:Ljava/nio/charset/Charset;
getstatic org.jcodings.specific.UTF16BEEncoding.INSTANCE:Lorg/jcodings/specific/UTF16BEEncoding;
invokestatic org.jruby.RubyEncoding.doEncode:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;Lorg/jcodings/Encoding;)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/CharSequence;
MethodParameters:
Name Flags
str
public static byte[] encode(java.lang.CharSequence, java.nio.charset.Charset);
descriptor: (Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
invokevirtual java.nio.charset.Charset.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
newarray 8
astore 3
start local 3 2: aload 2
aload 3
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cs Ljava/lang/CharSequence;
0 4 1 charset Ljava/nio/charset/Charset;
1 4 2 buffer Ljava/nio/ByteBuffer;
2 4 3 bytes [B
MethodParameters:
Name Flags
cs
charset
static org.jruby.util.ByteList doEncode(java.lang.String, java.nio.charset.Charset, org.jcodings.Encoding);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;Lorg/jcodings/Encoding;)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
invokevirtual java.nio.charset.Charset.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
aload 2
iconst_0
invokestatic org.jruby.RubyEncoding.getByteList:(Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cs Ljava/lang/String;
0 1 1 charset Ljava/nio/charset/Charset;
0 1 2 enc Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
cs
charset
enc
static org.jruby.util.ByteList doEncode(java.lang.CharSequence, java.nio.charset.Charset, org.jcodings.Encoding);
descriptor: (Ljava/lang/CharSequence;Ljava/nio/charset/Charset;Lorg/jcodings/Encoding;)Lorg/jruby/util/ByteList;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokestatic org.jruby.RubyEncoding.toCharBuffer:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
invokevirtual java.nio.charset.Charset.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
aload 2
iconst_0
invokestatic org.jruby.RubyEncoding.getByteList:(Ljava/nio/ByteBuffer;Lorg/jcodings/Encoding;Z)Lorg/jruby/util/ByteList;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cs Ljava/lang/CharSequence;
0 1 1 charset Ljava/nio/charset/Charset;
0 1 2 enc Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
cs
charset
enc
public static byte[] encode(java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.nio.charset.Charset.encode:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
newarray 8
astore 3
start local 3 2: aload 2
aload 3
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 str Ljava/lang/String;
0 4 1 charset Ljava/nio/charset/Charset;
1 4 2 buffer Ljava/nio/ByteBuffer;
2 4 3 bytes [B
MethodParameters:
Name Flags
str
charset
public static java.lang.String decodeUTF8(byte[], int, int);
descriptor: ([BII)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
sipush 1024
if_icmple 2
1: getstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
aload 0
iload 1
iload 2
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.Charset.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.jruby.RubyEncoding.getUTF8Coder:()Lorg/jruby/RubyEncoding$UTF8Coder;
aload 0
iload 1
iload 2
invokevirtual org.jruby.RubyEncoding$UTF8Coder.decode:([BII)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes [B
0 3 1 start I
0 3 2 length I
MethodParameters:
Name Flags
bytes
start
length
public static java.lang.String decodeISO(byte[], int, int);
descriptor: ([BII)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
sipush 1024
if_icmple 2
1: new java.lang.String
dup
aload 0
iload 1
iload 2
invokestatic org.jruby.RubyEncoding.decodeISOLoop:([BII)[C
invokespecial java.lang.String.<init>:([C)V
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.jruby.RubyEncoding.getISOCoder:()Lorg/jruby/RubyEncoding$ISOCoder;
aload 0
iload 1
iload 2
invokevirtual org.jruby.RubyEncoding$ISOCoder.decode:([BII)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes [B
0 3 1 start I
0 3 2 length I
MethodParameters:
Name Flags
bytes
start
length
public static java.lang.String decodeISO(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.ByteList.unsafeBytes:()[B
aload 0
invokevirtual org.jruby.util.ByteList.begin:()I
aload 0
invokevirtual org.jruby.util.ByteList.realSize:()I
invokestatic org.jruby.RubyEncoding.decodeISO:([BII)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 byteList Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
byteList
private static char[] decodeISOLoop(byte[], int, int);
descriptor: ([BII)[C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
newarray 5
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: char[] int
StackMap stack:
aload 3
iload 4
aload 0
iload 4
iload 1
iadd
baload
sipush 255
iand
i2c
castore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 2
if_icmplt 3
end local 4 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 s [B
0 7 1 start I
0 7 2 length I
1 7 3 chars [C
2 6 4 i I
MethodParameters:
Name Flags
s
start
length
public static java.lang.String decodeUTF8(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic org.jruby.RubyEncoding.decodeUTF8:([BII)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
MethodParameters:
Name Flags
bytes
public static java.lang.String decode(byte[], int, int, java.nio.charset.Charset);
descriptor: ([BIILjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 0
iload 1
iload 2
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.Charset.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
0 1 1 start I
0 1 2 length I
0 1 3 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
bytes
start
length
charset
public static java.lang.String decode(byte[], java.nio.charset.Charset);
descriptor: ([BLjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.Charset.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
0 1 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
bytes
charset
private static org.jruby.RubyEncoding$UTF8Coder getUTF8Coder();
descriptor: ()Lorg/jruby/RubyEncoding$UTF8Coder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: getstatic org.jruby.RubyEncoding.UTF8_CODER:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubyEncoding$UTF8Coder
dup
astore 0
start local 0 2: ifnonnull 5
end local 0 3: StackMap locals: top java.lang.ref.SoftReference
StackMap stack:
new org.jruby.RubyEncoding$UTF8Coder
dup
invokespecial org.jruby.RubyEncoding$UTF8Coder.<init>:()V
astore 0
start local 0 4: getstatic org.jruby.RubyEncoding.UTF8_CODER:Ljava/lang/ThreadLocal;
new java.lang.ref.SoftReference
dup
aload 0
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
5: StackMap locals: org.jruby.RubyEncoding$UTF8Coder java.lang.ref.SoftReference
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 3 0 coder Lorg/jruby/RubyEncoding$UTF8Coder;
4 6 0 coder Lorg/jruby/RubyEncoding$UTF8Coder;
1 6 1 ref Ljava/lang/ref/SoftReference<Lorg/jruby/RubyEncoding$UTF8Coder;>;
private static org.jruby.RubyEncoding$ISOCoder getISOCoder();
descriptor: ()Lorg/jruby/RubyEncoding$ISOCoder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: getstatic org.jruby.RubyEncoding.ISO_CODER:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubyEncoding$ISOCoder
dup
astore 0
start local 0 2: ifnonnull 5
end local 0 3: StackMap locals: top java.lang.ref.SoftReference
StackMap stack:
new org.jruby.RubyEncoding$ISOCoder
dup
invokespecial org.jruby.RubyEncoding$ISOCoder.<init>:()V
astore 0
start local 0 4: getstatic org.jruby.RubyEncoding.ISO_CODER:Ljava/lang/ThreadLocal;
new java.lang.ref.SoftReference
dup
aload 0
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
5: StackMap locals: org.jruby.RubyEncoding$ISOCoder java.lang.ref.SoftReference
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 3 0 coder Lorg/jruby/RubyEncoding$ISOCoder;
4 6 0 coder Lorg/jruby/RubyEncoding$ISOCoder;
1 6 1 ref Ljava/lang/ref/SoftReference<Lorg/jruby/RubyEncoding$ISOCoder;>;
public static org.jruby.runtime.builtin.IRubyObject list(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
aload 2
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncodingList:()[Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArray.newArrayMayCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 2 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"list"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject locale_charmap(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
astore 3
start local 3 2: new org.jruby.util.ByteList
dup
aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getLocaleEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.getName:()[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
astore 4
start local 4 3: aload 2
aload 4
invokestatic org.jruby.RubyString.newUsAsciiStringNoCopy:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 runtime Lorg/jruby/Ruby;
2 4 3 service Lorg/jruby/runtime/encoding/EncodingService;
3 4 4 name Lorg/jruby/util/ByteList;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"locale_charmap"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject name_list(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
astore 3
start local 3 2: aload 2
aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncodings:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.size:()I
aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getAliases:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.size:()I
iadd
invokevirtual org.jruby.Ruby.newArray:(I)Lorg/jruby/RubyArray;
astore 4
start local 4 3: aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncodings:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.entryIterator:()Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntryIterator;
astore 5
start local 5 4: goto 8
5: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.encoding.EncodingService org.jruby.RubyArray org.jcodings.util.Hash$HashEntryIterator
StackMap stack:
aload 5
invokevirtual org.jcodings.util.Hash$HashEntryIterator.next:()Lorg/jcodings/util/Hash$HashEntry;
checkcast org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry
6: astore 6
start local 6 7: aload 4
aload 2
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.bytes:[B
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.end:I
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
isub
invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;[BII)Lorg/jruby/RubyString;
aload 0
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 6 8: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.jcodings.util.Hash$HashEntryIterator.hasNext:()Z
ifne 5
9: aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getAliases:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.entryIterator:()Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntryIterator;
astore 5
10: goto 14
11: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.jcodings.util.Hash$HashEntryIterator.next:()Lorg/jcodings/util/Hash$HashEntry;
checkcast org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry
12: astore 6
start local 6 13: aload 4
aload 2
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.bytes:[B
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.end:I
aload 6
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
isub
invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;[BII)Lorg/jruby/RubyString;
aload 0
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 6 14: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.jcodings.util.Hash$HashEntryIterator.hasNext:()Z
ifne 11
15: aload 4
aload 2
getstatic org.jruby.RubyEncoding.EXTERNAL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
16: aload 4
aload 2
getstatic org.jruby.RubyEncoding.LOCALE:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
17: aload 4
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 18 0 context Lorg/jruby/runtime/ThreadContext;
0 18 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 18 2 runtime Lorg/jruby/Ruby;
2 18 3 service Lorg/jruby/runtime/encoding/EncodingService;
3 18 4 result Lorg/jruby/RubyArray;
4 18 5 i Lorg/jcodings/util/Hash$HashEntryIterator;
7 8 6 e Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry<Lorg/jcodings/EncodingDB$Entry;>;
13 14 6 e Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry<Lorg/jcodings/EncodingDB$Entry;>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"name_list"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject aliases(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
astore 3
start local 3 2: aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncodingList:()[Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 3: aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getAliases:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.entryIterator:()Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntryIterator;
astore 5
start local 5 4: aload 2
invokestatic org.jruby.RubyHash.newHash:(Lorg/jruby/Ruby;)Lorg/jruby/RubyHash;
astore 6
start local 6 5: goto 15
6: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.encoding.EncodingService org.jruby.runtime.builtin.IRubyObject[] org.jcodings.util.Hash$HashEntryIterator org.jruby.RubyHash
StackMap stack:
aload 5
invokevirtual org.jcodings.util.Hash$HashEntryIterator.next:()Lorg/jcodings/util/Hash$HashEntry;
checkcast org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry
7: astore 7
start local 7 8: aload 2
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.bytes:[B
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.end:I
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
isub
invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;[BII)Lorg/jruby/RubyString;
aload 0
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 9: aload 2
10: aload 4
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.value:Ljava/lang/Object;
checkcast org.jcodings.EncodingDB$Entry
invokevirtual org.jcodings.EncodingDB$Entry.getIndex:()I
aaload
checkcast org.jruby.RubyEncoding
getfield org.jruby.RubyEncoding.name:Lorg/jruby/util/ByteList;
11: invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
12: aload 0
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
13: astore 9
start local 9 14: aload 6
aload 8
aload 9
invokevirtual org.jruby.RubyHash.fastASet:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
end local 9 end local 8 end local 7 15: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.jcodings.util.Hash$HashEntryIterator.hasNext:()Z
ifne 6
16: aload 6
aload 2
getstatic org.jruby.RubyEncoding.EXTERNAL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
17: aload 2
new org.jruby.util.ByteList
dup
aload 2
invokevirtual org.jruby.Ruby.getDefaultExternalEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.getName:()[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
18: invokevirtual org.jruby.RubyHash.fastASet:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
19: aload 6
aload 2
getstatic org.jruby.RubyEncoding.LOCALE:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
20: aload 2
new org.jruby.util.ByteList
dup
aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getLocaleEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.getName:()[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
21: invokevirtual org.jruby.RubyHash.fastASet:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
22: aload 6
areturn
end local 6 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 23 0 context Lorg/jruby/runtime/ThreadContext;
0 23 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 23 2 runtime Lorg/jruby/Ruby;
2 23 3 service Lorg/jruby/runtime/encoding/EncodingService;
3 23 4 list [Lorg/jruby/runtime/builtin/IRubyObject;
4 23 5 i Lorg/jcodings/util/Hash$HashEntryIterator;
5 23 6 result Lorg/jruby/RubyHash;
8 15 7 e Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry<Lorg/jcodings/EncodingDB$Entry;>;
9 15 8 alias Lorg/jruby/runtime/builtin/IRubyObject;
14 15 9 name Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"aliases"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject find(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, 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: aload 2
instanceof org.jruby.RubyEncoding
ifeq 2
aload 2
areturn
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 2
invokevirtual org.jruby.runtime.encoding.EncodingService.rubyEncodingFromObject:(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 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 str Lorg/jruby/runtime/builtin/IRubyObject;
1 3 3 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"find"}, meta = true)
MethodParameters:
Name Flags
context
recv
str
public org.jruby.runtime.builtin.IRubyObject replicate(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.RubyEncoding
dup
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getBytes:()[B
aload 0
invokevirtual org.jruby.RubyEncoding.getEncoding:()Lorg/jcodings/Encoding;
aload 0
getfield org.jruby.RubyEncoding.isDummy:Z
invokespecial org.jruby.RubyEncoding.<init>:(Lorg/jruby/Ruby;[BLorg/jcodings/Encoding;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEncoding;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"replicate"})
MethodParameters:
Name Flags
context
arg
public org.jruby.runtime.builtin.IRubyObject _dump(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.RubyEncoding.to_s:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEncoding;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"_dump"})
MethodParameters:
Name Flags
context
arg
public static org.jruby.runtime.builtin.IRubyObject _load(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyEncoding.find:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 str Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"_load"}, meta = true)
MethodParameters:
Name Flags
context
recv
str
public org.jruby.runtime.builtin.IRubyObject asciiCompatible_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyEncoding.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.isAsciiCompatible:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEncoding;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ascii_compatible?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_s(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyEncoding.name:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEncoding;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s", "name"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new org.jruby.util.ByteList
dup
invokespecial org.jruby.util.ByteList.<init>:()V
astore 2
start local 2 1: aload 2
ldc "#<Encoding:"
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.jruby.util.ByteList.append:([B)V
2: aload 2
aload 0
getfield org.jruby.RubyEncoding.name:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.append:(Lorg/jruby/util/ByteList;)V
3: aload 0
getfield org.jruby.RubyEncoding.isDummy:Z
ifeq 4
aload 2
ldc " (dummy)"
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.jruby.util.ByteList.append:([B)V
4: StackMap locals: org.jruby.util.ByteList
StackMap stack:
aload 2
bipush 62
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
5: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.RubyString.newUsAsciiStringNoCopy:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/RubyEncoding;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
1 6 2 bytes Lorg/jruby/util/ByteList;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"inspect"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject names(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
astore 3
start local 3 2: aload 3
aload 0
getfield org.jruby.RubyEncoding.name:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.runtime.encoding.EncodingService.findEncodingOrAliasEntry:(Lorg/jruby/util/ByteList;)Lorg/jcodings/EncodingDB$Entry;
astore 4
start local 4 3: aload 2
invokevirtual org.jruby.Ruby.newArray:()Lorg/jruby/RubyArray;
astore 5
start local 5 4: aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncodings:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.entryIterator:()Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntryIterator;
astore 6
start local 6 5: goto 10
6: StackMap locals: org.jruby.RubyEncoding org.jruby.runtime.ThreadContext org.jruby.Ruby org.jruby.runtime.encoding.EncodingService org.jcodings.EncodingDB$Entry org.jruby.RubyArray org.jcodings.util.Hash$HashEntryIterator
StackMap stack:
aload 6
invokevirtual org.jcodings.util.Hash$HashEntryIterator.next:()Lorg/jcodings/util/Hash$HashEntry;
checkcast org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry
7: astore 7
start local 7 8: aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.value:Ljava/lang/Object;
aload 4
if_acmpne 10
9: aload 5
aload 2
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.bytes:[B
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.end:I
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
isub
invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;[BII)Lorg/jruby/RubyString;
aload 1
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 7 10: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.jcodings.util.Hash$HashEntryIterator.hasNext:()Z
ifne 6
11: aload 3
invokevirtual org.jruby.runtime.encoding.EncodingService.getAliases:()Lorg/jcodings/util/CaseInsensitiveBytesHash;
invokevirtual org.jcodings.util.CaseInsensitiveBytesHash.entryIterator:()Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntryIterator;
astore 6
12: goto 17
13: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.jcodings.util.Hash$HashEntryIterator.next:()Lorg/jcodings/util/Hash$HashEntry;
checkcast org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry
14: astore 7
start local 7 15: aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.value:Ljava/lang/Object;
aload 4
if_acmpne 17
16: aload 5
aload 2
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.bytes:[B
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.end:I
aload 7
getfield org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry.p:I
isub
invokestatic org.jruby.RubyString.newUsAsciiStringShared:(Lorg/jruby/Ruby;[BII)Lorg/jruby/RubyString;
aload 1
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 7 17: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.jcodings.util.Hash$HashEntryIterator.hasNext:()Z
ifne 13
18: aload 5
aload 2
getstatic org.jruby.RubyEncoding.EXTERNAL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
19: aload 5
aload 2
getstatic org.jruby.RubyEncoding.LOCALE:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
20: aload 5
areturn
end local 6 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 21 0 this Lorg/jruby/RubyEncoding;
0 21 1 context Lorg/jruby/runtime/ThreadContext;
1 21 2 runtime Lorg/jruby/Ruby;
2 21 3 service Lorg/jruby/runtime/encoding/EncodingService;
3 21 4 entry Lorg/jcodings/EncodingDB$Entry;
4 21 5 result Lorg/jruby/RubyArray;
5 21 6 i Lorg/jcodings/util/Hash$HashEntryIterator;
8 10 7 e Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry<Lorg/jcodings/EncodingDB$Entry;>;
15 17 7 e Lorg/jcodings/util/CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry<Lorg/jcodings/EncodingDB$Entry;>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"names"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject dummy_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyEncoding.isDummy:Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEncoding;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dummy?"})
MethodParameters:
Name Flags
context
public static org.jruby.runtime.builtin.IRubyObject compatible_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 2
aload 3
invokestatic org.jruby.RubyEncoding.areCompatible:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
astore 5
start local 5 2: aload 5
ifnonnull 3
aload 4
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
goto 4
StackMap locals: org.jruby.Ruby org.jcodings.Encoding
StackMap stack:
3: aload 4
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 5
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncoding:(Lorg/jcodings/Encoding;)Lorg/jruby/RubyEncoding;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
4: 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 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 first Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 second Lorg/jruby/runtime/builtin/IRubyObject;
1 5 4 runtime Lorg/jruby/Ruby;
2 5 5 enc Lorg/jcodings/Encoding;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"compatible?"}, meta = true)
MethodParameters:
Name Flags
context
self
first
second
public static org.jruby.runtime.builtin.IRubyObject getDefaultExternal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getDefaultExternal:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"default_external"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject setDefaultExternal(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.isVerbose:()Z
ifeq 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "setting Encoding.default_external"
invokevirtual org.jruby.common.RubyWarnings.warning:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic org.jruby.util.io.EncodingUtils.rbEncSetDefaultExternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 encoding Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"default_external="}, meta = true)
MethodParameters:
Name Flags
context
recv
encoding
public static org.jruby.runtime.builtin.IRubyObject getDefaultInternal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getDefaultInternal:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"default_internal"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject getDefaultInternal(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
invokestatic org.jruby.RubyEncoding.getDefaultInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
public static org.jruby.runtime.builtin.IRubyObject setDefaultInternal(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.isVerbose:()Z
ifeq 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "setting Encoding.default_internal"
invokevirtual org.jruby.common.RubyWarnings.warning:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic org.jruby.util.io.EncodingUtils.rbEncSetDefaultInternal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 encoding Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"default_internal="}, required = 1, meta = true)
MethodParameters:
Name Flags
context
recv
encoding
}
SourceFile: "RubyEncoding.java"
NestMembers:
org.jruby.RubyEncoding$ISOCoder org.jruby.RubyEncoding$UTF8Coder
InnerClasses:
public final Entry = org.jcodings.EncodingDB$Entry of org.jcodings.EncodingDB
public final CaseInsensitiveBytesHashEntry = org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntry of org.jcodings.util.CaseInsensitiveBytesHash
public CaseInsensitiveBytesHashEntryIterator = org.jcodings.util.CaseInsensitiveBytesHash$CaseInsensitiveBytesHashEntryIterator of org.jcodings.util.CaseInsensitiveBytesHash
public HashEntry = org.jcodings.util.Hash$HashEntry of org.jcodings.util.Hash
public HashEntryIterator = org.jcodings.util.Hash$HashEntryIterator of org.jcodings.util.Hash
private ISOCoder = org.jruby.RubyEncoding$ISOCoder of org.jruby.RubyEncoding
private UTF8Coder = org.jruby.RubyEncoding$UTF8Coder of org.jruby.RubyEncoding
public final JavaClassKindOf = org.jruby.RubyModule$JavaClassKindOf of org.jruby.RubyModule
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Encoding"})