class org.springframework.boot.devtools.restart.SilentExitExceptionHandler implements java.lang.Thread$UncaughtExceptionHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.restart.SilentExitExceptionHandler
super_class: java.lang.Object
{
private final java.lang.Thread$UncaughtExceptionHandler delegate;
descriptor: Ljava/lang/Thread$UncaughtExceptionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.Thread$UncaughtExceptionHandler);
descriptor: (Ljava/lang/Thread$UncaughtExceptionHandler;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.devtools.restart.SilentExitExceptionHandler.delegate:Ljava/lang/Thread$UncaughtExceptionHandler;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/devtools/restart/SilentExitExceptionHandler;
0 3 1 delegate Ljava/lang/Thread$UncaughtExceptionHandler;
MethodParameters:
Name Flags
delegate
public void uncaughtException(java.lang.Thread, java.lang.Throwable);
descriptor: (Ljava/lang/Thread;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException
ifeq 4
1: aload 0
aload 1
invokevirtual org.springframework.boot.devtools.restart.SilentExitExceptionHandler.isJvmExiting:(Ljava/lang/Thread;)Z
ifeq 3
2: aload 0
invokevirtual org.springframework.boot.devtools.restart.SilentExitExceptionHandler.preventNonZeroExitCode:()V
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.devtools.restart.SilentExitExceptionHandler.delegate:Ljava/lang/Thread$UncaughtExceptionHandler;
ifnull 6
5: aload 0
getfield org.springframework.boot.devtools.restart.SilentExitExceptionHandler.delegate:Ljava/lang/Thread$UncaughtExceptionHandler;
aload 1
aload 2
invokeinterface java.lang.Thread$UncaughtExceptionHandler.uncaughtException:(Ljava/lang/Thread;Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/devtools/restart/SilentExitExceptionHandler;
0 7 1 thread Ljava/lang/Thread;
0 7 2 exception Ljava/lang/Throwable;
MethodParameters:
Name Flags
thread
exception
private boolean isJvmExiting(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.boot.devtools.restart.SilentExitExceptionHandler.getAllThreads:()[Ljava/lang/Thread;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.springframework.boot.devtools.restart.SilentExitExceptionHandler java.lang.Thread top int int java.lang.Thread[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
aload 1
if_acmpeq 4
aload 2
invokevirtual java.lang.Thread.isAlive:()Z
ifeq 4
aload 2
invokevirtual java.lang.Thread.isDaemon:()Z
ifne 4
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/devtools/restart/SilentExitExceptionHandler;
0 7 1 exceptionThread Ljava/lang/Thread;
2 4 2 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
exceptionThread
protected java.lang.Thread[] getAllThreads();
descriptor: ()[Ljava/lang/Thread;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.devtools.restart.SilentExitExceptionHandler.getRootThreadGroup:()Ljava/lang/ThreadGroup;
astore 1
start local 1 1: bipush 32
anewarray java.lang.Thread
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.lang.ThreadGroup.enumerate:([Ljava/lang/Thread;)I
istore 3
start local 3 3: goto 6
4: StackMap locals: java.lang.ThreadGroup java.lang.Thread[] int
StackMap stack:
aload 2
arraylength
iconst_2
imul
anewarray java.lang.Thread
astore 2
5: aload 1
aload 2
invokevirtual java.lang.ThreadGroup.enumerate:([Ljava/lang/Thread;)I
istore 3
6: StackMap locals:
StackMap stack:
iload 3
aload 2
arraylength
if_icmpeq 4
7: aload 2
iload 3
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.Thread[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/devtools/restart/SilentExitExceptionHandler;
1 8 1 rootThreadGroup Ljava/lang/ThreadGroup;
2 8 2 threads [Ljava/lang/Thread;
3 8 3 count I
private java.lang.ThreadGroup getRootThreadGroup();
descriptor: ()Ljava/lang/ThreadGroup;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
astore 1
start local 1 1: goto 3
2: StackMap locals: java.lang.ThreadGroup
StackMap stack:
aload 1
invokevirtual java.lang.ThreadGroup.getParent:()Ljava/lang/ThreadGroup;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.ThreadGroup.getParent:()Ljava/lang/ThreadGroup;
ifnonnull 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/restart/SilentExitExceptionHandler;
1 5 1 candidate Ljava/lang/ThreadGroup;
protected void preventNonZeroExitCode();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
invokestatic java.lang.System.exit:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/restart/SilentExitExceptionHandler;
static void setup(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Thread.getUncaughtExceptionHandler:()Ljava/lang/Thread$UncaughtExceptionHandler;
astore 1
start local 1 1: aload 1
instanceof org.springframework.boot.devtools.restart.SilentExitExceptionHandler
ifne 4
2: new org.springframework.boot.devtools.restart.SilentExitExceptionHandler
dup
aload 1
invokespecial org.springframework.boot.devtools.restart.SilentExitExceptionHandler.<init>:(Ljava/lang/Thread$UncaughtExceptionHandler;)V
astore 1
3: aload 0
aload 1
invokevirtual java.lang.Thread.setUncaughtExceptionHandler:(Ljava/lang/Thread$UncaughtExceptionHandler;)V
4: StackMap locals: java.lang.Thread$UncaughtExceptionHandler
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 thread Ljava/lang/Thread;
1 5 1 handler Ljava/lang/Thread$UncaughtExceptionHandler;
MethodParameters:
Name Flags
thread
static void exitCurrentThread();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException
dup
invokespecial org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException.<init>:()V
athrow
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SilentExitExceptionHandler.java"
NestMembers:
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException
InnerClasses:
public abstract UncaughtExceptionHandler = java.lang.Thread$UncaughtExceptionHandler of java.lang.Thread
private SilentExitException = org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException of org.springframework.boot.devtools.restart.SilentExitExceptionHandler