Support sun.misc.Signal handlers (#1221)
This commit is contained in:
parent
72ae663842
commit
81a1fd4c86
3 changed files with 11 additions and 1 deletions
|
|
@ -404,6 +404,8 @@
|
|||
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;")
|
||||
|
|
|
|||
|
|
@ -72,7 +72,12 @@
|
|||
|
||||
["javax.net.ssl.HostnameVerifier" #{}]
|
||||
(proxy [javax.net.ssl.HostnameVerifier] []
|
||||
(verify [host-name session] ((method-or-bust methods 'verify) this host-name session))))))
|
||||
(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))))))
|
||||
|
||||
(defn class-sym [c] (symbol (class-name c)))
|
||||
|
||||
|
|
|
|||
|
|
@ -183,4 +183,7 @@
|
|||
resolveAlias [[this sym]]
|
||||
resolveVar [[this sym]]}
|
||||
|
||||
sun.misc.SignalHandler
|
||||
{handle [[this signal]]}
|
||||
|
||||
}))
|
||||
|
|
|
|||
Loading…
Reference in a new issue