class jdk.nashorn.internal.objects.NativeArray$6 implements java.util.Comparator<java.lang.Object>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.nashorn.internal.objects.NativeArray$6
  super_class: java.lang.Object
{
  private final java.lang.invoke.MethodHandle call_cmp;
    descriptor: Ljava/lang/invoke/MethodHandle;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Object val$cmp;
    descriptor: Ljava/lang/Object;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final java.lang.Object val$cmpThis;
    descriptor: Ljava/lang/Object;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.nashorn.internal.objects.NativeArray$6 this
         0: .line 1202
            aload 0 /* this */
            aload 1
            putfield jdk.nashorn.internal.objects.NativeArray$6.val$cmp:Ljava/lang/Object;
            aload 0 /* this */
            aload 2
            putfield jdk.nashorn.internal.objects.NativeArray$6.val$cmpThis:Ljava/lang/Object;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1203
            aload 0 /* this */
            invokestatic jdk.nashorn.internal.objects.NativeArray.getCALL_CMP:()Ljava/lang/invoke/MethodHandle;
            putfield jdk.nashorn.internal.objects.NativeArray$6.call_cmp:Ljava/lang/invoke/MethodHandle;
         2: .line 1202
            return
        end local 0 // jdk.nashorn.internal.objects.NativeArray$6 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nashorn/internal/objects/NativeArray$6;
    MethodParameters:
             Name  Flags
      val$cmp      final
      val$cmpThis  final

  public int compare(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // jdk.nashorn.internal.objects.NativeArray$6 this
        start local 1 // java.lang.Object x
        start local 2 // java.lang.Object y
         0: .line 1206
            aload 1 /* x */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 2
            aload 2 /* y */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 2
         1: .line 1207
            iconst_0
            ireturn
         2: .line 1208
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 4
         3: .line 1209
            iconst_1
            ireturn
         4: .line 1210
      StackMap locals:
      StackMap stack:
            aload 2 /* y */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 6
         5: .line 1211
            iconst_m1
            ireturn
         6: .line 1214
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.internal.objects.NativeArray$6.val$cmp:Ljava/lang/Object;
            ifnull 13
         7: .line 1216
            aload 0 /* this */
            getfield jdk.nashorn.internal.objects.NativeArray$6.call_cmp:Ljava/lang/invoke/MethodHandle;
            aload 0 /* this */
            getfield jdk.nashorn.internal.objects.NativeArray$6.val$cmp:Ljava/lang/Object;
            aload 0 /* this */
            getfield jdk.nashorn.internal.objects.NativeArray$6.val$cmpThis:Ljava/lang/Object;
            aload 1 /* x */
            aload 2 /* y */
            invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)D
            invokestatic java.lang.Math.signum:(D)D
            d2i
         8: ireturn
         9: .line 1217
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3 /* e */
        start local 3 // java.lang.Throwable e
        10: .line 1218
            aload 3 /* e */
            athrow
        end local 3 // java.lang.Throwable e
        11: .line 1219
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3 /* t */
        start local 3 // java.lang.Throwable t
        12: .line 1220
            new java.lang.RuntimeException
            dup
            aload 3 /* t */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Throwable t
        13: .line 1224
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            aload 2 /* y */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            ireturn
        end local 2 // java.lang.Object y
        end local 1 // java.lang.Object x
        end local 0 // jdk.nashorn.internal.objects.NativeArray$6 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Ljdk/nashorn/internal/objects/NativeArray$6;
            0   14     1     x  Ljava/lang/Object;
            0   14     2     y  Ljava/lang/Object;
           10   11     3     e  Ljava/lang/Throwable;
           12   13     3     t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           7     8       9  Class java.lang.RuntimeException
           7     8       9  Class java.lang.Error
           7     8      11  Class java.lang.Throwable
    MethodParameters:
      Name  Flags
      x     final
      y     final
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/lang/Object;>;
SourceFile: "NativeArray.java"
EnclosingMethod: jdk.nashorn.internal.objects.NativeArray.sort:([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
NestHost: jdk.nashorn.internal.objects.NativeArray
InnerClasses:
  jdk.nashorn.internal.objects.NativeArray$6