mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
We were relying on the Java typename conversion to work for our AMQP envelope type selection, and only special casing arrays of primitives. However with nested arrays this breaks as the intermediate serialises for the nested arrays still have no idea as to what the underlaying type is as the assumption will be being made that the type is a boxed primitive. Solution is to compute the typename properly, walking down the nested array chain