public class com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException extends java.lang.RuntimeException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException
super_class: java.lang.RuntimeException
{
private final int limit;
descriptor: I
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 Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest;
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 com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.RuntimeException.<init>:()V
1: getstatic com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException.$assertionsDisabled:Z
ifne 2
iload 1
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException int
StackMap stack:
aload 0
iload 1
putfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException.limit:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
0 4 1 limit I
MethodParameters:
Name Flags
limit
public java.lang.StackTraceElement[] getStackTrace();
descriptor: ()[Ljava/lang/StackTraceElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.RuntimeException.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 1
start local 1 1: aload 1
aload 0
getfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException.limit:I
aload 1
arraylength
invokestatic java.lang.Math.min:(II)I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.StackTraceElement[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
1 2 1 stackTrace [Ljava/lang/StackTraceElement;
public static com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException newTruncatedException(int);
descriptor: (I)Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException
dup
iload 0
invokespecial com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 limit I
MethodParameters:
Name Flags
limit
public static com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException createViaConstructorReflectively(int);
descriptor: (I)Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: ldc Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 1
start local 1 1: aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 4: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 limit I
1 3 1 init Ljava/lang/reflect/Constructor<Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;>;
4 5 1 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 2 3 Class java.lang.NoSuchMethodException
0 2 3 Class java.lang.IllegalAccessException
0 2 3 Class java.lang.reflect.InvocationTargetException
0 2 3 Class java.lang.InstantiationException
MethodParameters:
Name Flags
limit
public static com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException createViaMethodReflectively(int);
descriptor: (I)Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: ldc Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$TruncatedException;
ldc "newTruncatedException"
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
start local 1 1: aload 1
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 4: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 limit I
1 3 1 init Ljava/lang/reflect/Method;
4 5 1 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 2 3 Class java.lang.NoSuchMethodException
0 2 3 Class java.lang.IllegalAccessException
0 2 3 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
limit
}
SourceFile: "PolyglotExceptionTest.java"
NestHost: com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest
InnerClasses:
public TruncatedException = com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$TruncatedException of com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest