Revert "Support sun.misc.Signal handlers (#1221)"

Shutdown code should be handled with a shutdown hook

This reverts commit 81a1fd4c86.
This commit is contained in:
Michiel Borkent 2022-03-27 12:04:50 +02:00
parent 81a1fd4c86
commit cd013227d5
3 changed files with 1 additions and 11 deletions

View file

@ -404,8 +404,6 @@
java.util.zip.ZipEntry
java.util.zip.ZipException
java.util.zip.ZipFile
sun.misc.Signal
sun.misc.SignalHandler
~(symbol "[B")
~(symbol "[I")
~(symbol "[Ljava.lang.Object;")

View file

@ -72,12 +72,7 @@
["javax.net.ssl.HostnameVerifier" #{}]
(proxy [javax.net.ssl.HostnameVerifier] []
(verify [host-name session] ((method-or-bust methods 'verify) this host-name session)))
["sun.misc.SignalHandler" #{}]
(proxy [sun.misc.SignalHandler] []
(handle [sig]
((method-or-bust methods 'handle) this sig))))))
(verify [host-name session] ((method-or-bust methods 'verify) this host-name session))))))
(defn class-sym [c] (symbol (class-name c)))

View file

@ -183,7 +183,4 @@
resolveAlias [[this sym]]
resolveVar [[this sym]]}
sun.misc.SignalHandler
{handle [[this signal]]}
}))