Merge remote-tracking branch 'remotes/open/master' into parkri-os-merge-20180713-1

This commit is contained in:
rick.parker
2018-07-13 13:15:53 +01:00
46 changed files with 523 additions and 290 deletions

View File

@ -14,6 +14,8 @@ dependencies {
compile "org.ow2.asm:asm:$asm_version"
compile "com.google.guava:guava:$guava_version"
// For AMQP serialisation.
compile "org.apache.qpid:proton-j:$protonj_version"

View File

@ -534,7 +534,7 @@ private fun Throwable.setMessage(newMsg: String) {
fun ClassWhitelist.requireWhitelisted(type: Type) {
if (!this.isWhitelisted(type.asClass()!!)) {
throw NotSerializableException("Class $type is not on the whitelist or annotated with @CordaSerializable.")
throw NotSerializableException("Class \"$type\" is not on the whitelist or annotated with @CordaSerializable.")
}
}