]> source.dussan.org Git - jgit.git/commit
Ignore IllegalStateException if JVM is already shutting down 25/183925/4
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 12 Aug 2021 07:28:04 +0000 (09:28 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 29 Aug 2021 09:02:59 +0000 (05:02 -0400)
commit6817b7e3b4ea55f896aeb07126cffea81abf901f
tree6714c996f78326401b8c8278344a1b6b57f0d48c
parentc697f02e1287fb1a9d215615a89233eff35fd9a4
Ignore IllegalStateException if JVM is already shutting down

Trying to register/unregister a shutdown hook when the JVM is already in
shutdown throws an IllegalStateException. Ignore this exception since we
can't do anything about it.

Bug: 575367
Change-Id: Ic967c16c7f566c84778795315ab369e76668b364
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java