[new] Add string array type to default thaw-serializable-allowlist
This commit is contained in:
parent
f7bb2824ac
commit
bfba59483a
1 changed files with 2 additions and 1 deletions
|
|
@ -451,7 +451,7 @@
|
||||||
"A set of common safe class names to allow to be frozen using Java's
|
"A set of common safe class names to allow to be frozen using Java's
|
||||||
`Serializable` interface. PRs welcome for additions.
|
`Serializable` interface. PRs welcome for additions.
|
||||||
See also `*thaw-serializable-allowlist*`."
|
See also `*thaw-serializable-allowlist*`."
|
||||||
#{"[Z" "[B" "[S" "[I" "[J" "[F" "[D" "[C"
|
#{"[Z" "[B" "[S" "[I" "[J" "[F" "[D" "[C" "[Ljava.lang.String;"
|
||||||
|
|
||||||
"java.lang.Throwable"
|
"java.lang.Throwable"
|
||||||
"java.lang.Exception"
|
"java.lang.Exception"
|
||||||
|
|
@ -2087,6 +2087,7 @@
|
||||||
:float (float-array (mapv float (range 32)))
|
:float (float-array (mapv float (range 32)))
|
||||||
:double (double-array (mapv double (range 32)))
|
:double (double-array (mapv double (range 32)))
|
||||||
:char (char-array (mapv char (range 32)))
|
:char (char-array (mapv char (range 32)))
|
||||||
|
:str (into-array String (mapv str (range 32)))
|
||||||
:object (object-array (mapv vector (range 32)))}}))))
|
:object (object-array (mapv vector (range 32)))}}))))
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue