Re: Conversion table types names to class

2016-09-16 Thread Claus Ibsen
B[ is not a name of a valid class.

It is usually the stat of an toString of a byte[] instance.



On Fri, Sep 16, 2016 at 9:58 AM, Nowakowski, Mateusz
 wrote:
> Hi,
>
> org.apache.camel.util.ObjectHelper.loadSimpleType(...) is able to create 
> byte[].class object from  "byte[]" which is byte[].class.getCanonicalName().
> However byte[].class.getName() is "[B"
>
> Is there a reason why "[B" is  not supported?
>
> --
> Regards,
> Mateusz Nowakowski



-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


Conversion table types names to class

2016-09-16 Thread Nowakowski, Mateusz
Hi,

org.apache.camel.util.ObjectHelper.loadSimpleType(...) is able to create 
byte[].class object from  "byte[]" which is byte[].class.getCanonicalName().
However byte[].class.getName() is "[B"

Is there a reason why "[B" is  not supported?

-- 
Regards,
Mateusz Nowakowski