java: ClassCastException - [Ljava.lang.Long; cannot be cast to java.lang.Long
- by ufk
Hello.
well.. I use red5 and setting/getting attributes using the IConnection class but tha's really not relevant.
'L' means long in java. so 0L is 0 type Long instead of just '0' which is 0 type Integer.
the following error message:
stack trace: java.lang.ClassCastException: [Ljava.lang.Long; cannot be cast to java.lang.Long
what's the difference between [Ljava.lang.Long and java.lang.Long ?
thanks!