You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tripping a tester that uses the ClojailWrapper, the error message uses the default Object.toString and thus doesn't contain much useful context:
=> (let [sb (sandbox secure-tester)]
(sb '(java.util.concurrent.ForkJoinPool.)))
Execution error (SecurityException) at clojail.core/security-exception (core.clj:119).
You tripped the alarm! clojail.testers.ClojailWrapper@5f0e3437 is bad!
It looks like this could be fixed by adding a toString implementation to ClojailWrapper:
=> (let [sb (sandbox secure-tester)]
(sb '(java.util.concurrent.ForkJoinPool.)))
Execution error (SecurityException) at clojail.core/security-exception (core.clj:119).
You tripped the alarm! "java.util.concurrent" is bad!
The text was updated successfully, but these errors were encountered:
When tripping a tester that uses the
ClojailWrapper
, the error message uses the defaultObject.toString
and thus doesn't contain much useful context:It looks like this could be fixed by adding a
toString
implementation toClojailWrapper
:The text was updated successfully, but these errors were encountered: