]> source.dussan.org Git - jgit.git/commit
Ignore IllegalStateException if JVM is already shutting down 40/196540/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 27 Oct 2022 18:31:31 +0000 (20:31 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 27 Oct 2022 18:31:58 +0000 (20:31 +0200)
commit924491d4df62b1e43e9458f922da6ef4f3b3df30
tree7810b67bdc5f586944a7d0a68a7f39db6135427b
parent035e0e23f251fdb766a6630509bcf342efb8b3ad
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: 580953
Change-Id: I8fc6fdd5585837c81ad0ebd6944430856556d90e
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java