public final class jdk.nashorn.internal.runtime.UnwarrantedOptimismException extends java.lang.RuntimeException
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.UnwarrantedOptimismException
super_class: java.lang.RuntimeException
{
public static final int INVALID_PROGRAM_POINT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int FIRST_PROGRAM_POINT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private java.lang.Object returnValue;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private final int programPoint;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.codegen.types.Type returnType;
descriptor: Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aload 1
invokestatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.getReturnType:(Ljava/lang/Object;)Ljdk/nashorn/internal/codegen/types/Type;
invokespecial jdk.nashorn.internal.runtime.UnwarrantedOptimismException.<init>:(Ljava/lang/Object;ILjdk/nashorn/internal/codegen/types/Type;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
0 2 1 returnValue Ljava/lang/Object;
0 2 2 programPoint I
MethodParameters:
Name Flags
returnValue final
programPoint final
public static boolean isValid(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.$assertionsDisabled:Z
ifne 1
iload 0
iconst_m1
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 0
iconst_m1
if_icmpeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 programPoint I
MethodParameters:
Name Flags
programPoint final
private static jdk.nashorn.internal.codegen.types.Type getReturnType(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Double
ifeq 2
1: getstatic jdk.nashorn.internal.codegen.types.Type.NUMBER:Ljdk/nashorn/internal/codegen/types/NumericType;
areturn
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.$assertionsDisabled:Z
ifne 3
aload 0
instanceof java.lang.Integer
ifeq 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is an int"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT:Ljdk/nashorn/internal/codegen/types/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 v Ljava/lang/Object;
MethodParameters:
Name Flags
v final
public void <init>(java.lang.Object, int, jdk.nashorn.internal.codegen.types.Type);
descriptor: (Ljava/lang/Object;ILjdk/nashorn/internal/codegen/types/Type;)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
ldc ""
aconst_null
iconst_0
getstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
1: getstatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.$assertionsDisabled:Z
ifne 2
aload 3
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT:Ljdk/nashorn/internal/codegen/types/Type;
if_acmpne 2
aload 1
ifnull 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.codegen.types.Type.typeFor:(Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/types/Type;
invokevirtual jdk.nashorn.internal.codegen.types.Type.isNumeric:()Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: jdk.nashorn.internal.runtime.UnwarrantedOptimismException java.lang.Object int jdk.nashorn.internal.codegen.types.Type
StackMap stack:
getstatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.$assertionsDisabled:Z
ifne 3
aload 3
getstatic jdk.nashorn.internal.codegen.types.Type.INT:Ljdk/nashorn/internal/codegen/types/BitwiseType;
if_acmpne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
4: aload 0
iload 2
putfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.programPoint:I
5: aload 0
aload 3
putfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnType:Ljdk/nashorn/internal/codegen/types/Type;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
0 7 1 returnValue Ljava/lang/Object;
0 7 2 programPoint I
0 7 3 returnType Ljdk/nashorn/internal/codegen/types/Type;
MethodParameters:
Name Flags
returnValue final
programPoint final
returnType final
public static jdk.nashorn.internal.runtime.UnwarrantedOptimismException createNarrowest(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.lang.Float
ifne 2
1: aload 0
instanceof java.lang.Long
ifeq 3
aload 0
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokestatic jdk.nashorn.internal.runtime.JSType.isRepresentableAsDouble:(J)Z
ifeq 3
2: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.UnwarrantedOptimismException
dup
aload 0
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iload 1
getstatic jdk.nashorn.internal.codegen.types.Type.NUMBER:Ljdk/nashorn/internal/codegen/types/NumericType;
invokespecial jdk.nashorn.internal.runtime.UnwarrantedOptimismException.<init>:(Ljava/lang/Object;ILjdk/nashorn/internal/codegen/types/Type;)V
areturn
3: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.UnwarrantedOptimismException
dup
aload 0
iload 1
invokespecial jdk.nashorn.internal.runtime.UnwarrantedOptimismException.<init>:(Ljava/lang/Object;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 returnValue Ljava/lang/Object;
0 4 1 programPoint I
MethodParameters:
Name Flags
returnValue final
programPoint final
public java.lang.Object getReturnValueDestructive();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
astore 1
start local 1 1: aload 0
aconst_null
putfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
1 3 1 retval Ljava/lang/Object;
java.lang.Object getReturnValueNonDestructive();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
public jdk.nashorn.internal.codegen.types.Type getReturnType();
descriptor: ()Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnType:Ljdk/nashorn/internal/codegen/types/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
public boolean hasInvalidProgramPoint();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.programPoint:I
iconst_m1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
public int getProgramPoint();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.programPoint:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
public boolean hasPrimitiveReturnValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
instanceof java.lang.Number
ifne 1
aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
instanceof java.lang.Boolean
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 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "UNWARRANTED OPTIMISM: [returnValue="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc " (class="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
ifnonnull 4
ldc "null"
goto 5
StackMap locals:
StackMap stack: java.lang.StringBuilder
4: aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.returnValue:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
StackMap locals: jdk.nashorn.internal.runtime.UnwarrantedOptimismException
StackMap stack: java.lang.StringBuilder java.lang.String
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
invokevirtual jdk.nashorn.internal.runtime.UnwarrantedOptimismException.hasInvalidProgramPoint:()Z
ifeq 8
7: ldc " <invalid program point>"
goto 9
8: StackMap locals:
StackMap stack: java.lang.StringBuilder
new java.lang.StringBuilder
dup
ldc " @ program point #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.runtime.UnwarrantedOptimismException.programPoint:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: StackMap locals: jdk.nashorn.internal.runtime.UnwarrantedOptimismException
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc ")]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.NotSerializableException
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.io.NotSerializableException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
0 1 1 out Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.NotSerializableException
MethodParameters:
Name Flags
out final
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.NotSerializableException
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.io.NotSerializableException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/UnwarrantedOptimismException;
0 1 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.NotSerializableException
MethodParameters:
Name Flags
in final
}
SourceFile: "UnwarrantedOptimismException.java"